summaryrefslogtreecommitdiffstats
path: root/bin/stty/key.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a new libc function: cfmakesane(3).ed2010-11-021-5/+6
| | | | | | | | | | | 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_*.
* Back out recent TTYDEF_LFLAG_ECHO invention.ache2004-11-061-1/+1
| | | | | This change is NOP, because TTYDEF_LFLAG = TTYDEF_LFLAG_ECHO now, but to minimize diffs with other BSDs.
* stty sane should set the echo bits.phk2004-11-021-1/+1
| | | | | | PR: 73423 Submitted by: Michiel Boland <michiel@boland.org> Overlooked by: phk
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
| | | | OK'ed by: imp, core
* Consistently use FBSDIDobrien2002-06-301-3/+2
|
* o __P has been reovedimp2002-02-021-55/+36
| | | | | | | | | | | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. o Change int foo() { ... to int foo(void) { ...
* Implement `stty ek` as documented.dd2001-08-231-0/+12
| | | | | PR: 24063 Submitted by: Seth Kingsley <sethk@osd.bsdi.com>
* BDECFLAGS cleanupkris2001-05-181-4/+5
|
* Back out all drainwait changes. It is enough controllable via sysctl orache2000-04-301-13/+2
| | | | | | | comcontrol, having it in stty cause too many problems with existing drivers and tty access permissings of non-superuser. Asked-by: bde
* Add ability to manipulate with drain wait timeache2000-04-271-2/+13
|
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Fixed printf format errors.bde1998-06-281-2/+2
|
* Correct confusing error message when called as 'stty -sane'.steve1997-08-241-5/+8
| | | | PR: bin/3573
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* -Wall cleaning.steve1996-12-141-5/+5
|
* Fixed `stty [-]extproc'. It set extproc to a semi-random state (alwaysbde1996-12-071-2/+2
| | | | | off if there are no other options, always (?) on if another option that changes the state is processed earlier).
* Fix bugs:ache1995-04-281-2/+2
| | | | | | | cchars2 not used can't set or report MIN or TIME == 255 TIOCSETD on wrong fd PPPDISC is not reported
* You will find enclosed some changes to make gcc -Wall more happy injoerg1995-03-191-2/+2
| | | | | | | | | /usr/src/bin. Note that some patches are still needed in that directory. I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however. Submitted by: charnier@lirmm.fr (Philippe Charnier)
* Added $Id$dg1994-09-241-0/+2
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+299
OpenPOWER on IntegriCloud