summaryrefslogtreecommitdiffstats
path: root/bin/stty (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Usually, -width Fl (which is 10n) is too wide and hence ugly.schwarze2020-01-161-10/+10
| | | | Change several instances, most of them to the usual -width Ds.
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-282-11/+11
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* Quiet a clang warning from -Wstring-plus-int. OK naddy@millert2017-04-281-10/+11
|
* Remove leftovers of line disciplines that are no more.mpi2016-11-261-10/+1
| | | | ok mikeb@
* already in v2 according to http://www.tuhs.org/Archive/PDP-11/Distributions/research/1972_stuff/unix_2nd_edition_manual.pdfschwarze2016-08-201-3/+3
| | | | patch from Sevan Janiyan <venture37 at geeklan dot co dot uk>
* Before terminal characteristics are displayed, stty(1) activatesbluhm2016-07-231-1/+5
| | | | | | | 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@
* header cleanupmmcc2016-03-237-12/+20
| | | | from Edgar Pettijohn, with a correction from deraadt@
* Cannot pledge bottom half of setting, because of the ioctl backingderaadt2015-11-201-4/+5
| | | | "extproc", "ostart" and "ostop" are not allowed (yet?)
* KNFderaadt2015-11-201-3/+3
|
* pledge "stdio tty" works once the kernel allows TIOCGWINSZ. Do the pledgederaadt2015-10-111-3/+11
| | | | | | 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)
* spelling;jmc2015-09-221-3/+3
|
* -a is documentedtedu2015-02-151-2/+2
|
* use strtonum for ispeed & ospeed, rejecting those numbers.deraadt2015-02-111-5/+15
|
* remove .Tn; from Jan Stary <hans at stare dot cz>schwarze2015-01-151-11/+6
|
* document control characters which are extensions;jmc2014-05-291-5/+13
|
* flesh out STANDARDS;jmc2014-05-291-20/+61
|
* for -a and -g, do not say "as per posix": it adds no value to the user, andjmc2014-05-291-7/+6
| | | | | | | | | 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;
* some basic formatting fixes;jmc2014-05-291-9/+18
|
* onocr suppresses the cr, not outputs it;jmc2014-05-281-3/+3
| | | | confirmed by/ok millert guenther
* add unsigned char casts for specific calls to ctype.h macros.deraadt2013-11-211-2/+2
| | | | ok guenther step
* some Bx/Ox conversion;jmc2013-08-141-3/+3
| | | | From: Jan Stary
* make -column lists pretty again;jmc2011-09-031-23/+20
| | | | | | | | | | 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.
* add an EXIT STATUS section for /bin;jmc2010-09-031-3/+3
|
* Use strtonum() instead of atoi() so that ridiculous sloppy things likederaadt2009-10-282-5/+16
| | | | | | | | | ispeed -38400 baud; ospeed 38400 baud; 24 rows; 80 columns; and % stty rows -45; stty size 65491 80 don't happen. ok millert guenther
* The min and time settings in stty -g output are in hex, not decimal, soguenther2009-10-281-3/+1
| | | | | | parse them as such. ok deraadt@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-276-60/+6
| | | | | | | 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
* bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewjmc2009-02-081-3/+3
| | | | updates to follow;
* replace hardcoded exit values with .Ex macros;sobrado2009-01-041-5/+3
| | | | ok jmc@
* documentation tweaks.sobrado2008-05-171-3/+3
| | | | ok (some time ago) jmc@
* Greg A. Woods: stty(1) should mention tty(4)jmc2007-06-251-3/+4
|
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* - consistent STANDARDS blurbjmc2007-05-291-10/+33
| | | | | | - note which options are extensions to POSIX discussed w/ deraadt otto millert
* teach stty about NMEADISCderaadt2006-06-041-2/+5
|
* de-lint (long vs int vs unsigned); otto okderaadt2004-09-161-4/+4
|
* use full sentence for description of cols; from Jared Yanovich;jmc2003-12-161-2/+2
|
* missing protosderaadt2003-07-021-2/+3
|
* .Cm Fl -> .Fljmc2003-07-021-2/+2
| | | | from wiz@netbsd
* ansification, art okderaadt2003-06-116-88/+45
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-029-60/+24
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* section reorder;jmc2003-05-301-6/+6
|
* When using "nl" as an argument to .Fl, escape nl to make it literal,millert2002-09-301-2/+2
| | | | | else it is interpreted as a command and doesn't format correctly. deraadt@ OK
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-163-39/+39
|
* fix the history refsmickey2002-01-241-1/+6
|
* o) start new sentence on a new line;mpech2001-11-131-3/+3
| | | | | | | | o) don't use .Pp before/after .Ss; o) wrap long lines; o) fix bogus .Xr usage; millert@ ok;
* o) __progname aria;mpech2001-09-062-4/+5
| | | | millert@ ok.
* implement 'stty ek' as documented; dima@unixfreak.orgmillert2001-06-251-2/+14
|
* exit and use __prognamemickey2001-05-201-5/+6
|
* Sync usage() with man page.aaron2000-10-061-3/+3
|
* - For consistency, `super-user' -> `superuser' in all cases.aaron2000-04-151-2/+2
| | | | | - Some punctuation fixes. - Some `id' -> `ID'.
* Trailing whitespace begone!aaron2000-04-121-2/+2
|