From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3) with ESMTP id WAA15768 for ; Wed, 3 Apr 1996 22:36:45 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id HAA14573; Wed, 3 Apr 1996 07:30:43 -0500 (EST) Resent-Date: Wed, 3 Apr 1996 07:30:43 -0500 (EST) Message-Id: <9604031228.AA05668@raven.cg.tuwien.ac.at> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) X-Nextstep-Mailer: Mail 3.3 (Enhance 1.2) Original-Received: by NeXT.Mailer (1.118.2) PP-warning: Illegal Received field on preceding line From: Robert F Tobler Date: Wed, 3 Apr 96 14:28:42 +0200 To: zsh-workers@math.gatech.edu Subject: ZSH: How to detect remoteness? Reply-To: rft@cg.tuwien.ac.at Resent-Message-ID: <"1xCR6.0.dZ3.ozcOn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/890 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu I am just switching to zsh, and I find it really great! Thanks, for giving such a nice shell to the public! I have, however, a small question, which I couldn't answer by searching the Manuals and the FAQ: I want my shell to behave differently, if I am logged in directly at the console of a machine, or remotely. For this I would like to know a condition, that tells me the 'remoteness'. Is this available, or could this be included (I am using 2.6-beta13)? Thanks in advance for any help. Please mail the answer directly to me. Robert F. Tobler ------------------------------------------------------------------------ Robert F. Tobler - tel:+43(1)58801-4585,fax:5874932 Institute of Computer Graphics - mailto:rft@cg.tuwien.ac.at Vienna University of Technology - http://www.cg.tuwien.ac.at/~rft/ ------------------------------------------------------------------------