David E. O'Brien
a748290789
Default to WARNS=2. Binary builds that cannot handle this must explicitly
...
set WARNS=0.
Reviewed by: mike
2001-12-04 01:57:47 +00:00
Brian Feldman
a240291a2a
Note that stty is a utility and not... err... a program....
...
Submitted by: ru
2001-11-29 15:46:54 +00:00
Brian Feldman
63f9c0358e
Stty is a program, not a function.
2001-11-29 03:26:42 +00:00
Dima Dorfman
d736886a81
Implement stty ek
as documented.
...
PR: 24063
Submitted by: Seth Kingsley <sethk@osd.bsdi.com>
2001-08-23 22:31:13 +00:00
Ruslan Ermilov
d628d776c4
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
Ruslan Ermilov
753d686d34
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
Ruslan Ermilov
94ba280c59
mdoc(7) police: join split punctuation to macro calls.
2001-08-10 17:35:21 +00:00
Dima Dorfman
982f5d88ff
WARNS= -> WARNS?=
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-06-22 21:38:30 +00:00
Kris Kennaway
7f204f9b36
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC after: 1 week
2001-05-20 05:25:37 +00:00
Kris Kennaway
5e5a566754
BDECFLAGS cleanup
2001-05-18 11:04:19 +00:00
Assar Westerlund
3617ddfc33
implement OCRNL, ONOCR, and ONLRET
...
Obtained from: NetBSD
2001-03-04 06:04:50 +00:00
Ruslan Ermilov
c2d03ea879
Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.
2001-02-28 17:38:53 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Ruslan Ermilov
12e720d78b
Prepare for mdoc(7)NG.
2000-12-15 17:37:31 +00:00
Jordan K. Hubbard
4660b1416d
Add support for an "erase2" so that both ^H and DEL can be used
...
for backspacing.
Submitted By: Rui Pedro Mendes Salgueiro <rps@mat.uc.pt>
2000-11-28 19:48:06 +00:00
Ruslan Ermilov
be8b149795
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 11:39:41 +00:00
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Andrey A. Chernov
43175e5e19
Fix warn format
...
Pointed-by: bde
2000-04-30 17:12:49 +00:00
Andrey A. Chernov
df41cfee75
Back out all drainwait changes. It is enough controllable via sysctl or
...
comcontrol, having it in stty cause too many problems with existing drivers
and tty access permissings of non-superuser.
Asked-by: bde
2000-04-30 17:04:26 +00:00
Andrey A. Chernov
3363a08f8c
gfmt: set drainwait only if changed
...
It allows to restore tty state without a warning for non-superuser
2000-04-30 16:22:09 +00:00
Andrey A. Chernov
441e1d5cb8
Describe drainwait
2000-04-27 22:08:29 +00:00
Andrey A. Chernov
b2953dfa7d
part of gfmt really changed commit
2000-04-27 21:48:48 +00:00
Andrey A. Chernov
18430c2095
gfmt: set 'changed' flags only if something really changed.
2000-04-27 21:45:41 +00:00
Andrey A. Chernov
d0834e7f9d
Add ability to manipulate with drain wait time
2000-04-27 21:31:23 +00:00
Sheldon Hearn
bef84d6bc0
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 10:43:09 +00:00
Peter Wemm
8687e09584
Don't report the tablet line discipline, it "doesn't happen (TM)"
2000-01-29 16:44:08 +00:00
Peter Wemm
2a4562393f
$Id$ -> $FreeBSD$
1999-08-27 23:15:48 +00:00
Kris Kennaway
46be34b902
Various spelling/formatting changes.
...
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
1999-05-08 10:22:15 +00:00
Bruce Evans
0eb7b1cad0
Fixed printf format errors.
1998-06-28 18:08:54 +00:00
Joseph Koshy
d693a28e3c
Correct description of -crtscts.
...
PR: 6836
Submitted by: Andrew <andrew@ugh.net.au>
1998-06-03 04:07:59 +00:00
Philippe Charnier
9ba8bd6557
Correct use of .Nm. Add rcsid.
1998-05-18 06:51:59 +00:00
Eivind Eklund
ca8f21d65c
Merge from OpenBSD:
...
>sprintf -> snprintf paranoia
Obtainted from: OpenBSD src/bin/stty/print.c v1.5
by Todd Miller <millert@openbsd.org>
1997-12-12 18:11:29 +00:00
Steve Price
b74ad5265d
Correct confusing error message when called as 'stty -sane'.
...
PR: bin/3573
1997-08-24 00:26:12 +00:00
Philippe Charnier
3e23dae445
Typo in usage string. Looks like the man page now.
1997-06-06 06:48:35 +00:00
Philippe Charnier
063ad33a51
Typo (the the -> the).
1997-06-02 06:32:26 +00:00
Warner Losh
93ef08af3e
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-28 15:24:41 +00:00
Mike Pritchard
e7030de81e
Correct the self reference in the description of the "tabs" option.
...
It should really refer to "oxtabs".
Obtained from: NetBSD-bugs mailing list PR# 3320
1997-03-12 15:59:22 +00:00
Peter Wemm
b97fa2ef50
Revert $FreeBSD$ to $Id$
1997-02-22 14:13:04 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
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.
1997-01-14 07:20:47 +00:00
Steve Price
4507dafda4
-Wall cleaning.
1996-12-14 06:16:51 +00:00
Bruce Evans
a68e018a5e
Fixed `stty [-]extproc'. It set extproc to a semi-random state (always
...
off if there are no other options, always (?) on if another option that
changes the state is processed earlier).
1996-12-07 11:07:20 +00:00
Bruce Evans
bbb209f10c
Fixed typo.
...
Reported by: andreas@knobel.gun.de
1996-03-31 02:29:13 +00:00
Bruce Evans
0fe788e3e8
Fixed descriptions of ignpar and parmrk.
1995-11-11 03:31:13 +00:00
Bruce Evans
a7a41dba35
Improve the recently changed and an old error message: don't report probe
...
errors.
1995-07-04 08:16:32 +00:00
Joerg Wunsch
37712f2a7b
stty fails with a non-obvious error message if it's run on a non-tty
...
stream, such as a rsh or vi pipeline.
The error message is:
stty: TIOCGETD: Operation not supported
It's immediately obvious to the knowledgable hacker type, but not
exactly comforting to the user who's not native to unix. It's
especially confusing if there's a stty command in their .cshrc and
it's showing up on rsh output.
(Fixes PR #bin/573)
Submitted by: peter@haywire.dialix.com (Peter Wemm)
1995-07-02 08:54:27 +00:00
Rodney W. Grimes
2162b2d226
Remove trailing whitespace.
...
Reviewed by: phk
1995-05-30 00:07:29 +00:00
Bruce Evans
2bf5814ab5
Support nonstandard (not yet all supported) flow control options. `ctsflow'
...
and `rtsflow' are the components of `crtscts'. `dtrflow' and `dsrflow' are
new and not yet supported. `dtrflow' may be useful for Cyclades serial
careds, which have h/w support for it and no h/w support for `rtsflow'.
print.c:
Report NTTYDISC in case the line is in this obsolescent state.
1995-04-29 15:17:17 +00:00
Bruce Evans
d54024a159
Fix stty' on the output of
stty -g'. The changes for the gfmt1 option
...
weren't TIOCSETD'd unless another option changed something.
1995-04-29 15:00:34 +00:00
Andrey A. Chernov
0b51c95db2
Fix bugs:
...
cchars2 not used
can't set or report MIN or TIME == 255
TIOCSETD on wrong fd
PPPDISC is not reported
1995-04-28 19:29:30 +00:00
Joerg Wunsch
0fd510b71a
You will find enclosed some changes to make gcc -Wall more happy in
...
/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)
1995-03-19 13:29:28 +00:00