Commit Graph

27 Commits

Author SHA1 Message Date
mrg
424f4c982d open the tty with O_RDWR|O_NONBLOCK. it seems valid to ask for
write permission when we're setting flags, and ucom(4) has an
existing workaround for a bug when O_RDWR is not used, and thus
ttyflags would not work for ucom devices.
2014-05-04 20:43:30 +00:00
joerg
b79356001b static + __dead 2011-08-27 18:57:50 +00:00
lukem
6543a91fea Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)
2008-07-20 01:20:21 +00:00
hubertf
df06563bc3 Remove more duplicate #includes,
from Slava Semushin <slava.semushin@gmail.com>
2007-01-17 21:59:49 +00:00
elad
516c371048 PR/13478: Greg A. Woods: some tty-related documentation fixes
Patch applied with "minor tweaks" from me, thanks!
2006-10-06 22:07:44 +00:00
christos
2c6eadc9ce Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
2005-06-27 01:00:04 +00:00
xtraeme
d9f85c2154 Kill __P(), ANSIfy, remove main() prototype; WARNS=3 2005-01-19 20:48:13 +00:00
itojun
ca9297afc4 use strlcat/strlcpy 2003-07-12 14:33:55 +00:00
grant
c39c2e62d5 'NetBSD.org' and some mdoc fixes. 2003-02-14 16:21:47 +00:00
wiz
09cbac4e7f New sentence, new line. From Robert Elz. 2002-10-03 15:41:44 +00:00
wiz
4ce43ae0cd Whitespace nits 2001-11-16 10:25:42 +00:00
wiz
73f545bb5b Drop arguments of .Os. 2001-06-05 11:22:41 +00:00
cgd
db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +00:00
cgd
d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
pk
1cd395375d 1, 2, 3 and.. 4! 1999-04-06 20:24:37 +00:00
lukem
0e3b290810 fix .Nx usage (use 1.0 instead of 0.9a, etc), and other minor cleanups 1997-11-24 06:28:50 +00:00
scottr
94cf433266 Add support for DTR/CTS flow control, from Bill Studenmund. 1997-10-20 08:07:47 +00:00
lukem
2e61b867aa * cleanup for WARNS=1
* fix .Nm usage
1997-09-15 11:24:41 +00:00
cgd
c32e26146f recent changes cause this to require <string.h> for proper prototyping.
Include it.
1996-04-09 05:20:30 +00:00
christos
e759e91739 Fix PR/2222: ttyflags hex flag printing in verbose mode reflected the
TIOCFLAG_ values not the TTY_ values. Fixed to print the flags as strings
to avoid confusion.
1996-03-17 19:28:21 +00:00
cgd
f091151dc9 don't complain about errors opening 'on' ttys, if the error is ENXIO. 1995-08-13 05:24:03 +00:00
cgd
555d4b510e slightly clean rcs ids, etc. 1995-04-23 10:33:03 +00:00
cgd
0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
cgd
06e2955ff1 specify man pages the new way. 1994-12-22 10:44:04 +00:00
cgd
637097ae1c don't complain if ENXIO on open and not verbose 1994-04-19 03:42:54 +00:00
cgd
d4c116040f be a bit smarter when being verbose 1994-03-30 09:53:07 +00:00
cgd
30783705f5 add 'ttyflags', to set driver specific tty flags 1994-03-30 09:29:16 +00:00