summaryrefslogtreecommitdiff
path: root/bin/stty
AgeCommit message (Collapse)Author
2016-08-20already in v2 according to ↵Ingo Schwarze
http://www.tuhs.org/Archive/PDP-11/Distributions/research/1972_stuff/unix_2nd_edition_manual.pdf patch from Sevan Janiyan <venture37 at geeklan dot co dot uk>
2016-07-23Before terminal characteristics are displayed, stty(1) activatesAlexander Bluhm
pledge(2). Then the values cannot be modified anymore. Let stty error out if the display and modify mode are combined on the command line to avoid a pledge violation later on. OK deraadt@
2016-03-23header cleanupmmcc
from Edgar Pettijohn, with a correction from deraadt@
2015-11-20Cannot pledge bottom half of setting, because of the ioctl backingTheo de Raadt
"extproc", "ostart" and "ostop" are not allowed (yet?)
2015-11-20KNFTheo de Raadt
2015-10-11pledge "stdio tty" works once the kernel allows TIOCGWINSZ. Do the pledgeTheo de Raadt
after TIOCGETD, which the kernel is unlikely to support (does not feel like a good idea for a program to switch line disc, and therefor not worth allowing the program to ask either)
2015-09-22spelling;Jason McIntyre
2015-02-15-a is documentedTed Unangst
2015-02-11use strtonum for ispeed & ospeed, rejecting those numbers.Theo de Raadt
2015-01-15remove .Tn; from Jan Stary <hans at stare dot cz>Ingo Schwarze
2014-05-29document control characters which are extensions;Jason McIntyre
2014-05-29flesh out STANDARDS;Jason McIntyre
2014-05-29for -a and -g, do not say "as per posix": it adds no value to the user, andJason McIntyre
STANDARDS already notes these flags are compliant; it also stops us looking redundant referring to older posix revs; for -g, also note that output can safely be used by the shell; while here, zap some unneeded Fl i missed in previous;
2014-05-29some basic formatting fixes;Jason McIntyre
2014-05-28onocr suppresses the cr, not outputs it;Jason McIntyre
confirmed by/ok millert guenther
2013-11-21add unsigned char casts for specific calls to ctype.h macros.Theo de Raadt
ok guenther step
2013-08-14some Bx/Ox conversion;Jason McIntyre
From: Jan Stary
2011-09-03make -column lists pretty again;Jason McIntyre
specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense.
2010-09-03add an EXIT STATUS section for /bin;Jason McIntyre
2009-10-28Use strtonum() instead of atoi() so that ridiculous sloppy things likeTheo de Raadt
ispeed -38400 baud; ospeed 38400 baud; 24 rows; 80 columns; and % stty rows -45; stty size 65491 80 don't happen. ok millert guenther
2009-10-28The min and time settings in stty -g output are in hex, not decimal, soPhilip Guenthe
parse them as such. ok deraadt@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2009-01-04replace hardcoded exit values with .Ex macros;Igor Sobrado
ok jmc@
2008-05-17documentation tweaks.Igor Sobrado
ok (some time ago) jmc@
2007-06-25Greg A. Woods: stty(1) should mention tty(4)Jason McIntyre
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29- consistent STANDARDS blurbJason McIntyre
- note which options are extensions to POSIX discussed w/ deraadt otto millert
2006-06-04teach stty about NMEADISCTheo de Raadt
2004-09-16de-lint (long vs int vs unsigned); otto okTheo de Raadt
2003-12-16use full sentence for description of cols; from Jared Yanovich;Jason McIntyre
2003-07-02missing protosTheo de Raadt
2003-07-02.Cm Fl -> .FlJason McIntyre
from wiz@netbsd
2003-06-11ansification, art okTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-30section reorder;Jason McIntyre
2002-09-30When using "nl" as an argument to .Fl, escape nl to make it literal,Todd C. Miller
else it is interpreted as a command and doesn't format correctly. deraadt@ OK
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-01-24fix the history refsMichael Shalayeff
2001-11-13o) start new sentence on a new line;Mike Pechkin
o) don't use .Pp before/after .Ss; o) wrap long lines; o) fix bogus .Xr usage; millert@ ok;
2001-09-06o) __progname aria;Mike Pechkin
millert@ ok.
2001-06-25implement 'stty ek' as documented; dima@unixfreak.orgTodd C. Miller
2001-05-20exit and use __prognameMichael Shalayeff
2000-10-06Sync usage() with man page.Aaron Campbell
2000-04-15- For consistency, `super-user' -> `superuser' in all cases.Aaron Campbell
- Some punctuation fixes. - Some `id' -> `ID'.
2000-04-12Trailing whitespace begone!Aaron Campbell
2000-03-23More pedantic man page formatting insanity, lalalaAaron Campbell
2000-03-17Remove hard sentence breaks.Aaron Campbell
2000-03-06Do not leave `(' characters dangling at the end of lines; instead, use theAaron Campbell
appropriate mdoc macros to handle these cases.
2000-01-18Repair duplicate word occurences; (as found by a Perl script sent to us fromAaron Campbell
Tom Christiansen <tchrist@perl.com>).