Xref: utzoo comp.unix.programmer:1092 comp.unix.questions:28777 Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!bria!mike Newsgroups: comp.unix.programmer,comp.unix.questions Subject: Re: How to restore terminal after curses program crashes? Message-ID: <449@bria> Date: 16 Feb 91 18:30:04 GMT References: <1991Feb15.214221.11464@gtisqr.uucp> Reply-To: uunet!bria!mike Followup-To: comp.unix.programmer Organization: MGI Group International, Los Angeles, CA Lines: 15 Followup-To: Keywords: In an article, gtisqr.uucp!roger (Roger Droz) writes: >In article Dan_Jacobson@ATT.COM writes: > >How about simply: > stty="stty `stty -g`" > This won't work, because the ``stty -g'' will simply set the terminal to what it was already set to. You need to preserve the terminal state _prior_ to it going insane. -- Michael Stefanik, MGI Inc., Los Angeles| Opinions stated are not even my own. Title of the week: Systems Engineer | UUCP: ...!uunet!bria!mike ------------------------------------------------------------------------------- Remember folks: If you can't flame MS-DOS, then what _can_ you flame?