reading chars in raw mode with Ioctl .. How ?

Guy Harris guy at auspex.auspex.com
Wed Oct 31 11:24:06 AEST 1990


>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.



More information about the Comp.unix.programmer mailing list