From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22164 invoked from network); 29 Jun 1998 22:40:48 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 29 Jun 1998 22:40:48 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id SAA15291; Mon, 29 Jun 1998 18:32:44 -0400 (EDT) Resent-Date: Mon, 29 Jun 1998 18:30:03 -0400 (EDT) From: "Bart Schaefer" Message-Id: <980629153125.ZM5401@candle.brasslantern.com> Date: Mon, 29 Jun 1998 15:31:25 -0700 In-Reply-To: <19980629173515.15910@astaroth.nit.gwu.edu> Comments: In reply to Sweth Chandramouli "Re: Is there a way to find the Remote Host in ZSH?" (Jun 29, 5:35pm) References: <199806292026.QAA10696@ocalhost> <19980629173515.15910@astaroth.nit.gwu.edu> X-Mailer: Z-Mail Lite (5.0.0 30July97) To: zsh-users@math.gatech.edu Subject: Re: Is there a way to find the Remote Host in ZSH? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"PhhbL3.0.9j3.gL1cr"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1659 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Jun 29, 5:35pm, Sweth Chandramouli wrote: > > it looks like it; on my machine, at least, i have REMOTE_HOSTNAME > and REMOTE_IPADDRESS defined when i log in: > > (astaroth)~: set | grep 'REMOTE' > REMOTE_HOSTNAME=simon > REMOTE_IPADDRESS=208.135.210.91 > > those aren't being set in any of the system-wide scripts or in > any of my personal ones, so i'm assuming that they are set by the shell. Are they set regardless of whether you rlogin/rsh/telnet/ssh to the remote machine? They could be being set by the rlogin daemon or some such, before the shell is even started.