Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.programmer Subject: Re: reading chars in raw mode with Ioctl .. How ? Message-ID: <4214@auspex.auspex.com> Date: 31 Oct 90 00:24:06 GMT References: <4200@auspex.auspex.com> <21640:Oct1820:34:2890@kramden.acf.nyu.edu> Distribution: usa Organization: Auspex Systems, Santa Clara Lines: 10 >A much simpler way to guarantee that program X will not mess up your tty >modes is to run it under pty. pty is totally transparent to job control, >but will restore your tty modes properly on stop or exit. Does it restore my screen as well? I.e., if it's a full-screen program, when I hit ^Z, will it either clear the screen or put the cursor at the bottom of the screen, and when I continue the program will it redraw the screen? If not, I'm not interested.