🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #1135

Re: reading chars in raw mode with Ioctl .. How ?

#1135
From: Guy Harris
Date: Wed, 31 Oct 1990 00:24
10 lines
957 bytes
>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.
Technical Details
Message-ID: <4214@auspex.auspex.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!auspex!guy
References: <felps.656044796@convex.convex.com> <4200@auspex.auspex.com> <21640:Oct1820:34:2890@kramden.acf.nyu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <felps.656044796@convex.convex.com> <4200@auspex.auspex.com> <21640:Oct1820:34:2890@kramden.acf.nyu.edu>
Distribution: usa
Organization: Auspex Systems, Santa Clara
Lines: 10