🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189070

Re: `tty`: Ambiguous. -- what does this mean?

#189070
From: Larry Masinter
Date: Mon, 13 May 1991 09:58
19 lines
1246 bytes
I just patched a related problem. I had a csh program that did

if (`tty` == /dev/console) ...

and was getting `tty`: Ambigious when I did a "rsh".

However, if you do a rsh host tty, you see that tty returns "not a
tty". The solution was just to put quotes around it:

if ("`tty`" == /dev/console) ...




--
Larry Masinter (masinter@parc.xerox.com)
Xerox Palo Alto Research Center (PARC)
3333 Coyote Hill Road; Palo Alto, CA USA 94304
Phone: (415) 494-4365 Fax: (415) 494-4333
Technical Details
Message-ID: <MASINTER.91May13115850@airplane.parc.xerox.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!elroy.jpl.nasa.gov!decwrl!parc!masinter
References: <JACKR.91May8161341@dblues.dblues.wpd.sgi.com> <9105100644.AA08709@life.ai.mit.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,ff2306bc30de0977
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-05-14 00:39:21 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!elroy.jpl.nasa.gov!decwrl!parc!masinter
From: masinter@parc.xerox.com (Larry Masinter)
Newsgroups: gnu.emacs.help
Subject: Re: `tty`: Ambiguous. -- what does this mean?
Message-ID: <MASINTER.91May13115850@airplane.parc.xerox.com>
Date: 13 May 91 09:58:50 GMT
References: <JACKR.91May8161341@dblues.dblues.wpd.sgi.com>
 <9105100644.AA08709@life.ai.mit.edu>
Sender: news@parc.xerox.com
Followup-To: gnu.emacs.help
Organization: Xerox PARC, Palo Alto, CA
Lines: 19
In-Reply-To: TRANLE@INTELLICORP.COM's message of 10 May 91 06:43:52 GMT