Re: termio vs. termios (was: Re: midi player? & more)

David S. Miller (davem@caip.rutgers.edu)
Sun, 18 Feb 1996 04:17:06 -0500


Date: Sat, 17 Feb 1996 17:22:32 -0700
From: David Mosberger-Tang <davidm@azstarnet.com>

The OSF/1 (and System V?)

This is a bsd'ism, SunOS has it too and I learned about it early on in
my syscall compat code.

version of termio interprets termio.c_cc[4]
and termio.c_cc[5] as VEOF and VEOL if ICANON is set in
termio.c_lflag. If ICANON is not set, those fields are interpreted as
VMIN and VTIME, respectively.

Correct, and it is a load of crap... the sgtty tty ioctl routines and
friends in char/tty_io.c need to be adjusted to understand this
bogosity.

Later,
David S. Miller
davem@caip.rutgers.edu