setting REMOTEHOST on rlogins

Ashley Dreier ajd at cs.mu.OZ.AU
Thu Jun 13 16:14:05 AEST 1991


karl at spruce.gsfc.nasa.gov (karl anderson) writes:

>I'm just getting acquainted with SGI machines after using Suns alot.
>I see that when I rlogin to one of our Irises, an environment variable
>named "REMOTEHOST" is set to the name of the machine I'm logging in
>from.  Is this something unique to IRIX?  I'd love to be able to do 
>that on my Suns - can anyone tell me how?  Please answer by email,
>as I don't ordinarily take this group.  TIA.

>--
>Karl A. Anderson		| Internet: karl at forest.gsfc.nasa.gov
>NASA/GSFC code 923 (STX)	| voice: (301) 286-3815
>Greenbelt, MD 20771		| #include "std_disclaimer"

I'd like to know that too...
It's very helpful when trying to run X-windows applications
remotely. Presently I'm using a combination of 'finger', 'awk'
and 'tty' to work out where I logged in from
in order to set my DISPLAY variable.
Either email or post. I'm not fussy.

	Ash
	(ajd at cs.mu.OZ.AU)



More information about the Comp.sys.sgi mailing list