Pedro F. Giffuni
7ae7c1932b
Missing tab.
...
Pointed out by: bapt
2016-02-27 02:11:00 +00:00
Pedro F. Giffuni
bc13b10e7d
getty(8): Undo incomplete support VEOL2 and VSTATUS.
...
Forgot to add some definitions for charnames[].
2016-02-26 19:35:51 +00:00
Pedro F. Giffuni
73906f57e3
getty(8): Support VEOL2 and VSTATUS
...
Bring some type cleanups while here.
Obtained from: NetBSD
2016-02-26 19:08:37 +00:00
Pedro F. Giffuni
a3e4b9829e
getty(8): Use poll(2) and nanosleep(2) instead of select(2).
...
Sort headers while here.
Obtained from: NetBSD (CVS Rev. 1.25 - 1.26)
2016-02-26 18:52:06 +00:00
Konstantin Belousov
8f96f18a1b
Remove the #ifdef DEBUG code, which is not compilable on 64bit
...
architectures. It seems to be an overlooked chunk in the r15645.
PR: 199767
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
2015-04-29 19:47:18 +00:00
Christian Brueffer
5efaea4cc6
Remove the 3rd clause ("advertising clause") of the BSD license as
...
permitted by the University of Berkeley on July 22, 1999.
Reviewed by: imp
MFC after: 1 week
2014-02-17 22:27:32 +00:00
Poul-Henning Kamp
be825f30a5
Nuke COMPAT_43
2004-06-25 10:11:28 +00:00
Warner Losh
95289b278a
o __P removal
...
o remove register
o use strict prototypes
2002-02-06 16:38:40 +00:00
Kris Kennaway
6e76e16fe6
Replace a strcat() with a strlcat(). Partial sync with OpenBSD; more
...
work is needed.
Submitted by: "Andrew R. Reiter" <arr@watson.org>
Obtained from: OpenBSD
2001-04-24 10:33:46 +00:00
Bruce Evans
21bac31e55
Changed setflags() to set_flags(). This fixes world breakage due to
...
recently incremented namespace pollution in <unistd.h>.
2000-01-28 07:12:03 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Poul-Henning Kamp
ee98a93f47
Getty is missing the speed table entry for 230400 baud.
...
PR: 7280
Reviewed by: phk
Submitted by: Craig Leres <leres@ee.lbl.gov>
1998-07-22 05:57:22 +00:00
Philippe Charnier
d748864d2c
Correct incompletes .Xrs. Remove duplicate #includes and unused variables.
1997-11-21 07:43:53 +00:00
David Nugent
1cc1582825
Fix botch with escaped characters, go back to using cgetstr().
...
For escaped characters used in modem strings, use double-backslashes
in gettytab.
PR: 4370
1997-09-03 01:05:36 +00:00
David Nugent
b92f6bd2b8
Use cgetustr() since we handled special escapes ourselves.
...
Fix typo in escape parsing function.
PR: 4370
Submitted by: sumii@is.s.u-tokyo.ac.jp
1997-09-01 10:06:05 +00:00
David Nugent
04a59e678a
Fix memory leak caused by not freeing memory returned by cgetstr()
...
calls. The cost is a little more up-front memory allocation, but the
effect seems minimal.
Problem noticed-by: bde
Added syslog at LOG_ERR when referencing an unknown gettytab entry
and for other cgetent() failues (circular reference et al).
To be merged into 2.2 after a few days testing.
1997-05-11 10:25:38 +00:00
Peter Wemm
9e522f7a18
Revert $FreeBSD$ to $Id$
1997-02-22 14:22:49 +00:00
David Nugent
fe552114a3
Added:
...
ic=expect/send script modem init script
ac=expect/send script modem answer script
ct#val chat script timeout (seconds)
rt#val recycle timeout (seconds) if 'ac' set
dc#val debug bitmask for debugging chat scripts
hw (boolean) enable crtscts handshaking
if=path 'issue' file sent prior login prompt
chat.c is a simplistic expect/send chat module.
1997-02-02 14:24:57 +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
Joerg Wunsch
cae66988a1
Finally commit the changes that make getty(8) no longer depend on the
...
COMPAT_43 cruft. This is supposedly the last core utility that has
been using it! (So now, one should be able to remove this option from
the config files. Be aware that the last officially released xterm
however still requires it.)
The getty has been running now for several weeks on my modem line, so
i feel safe about it.
Obtained from: mostly from the NetBSD vendor-branch
1996-05-05 19:01:13 +00:00
Andrey A. Chernov
9aa70e27a7
Change hardcoded 15 (which means 38400) to B115200 which is 17
1995-07-23 02:30:44 +00:00
Rodney W. Grimes
6c06b4e2aa
Remove trailing whitespace.
1995-05-30 05:51:47 +00:00
Andrey A. Chernov
c568fce986
Fix truncating hostname using MAXHOSTNAMELEN
...
Submitted by: Jan Conard <charly@fachschaften.tu-muenchen.de>
1995-03-24 05:15:09 +00:00
Jordan K. Hubbard
fef0aded64
Replace this with the 1.1.5.1 getty. David says that the 4.4 version is too
...
broken to live.
Submitted by: jkh
1994-08-26 05:19:17 +00:00
Rodney W. Grimes
ea022d1687
BSD 4.4 Lite Libexec Sources
1994-05-27 12:39:25 +00:00