mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
736fc28680
I've noticed various terminal emulators that need to obtain a sane default termios structure use very complex `hacks'. Even though POSIX doesn't provide any functionality for this, extend our termios API with cfmakesane(3), which is similar to the commonly supported cfmakeraw(3), except that it fills the termios structure with sane defaults. Change all code in our base system to use this function, instead of depending on <sys/ttydefaults.h> to provide TTYDEF_*. |
||
---|---|---|
.. | ||
chat.c | ||
extern.h | ||
getty.8 | ||
gettytab.5 | ||
gettytab.h | ||
init.c | ||
main.c | ||
Makefile | ||
pathnames.h | ||
subr.c | ||
ttys.5 |