On Jan 26, 2005, at 08:45, Wayne Brehob wrote:
Alternately, you can set DISPLAY in your .login file (which generally gets read for new windows, but not every shell in that new window):

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

If you don't login to your Mac from other places, that may be a bit overkill and "setenv DISPLAY :0" is all you need. Since Darwin is kind enough to set REMOTEHOST for you, though, you can use it for DISPLAY in most cases.

Wayne

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wayne Brehob    [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hei, Wayne!

Please, how do you do that in bash, the Panther shell?
--
Working for God on earth does not pay much, but His Retirement Plan is out of this world.


"God is too good to be unkind, He's too wise to be mistaken, and when we cannot trace His hand, we can trust His heart."
-- Charles Haddon Spurgeon




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to