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

Home » Public Forums » archive » Cursor problems, MAC and PC
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 #45296 is a reply to message #45201] Tue, 23 August 2005 05:39 Go to previous messageGo to previous message
Patrick Broos is currently offline  Patrick Broos
Messages: 27
Registered: December 1996
Junior Member
I don't have any ideas on your xterm configuration, but as a Solaris
user just moving to OS-X I do have a suggestion about xterms: leave
them behind! As long as $DISPLAY is set correctly you can start X11
programs from a shell running in any terminal application.
Terminal.app (from Apple) is better than xterm, and iTerm is even
better than Terminal.app. You'll be able to use much better fonts than
I could ever get in xterm (on OS-X), multiple ("tabbed") shells, full
integration with other OS-X applications (e.g. drag a file from Finder
and the file's path is printed in the shell), standard OS-X keyboard
shortcuts, configurable menus (e.g. to ssh to favorite other machines),
middle mouse paste, focus-follows-mouse, etc. Here's some code I found
to put in .cshrc to set $DISPLAY in all shells:

# Set DISPLAY so that Carbon terminals can run X
applications.
# This only works if an X server is running; it's a
good idea to start
# an X server at login via System
Preferences->Accounts->Login Items.
# Figure the correct value for DISPLAY from the lock
files /tmp/.X?-lock
if ($?DISPLAY == 0) then
foreach x (0 1 2 3 4 5 6 7 8 9 )
if ( -o /tmp/.X$x-lock ) then
setenv DISPLAY :${x}.0
break
endif
end
endif

I choose to start the X11 server automatically at login.

Patrick Broos
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Building Voxel arrays from png files (compression, analysis, and visualization)
Next Topic: averaging over same index

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

Current Time: Sat Oct 11 11:22:21 PDT 2025

Total time taken to generate the page: 1.28208 seconds