mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +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_*. |
||
---|---|---|
.. | ||
cchar.c | ||
extern.h | ||
gfmt.c | ||
key.c | ||
Makefile | ||
modes.c | ||
print.c | ||
stty.1 | ||
stty.c | ||
stty.h | ||
util.c |