summaryrefslogtreecommitdiffstats
path: root/libexec/getty/subr.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r282245:kib2015-05-061-14/+0
| | | | | | | Remove the #ifdef DEBUG code, which is not compilable on 64bit architectures. PR: 199767
* MFC: r262136brueffer2014-02-241-5/+1
| | | | | | | Remove the 3rd clause ("advertising clause") of the BSD license as permitted by the University of Berkeley on July 22, 1999. Reviewed by: imp
* Nuke COMPAT_43phk2004-06-251-150/+0
|
* o __P removalimp2002-02-061-43/+34
| | | | | o remove register o use strict prototypes
* Replace a strcat() with a strlcat(). Partial sync with OpenBSD; morekris2001-04-241-1/+1
| | | | | | | work is needed. Submitted by: "Andrew R. Reiter" <arr@watson.org> Obtained from: OpenBSD
* Changed setflags() to set_flags(). This fixes world breakage due tobde2000-01-281-1/+1
| | | | recently incremented namespace pollution in <unistd.h>.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Getty is missing the speed table entry for 230400 baud.phk1998-07-221-2/+3
| | | | | | PR: 7280 Reviewed by: phk Submitted by: Craig Leres <leres@ee.lbl.gov>
* Correct incompletes .Xrs. Remove duplicate #includes and unused variables.charnier1997-11-211-8/+10
|
* Fix botch with escaped characters, go back to using cgetstr().davidn1997-09-031-3/+3
| | | | | | For escaped characters used in modem strings, use double-backslashes in gettytab. PR: 4370
* Use cgetustr() since we handled special escapes ourselves.davidn1997-09-011-3/+3
| | | | | | Fix typo in escape parsing function. PR: 4370 Submitted by: sumii@is.s.u-tokyo.ac.jp
* Fix memory leak caused by not freeing memory returned by cgetstr()davidn1997-05-111-8/+80
| | | | | | | | | | | | 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.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Added:davidn1997-02-021-0/+5
| | | | | | | | | | | | 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.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Finally commit the changes that make getty(8) no longer depend on thejoerg1996-05-051-130/+388
| | | | | | | | | | | | 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
* Change hardcoded 15 (which means 38400) to B115200 which is 17ache1995-07-231-2/+1
|
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* Fix truncating hostname using MAXHOSTNAMELENache1995-03-241-1/+2
| | | | Submitted by: Jan Conard <charly@fachschaften.tu-muenchen.de>
* Replace this with the 1.1.5.1 getty. David says that the 4.4 version is toojkh1994-08-261-84/+71
| | | | | broken to live. Submitted by: jkh
* BSD 4.4 Lite Libexec Sourcesrgrimes1994-05-271-0/+531
OpenPOWER on IntegriCloud