comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » CURSOR problems
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: CURSOR problems [message #45280 is a reply to message #45220] Wed, 24 August 2005 06:20 Go to previous messageGo to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <BF314661.259D%rfrench@wellesley.edu>,
"Richard G. French" <rfrench@wellesley.edu> wrote:

> OK, I have done this, but I'm obviously missing something. Here is what I
> did:
>
> 1) add the above code to .cshrc
> 2) Fire up X11
> 3) Fire up Terminal and open a shell (using tcsh)
>
> printenv DISPLAY gives a null. That seems to be the first problem.

I set up my DISPLAY variable like this for tcsh:

if ($?DISPLAY == 0) then
if ($?REMOTEHOST) then
setenv DISPLAY ${REMOTEHOST}:0
else
setenv DISPLAY :0
endif
endif

Apple set up the shells in a very convoluted way, so make sure that you are
actually executing your startup scripts (e.g., with echo). If you would like to
see my whole startup-script set up, send an e-mail to k-bowman at tamu.edu
(replace the at).

On my local machine I see this:

bowman> echo $DISPLAY
:0

On a remote machine I see

csrpc> echo $DISPLAY
localhost:10.0

which is standard for X-Windows forwarding through ssh. I have had problems
running X-Windows apps from multiple remote hosts simultaneously, apparently due
to .Xauthority file locking conflicts.


> From the terminal window, I can open an xterm, and interestingly it DOES
> have a DISPLAY :0.0 but I can't cut and paste just using the mouse from the
> first terminal window to the newly created one. If I open a second xterm,
> then I CAN cut and paste between those two. If I understand your post
> correctly, I should be able to use highlight and middle-button paste between
> TERMINAL windows, not xterms that I fire up from the Terminal application.
>
> So, in my setup, the terminal app does worse than xterm in X11, where at
> least cut and paste work OK. I'd appreciate any suggestions on how to solve
> this problem.

X-Windows apps copy to the X-Windows server buffer. That buffer is available
for pasting to other X-windows apps, but not to Mac apps.

Mac apps copy to the OS X global buffer, which will transfer just about anything
(pictures, text, etc.) to another Mac app. Unfortunately, communication between
X-Windows and the rest of the Mac OS X is virtually nonexistent.

Terminal.app is a standard Mac application, so copy and paste use cmd-c and
cmd-v. You can copy and paste between Terminal windows and other Mac apps, or
between different Terminal windows. If your 3-button mouse has a control panel,
you may be able to program it to work like an X-Windows mouse for copy and paste.

> By the way, what fonts do you use in your terminals? The list of choices is
> very long.

I like Monaco.

Cheers, Ken B.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: if there is a command "clear lot" in IDLWAVE like "Ctrl+Y" in Windows
Next Topic: Re: Different FFT times for same array size ?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:53:12 PDT 2025

Total time taken to generate the page: 0.00451 seconds