[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Stairs effect on MiNT console



Vincent Rivière <vincent.riviere@freesbee.fr> writes:

> 2) In POSIX, terminal devices (referred as tty's) can operate in 2 modes:
> - COOKED (the default, a.k.a. canonical mode). Input is line buffered, and
> output translates LF to CR+LF.
> - RAW (a.k.a non-canonical mode). Input is not buffered, and on output LF
> is not translated.

Actually, that's the old BSD sgtty interface.  The POSIX termios
interface has more fine-grained settings.

> 8) As far as I understood, the COOKED/RAW mode is an attribute of a
> terminal, not of a process. So changes in a terminal mode remains after
> the process' death.

Though if that was the last use of the terminal, its settings may be
reset by the system.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."