History log of /freebsd-10.1-release/libexec/getty/subr.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 262435 24-Feb-2014 brueffer

MFC: r262136

Remove the 3rd clause ("advertising clause") of the BSD license as
permitted by the University of Berkeley on July 22, 1999.

Reviewed by: imp


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 131091 25-Jun-2004 phk

Nuke COMPAT_43


# 90301 06-Feb-2002 imp

o __P removal
o remove register
o use strict prototypes


# 75905 24-Apr-2001 kris

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


# 56725 28-Jan-2000 bde

Changed setflags() to set_flags(). This fixes world breakage due to
recently incremented namespace pollution in <unistd.h>.


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 37817 22-Jul-1998 phk

Getty is missing the speed table entry for 230400 baud.
PR: 7280
Reviewed by: phk
Submitted by: Craig Leres <leres@ee.lbl.gov>


# 31331 21-Nov-1997 charnier

Correct incompletes .Xrs. Remove duplicate #includes and unused variables.


# 29045 02-Sep-1997 davidn

Fix botch with escaped characters, go back to using cgetstr().
For escaped characters used in modem strings, use double-backslashes
in gettytab.
PR: 4370


# 29003 01-Sep-1997 davidn

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


# 25709 11-May-1997 davidn

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.


# 22989 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 22208 02-Feb-1997 davidn

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.


# 21673 14-Jan-1997 jkh

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.


# 15645 05-May-1996 joerg

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


# 9651 23-Jul-1995 ache

Change hardcoded 15 (which means 38400) to B115200 which is 17


# 8870 30-May-1995 rgrimes

Remove trailing whitespace.


# 7317 24-Mar-1995 ache

Fix truncating hostname using MAXHOSTNAMELEN
Submitted by: Jan Conard <charly@fachschaften.tu-muenchen.de>


# 2286 26-Aug-1994 jkh

Replace this with the 1.1.5.1 getty. David says that the 4.4 version is too
broken to live.
Submitted by: jkh


# 1593 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1592,
which included commits to RCS files with non-trunk default branches.


# 1592 27-May-1994 rgrimes

BSD 4.4 Lite Libexec Sources