zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: zsh-users@math.gatech.edu
Subject: Re: Is there a way to find the Remote Host in ZSH?
Date: Mon, 29 Jun 1998 15:31:25 -0700	[thread overview]
Message-ID: <980629153125.ZM5401@candle.brasslantern.com> (raw)
In-Reply-To: <19980629173515.15910@astaroth.nit.gwu.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.


  reply	other threads:[~1998-06-29 22:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-29 20:26 Timothy J Luoma
1998-06-29 21:35 ` Sweth Chandramouli
1998-06-29 22:31   ` Bart Schaefer [this message]
1998-06-29 22:58     ` Geoff Raye
1998-06-29 21:41 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=980629153125.ZM5401@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).