Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bria!mike Newsgroups: comp.unix.programmer Subject: Re: How to restore terminal after curses program crashes? Message-ID: <459@bria> Date: 17 Feb 91 23:42:57 GMT References: <1991Feb15.214221.11464@gtisqr.uucp> <449@bria> <28768:Feb1714:55:3591@kramden.acf.nyu.edu> Reply-To: uunet!bria!mike Organization: MGI Group International, Los Angeles, CA Lines: 24 Followup-To: Keywords: In an article, kramden.acf.nyu.edu!brnstnd (Dan Bernstein) writes: |In article <449@bria> uunet!bria!mike writes: || In an article, gtisqr.uucp!roger (Roger Droz) 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. | |Double-quotes force immediate ` and $ interpretation. | || You need to preserve the terminal state _prior_ to || it going insane. | |He is. True enough. That's what I get for falling asleep at the wheel. Sorry for any confusion. Cheers, -- 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?