🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189069

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

#189069
From: Earl Stutes
Date: Mon, 13 May 1991 18:38
27 lines
1813 bytes
In article <4493.673892396@dblues.wpd.sgi.com>, jackr@dblues.wpd.sgi.com (Jack Repenning) writes:
|> 
|> Recently, Minh Tran-Le wrote:
|> 
|> 	I have seen that strange message "`tty`: Ambiguous" when you
|> 	try to use `rsh' on an hp machine.  The `rsh' is the
|> 	restricted shell program and not the remote shell.  The remote
|> 	shell is `remsh'.
|> 
|> But I assume you never figured out what was causing it?
|> 
|> An interesting aspect of this comment is that rsh is a restricted form
|> of the Bourne shell, or of the Korn shell if you have that installed:
|> these shells don't necessarily read any set-up files, whereas csh
|> always reads ~/.cshrc, and so a "tty: Ambiguous" message from them is
|> less likely to be related to set-up files.
|> 
The message is in fact coming from a .cshrc.  The tty command returns
"not a tty" and a case statement is trying to use that data to decide 
whether or not do do something like bring up windows.  The fix for it
is to get rid of any session start up code in .cshrc.  Cshrc should do 
things like setting envirments and aliases, not setting terminal
characteristics, or starting window systems.

Cheers

Earl Stutes
Technical Details
Message-ID: <4070@jethro.Corp.Sun.COM>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!sun-barr!newstop!jethro!almo!estutes
References: <9105100644.AA26530@SGI.COM> <4493.673892396@dblues.wpd.sgi.com>

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:17:15 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!sun-barr!newstop!jethro!almo!estutes
From: estutes@almo.NoSubdomain.NoDomain (Earl Stutes)
Newsgroups: gnu.emacs.help
Subject: Re: `tty`: Ambiguous. -- what does this mean?
Message-ID: <4070@jethro.Corp.Sun.COM>
Date: 13 May 91 18:38:31 GMT
References: <9105100644.AA26530@SGI.COM> <4493.673892396@dblues.wpd.sgi.com>
Sender: news@jethro.Corp.Sun.COM
Reply-To: estutes@Corp.Sun.Com
Lines: 27