*BSD News Article 63017


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!uunet!in1.uu.net!zib-berlin.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Terminal Death ;-{
Date: 24 Feb 1996 16:16:56 GMT
Organization: Private BSD site, Dresden
Lines: 17
Message-ID: <4gndlo$9g0@uriah.heep.sax.de>
References: <312CC842.7664@awinc.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

Paul Archard <paul@awinc.com> writes:

> We have a problem on FreeBSD 2.1 where breaking out of some 
> programs (e.g. man) causes a loss of terminal echo - only to be 
> restored using "stty sane".  Is there a fix for this?

The fix: fix all those programs to properly SIGINT and SIGTERM, and
restore the tty state before exiting.

The workaround: use a shell that does it for you, e.g. tcsh.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)