Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!ucsd!ucbvax!GODZILLA.CGL.RMIT.OZ.AU!mg From: mg@GODZILLA.CGL.RMIT.OZ.AU (Mike Gigante) Newsgroups: comp.sys.sgi Subject: handy little throwaway Message-ID: <9011261847.7377@godzilla.cgl.rmit.oz.au> Date: 27 Nov 90 09:47:04 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 17 This came up in a conversation the other day around here and it was suggested that many people weren't taking advantage of SGI's REMOTEHOST environment variable. Here is one use that I put it to, I have the following in my .login ----- if( $?REMOTEHOST ) then setenv DISPLAY $REMOTEHOST\:0 else setenv DISPLAY localhost:0 endif ----- Mike Gigante, RMIT