Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!munnari.oz.au!cs.mu.OZ.AU!ajd From: ajd@cs.mu.OZ.AU (Ashley Dreier) Newsgroups: comp.sys.sgi Subject: Re: setting REMOTEHOST on rlogins Message-ID: Date: 13 Jun 91 06:14:05 GMT Article-I.D.: mullo.ajd.676793645 References: <1991Jun12.174725@spruce.gsfc.nasa.gov> Sender: news@cs.mu.OZ.AU Distribution: aus Organization: Comp Sci, University of Melbourne, Australia Lines: 23 karl@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@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@cs.mu.OZ.AU)