*BSD News Article 48542


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!howland.reston.ans.net!xlink.net!rz.uni-karlsruhe.de!news.uni-stuttgart.de!uni-regensburg.de!lrz-muenchen.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: TIOCGETD Operation not supported
Date: 8 Aug 1995 13:06:59 +0200
Organization: Private U**x site, Dresden.
Lines: 21
Message-ID: <407ggj$ocp@bonnie.tcd-dresden.de>
References: <DCy3Jr.4t4@cs.fredonia.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Jin Mazumdar <mazumdar@cs.fredonia.edu> wrote:

>	Could someone please tell me the scoop on the above message.
>I am running one of the SNAP's of 2.0.  The above message seems to 
>be benign in most applications but plays havoc with remote restores.
>Is there an easy fix because I am not ready to upgrade to 2.1 yet? 

You are trying to execute an stty command on a non-terminal stream.
You are advised to protect stty commands in your ~/.cshrc and ~/.login
by

	if($?prompt) then
		stty foo bar
		...
	endif

-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)