christos
0282eceed1
Don't fail when the line discipline ioctl fails (since it secondary
...
like the other tty ioctls that we only warn about). Do the main
ioctl (tcgetattr) first, since that provides a better error message
(ENOTTY instead of EINVAL).
2019-09-06 16:28:53 +00:00
wiz
7a66d2e690
Remove Tn.
2017-10-30 15:38:52 +00:00
kre
673e27def2
Implement tcgetwinsize() and tcsetwinsize() in libc, with access
...
via <termios.h> (and document them.) Bump libc minor number for them.
Arrange for "struct winsize" to become visible in <termios.h>
Fix stty(1) so that "cols" is reported as the arg to set number of columns,
and "columns" is the alias, rather than the other way around, as "cols" is
what has been added to POSIX.
This is to conform with updates to be included in 1003.1 issue 8
(whenever that gets published) currently available at:
http://austingroupbugs.net/view.php?id=1053 (see note 3863)
http://austingroupbugs.net/view.php?id=1151 (see note 3856)
2017-10-25 06:32:59 +00:00
christos
bad8f1c071
need <time.h> for time(3)
2017-01-10 20:44:05 +00:00
sevan
ee4aa55280
While the v2 source and man pages are incomplete, TUHS has a scanned copy of the
...
printed version of the 2nd edition manual. stty is featured in this copy, in the
table of contents listed as meaning "set typewriter modes" and on the actual manual page
headed correctly as "set teletype options"
http://www.tuhs.org/Archive/PDP-11/Distributions/research/1972_stuff/unix_2nd_edition_manual.pdf
Ammend HISTORY and bump date.
2016-08-14 23:29:43 +00:00
sevan
5dee078da5
Document the version stty first appeared.
...
Bump date.
2016-08-12 02:49:18 +00:00
christos
78d721faf9
Simplify by splitting the "simple" mode setting and the "special" ones.
2015-05-01 17:01:08 +00:00
christos
700d3ab22a
- print the line discipline using the new ioctl
...
- print the queue size
2013-09-12 19:47:23 +00:00
wiz
18bcc29285
Remove another Pf. From Bug Hunting.
2012-06-20 14:19:39 +00:00
wiz
d1752d5db8
- remove trailing white space;
...
- sync `usage' with man page.
From patch by Bug Hunting.
2012-06-20 10:09:43 +00:00
wiz
9cbbbe6c0d
- improve wording, and create more consistency within the text;
...
- correct `SYNOPSIS';
- improve macro usage;
- mention argument name for `-f' (and change list width for it);
- correct misplacement of periods (`.') and a parenthese (`(');
- fix typo;
- bump date.
From Bug Hunting.
2012-06-20 10:09:21 +00:00
joerg
b757af438b
Disable new -Wstring-plus-int warning where needed for now.
...
Adjust various places that add GCC-only options to check for the active
compiler first.
2012-04-04 10:59:44 +00:00
joerg
5bb1ddccc2
Use __dead
2011-08-29 14:51:17 +00:00
joerg
00e74a9bf1
\\ -> \e
2010-04-05 16:16:53 +00:00
wiz
663935444d
Bump date for previous.
2009-12-14 07:31:49 +00:00
dholland
f83be7b79e
Document "stty insane" properly. Closes PR bin/25024.
2009-12-14 02:34:52 +00:00
wiz
1c465113fd
Reduce Pf/Ns usage.
2009-05-13 22:41:43 +00:00
joerg
275eec0d3d
Fix markup.
2009-03-15 12:01:24 +00:00
lukem
2fe2731d3f
Remove the \n and tabs from the __COPYRIGHT() strings.
2008-07-20 00:52:39 +00:00
christos
9655f5c24c
PR/38755: murray armfield: /bin posix programs missing setprogname and/or
...
setlocale
2008-05-26 14:21:08 +00:00
christos
205a4b0786
PR/36536: Greg A. Woods: stty(1) should mention tty(4)
2007-06-24 18:03:00 +00:00
christos
18243309bd
c99 initializers
2006-10-16 00:37:55 +00:00
wiz
e41d3cdc7d
Bump date for previous.
2006-09-03 00:24:05 +00:00
itohy
e442e57e36
Add description on "discard" character.
...
Sort control characters by the Vxxx numbers in termios.h.
2006-09-02 15:10:22 +00:00
christos
6310b59691
sprinkle a little const, and now everything compiles with WARNS=3
2005-06-26 19:10:48 +00:00
tsarna
5f8a756d98
Fix longstanding gap in stty functionality: while many operations had
...
inverses, "sane" didn't. Now there is symmetry.
2004-04-01 16:10:03 +00:00
wiz
0568bf7421
Uppercase CPU.
2004-02-13 09:55:51 +00:00
agc
b5b2954259
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
wiz
face0e9a82
Cm Fl -> Fl.
2003-07-01 10:24:41 +00:00
perry
30b25d1cca
ANSIfy, from Petri Koistinen in PR 13975
2003-06-16 17:22:00 +00:00
wiz
55d7364ddb
PDP-11 instead of PDP 11.
2003-03-30 20:52:51 +00:00
perry
d58dcfa722
Pdp 11 -> PDP 11, from Igor Sobrado in PR 19670
2003-03-29 18:46:42 +00:00
wiz
14dfaa4b03
New policy: New sentences start on a new line.
...
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
2002-09-25 15:18:36 +00:00
ross
dc5571b22e
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:21:55 +00:00
wiz
598b3724c2
Punctuation nits, use Bd -literal instead of .nf, drop unnecessary .Pps.
2001-12-20 20:08:25 +00:00
kleink
2caf6aacdd
For commands and utilities, use EXIT STATUS rather than RETURN VALUES as
...
appropriate (and documented in mdoc(7)).
2000-09-04 07:30:07 +00:00
hubertf
1cb54f68ac
Add 'RETURN VALUE' section header.
2000-08-28 02:11:04 +00:00
mrg
017ff0934b
pulling param.h not types.h to get BSD4_4. from NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> in PR#7751
1999-06-10 14:59:50 +00:00
mycroft
68d6f4bf44
Remove spurious .ne's.
1999-03-24 06:27:49 +00:00
christos
5ac821facc
s/BSD/STTY_BSD/ where I missed it before.
1999-03-02 17:30:05 +00:00
christos
32ee4be51a
- char -> unsigned char
...
- #ifdef BSD4_4 for for non POSIX features
- prefix with STTY_ all the FMT constants to avoid namespace collisions.
1999-03-02 17:27:03 +00:00
sommerfe
d6797d8b82
Apply patch as found in PR1892
1999-01-13 23:55:26 +00:00
mycroft
5880305a10
Oops; the old BSD aliases were not actually used.
1998-07-28 11:51:47 +00:00
mycroft
301199f5d6
Delint.
1998-07-28 11:40:57 +00:00
mycroft
9dc385beb1
Delint.
1998-07-28 05:31:22 +00:00
mycroft
ac70c0c5ed
Slight code reduction.
1998-07-27 17:55:17 +00:00
mycroft
690d694ae4
__AUDIT__ cleanup.
1998-07-27 16:55:53 +00:00
kleink
af9cc34b3c
Add ONOCR and ONLRET output modes, from XPG4.2.
1998-02-13 21:53:44 +00:00
kleink
c404682eed
Recognize STRIPDISC.
1998-02-13 20:45:24 +00:00
perry
6982982f8d
macroize BSD, NetBSD, FreeBSD and misc cleanup
1998-02-06 05:39:31 +00:00