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 Mark functions as __dead2 in order to help the LLVM static checker 2008-08-04 01:25:48 +00:00
key.c Add a new libc function: cfmakesane(3). 2010-11-02 17:00:56 +00:00
Makefile
modes.c Make stty(1) use tab0 and tab3 to handle tab completion. 2008-08-23 13:28:55 +00:00
print.c Make stty(1) use tab0 and tab3 to handle tab completion. 2008-08-23 13:28:55 +00:00
stty.1 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
stty.c
stty.h
util.c