freebsd-dev/bin/stty
Ed Schouten 736fc28680 Add a new libc function: cfmakesane(3).
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_*.
2010-11-02 17:00:56 +00:00
..
cchar.c
extern.h
gfmt.c
key.c Add a new libc function: cfmakesane(3). 2010-11-02 17:00:56 +00:00
Makefile
modes.c
print.c
stty.1 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
stty.c
stty.h
util.c