imp
0e892b7d8f
o __P has been reoved
...
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)
{
...
2002-02-02 06:50:57 +00:00
obrien
3e1e2dd6aa
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
green
68e5b804da
Note that stty is a utility and not... err... a program....
...
Submitted by: ru
2001-11-29 15:46:54 +00:00
green
1c4721647f
Stty is a program, not a function.
2001-11-29 03:26:42 +00:00
dd
53646b4081
Implement stty ek
as documented.
...
PR: 24063
Submitted by: Seth Kingsley <sethk@osd.bsdi.com>
2001-08-23 22:31:13 +00:00
ru
e6bcd7b5b8
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
ru
173222b339
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
ru
3b72217422
mdoc(7) police: join split punctuation to macro calls.
2001-08-10 17:35:21 +00:00
dd
ec59248b42
WARNS= -> WARNS?=
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-06-22 21:38:30 +00:00
kris
47ab251a66
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC after: 1 week
2001-05-20 05:25:37 +00:00
kris
786074a172
BDECFLAGS cleanup
2001-05-18 11:04:19 +00:00
assar
05286a6e61
implement OCRNL, ONOCR, and ONLRET
...
Obtained from: NetBSD
2001-03-04 06:04:50 +00:00
ru
0b7f07b8e5
Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.
2001-02-28 17:38:53 +00:00
ru
b1c3961564
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
ru
951f048dbb
Prepare for mdoc(7)NG.
2000-12-15 17:37:31 +00:00
jkh
b379154a28
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
ru
c835e11eed
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 11:39:41 +00:00
ru
f9c7198049
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
ache
b6ec16ff93
Fix warn format
...
Pointed-by: bde
2000-04-30 17:12:49 +00:00
ache
24d1eb8e5f
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
ache
408144e1b5
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
ache
e7b1166a35
Describe drainwait
2000-04-27 22:08:29 +00:00
ache
56d7e97f31
part of gfmt really changed commit
2000-04-27 21:48:48 +00:00
ache
f61af6309a
gfmt: set 'changed' flags only if something really changed.
2000-04-27 21:45:41 +00:00
ache
1c00526cf7
Add ability to manipulate with drain wait time
2000-04-27 21:31:23 +00:00
sheldonh
8b9d0d56e2
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
be43d8fdca
Don't report the tablet line discipline, it "doesn't happen (TM)"
2000-01-29 16:44:08 +00:00
peter
3b7c52fb9a
$Id$ -> $FreeBSD$
1999-08-27 23:15:48 +00:00
kris
935bd87c22
Various spelling/formatting changes.
...
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
1999-05-08 10:22:15 +00:00
bde
a273612216
Fixed printf format errors.
1998-06-28 18:08:54 +00:00
jkoshy
6e3ef83491
Correct description of -crtscts.
...
PR: 6836
Submitted by: Andrew <andrew@ugh.net.au>
1998-06-03 04:07:59 +00:00
charnier
116394efc6
Correct use of .Nm. Add rcsid.
1998-05-18 06:51:59 +00:00
eivind
a208e260b6
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
50095e5063
Correct confusing error message when called as 'stty -sane'.
...
PR: bin/3573
1997-08-24 00:26:12 +00:00
charnier
df15606acb
Typo in usage string. Looks like the man page now.
1997-06-06 06:48:35 +00:00
charnier
37f3c23139
Typo (the the -> the).
1997-06-02 06:32:26 +00:00
imp
cdc0e920d8
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
mpp
1b659768bd
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
34fd560164
Revert $FreeBSD$ to $Id$
1997-02-22 14:13:04 +00:00
jkh
9c0cd3f9df
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
d977027356
-Wall cleaning.
1996-12-14 06:16:51 +00:00
bde
97a2b72691
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
bde
414c8f4b91
Fixed typo.
...
Reported by: andreas@knobel.gun.de
1996-03-31 02:29:13 +00:00
bde
8405e72006
Fixed descriptions of ignpar and parmrk.
1995-11-11 03:31:13 +00:00
bde
2d44811a6f
Improve the recently changed and an old error message: don't report probe
...
errors.
1995-07-04 08:16:32 +00:00
joerg
57c55a07d4
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
rgrimes
e6999472c1
Remove trailing whitespace.
...
Reviewed by: phk
1995-05-30 00:07:29 +00:00
bde
9d75db1630
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
bde
a407151d83
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
ache
bc39c40e2e
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