Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!news!tcs.com From: gwu@tcs.com (George Wu) Newsgroups: comp.sys.hp Subject: determining original host Keywords: rsh rlogin xhost hostname Message-ID: <1970@news.tcs.com> Date: 29 Mar 91 20:15:23 GMT Sender: root@tcs.com Organization: Teknekron Communications Systems, Inc., Berkeley, CA. Lines: 18 - Okay, when I rlogin/rsh to my HP9000/400t, I'd like to know from which machine I originated. The general idea is to set the DISPLAY variable such that X applications use the display on my orignal machine. I'd also like to use different stty settings, since keyboards sometimes differ. So, does anyone have an idea on how to do this? I thought I had worked out a means by parsing the output of rwho, but there's a log between login time and when rwhod actually updates the information. Any ideas? Thanks much in advance. George -- ---- George J Wu, Software Engineer | gwu@tcs.com or uunet!tcs!gwu Teknekron Communications Systems, Inc.| (415) 649-3752 2121 Allston Way, Berkeley, CA, 94704 | Quit reading news. Get back to work.