summaryrefslogtreecommitdiffstats
path: root/libexec/getty/chat.c
Commit message (Collapse)AuthorAgeFilesLines
* In libexec/getty/chat.c, replace && with & in chat_send(). The intentdim2011-12-161-1/+1
| | | | | | is to test if the CHATDEBUG_SEND bit is set in the chat_debug global. MFC after: 1 week
* Add __unused. Ansi prototypes.charnier2010-12-201-5/+3
|
* Include gettytab.h before extern.h so that the declarations of structstefanf2005-04-061-0/+1
| | | | gettyflags, gettynums and gettystrs are available.
* Fixed a misspelling of 0 as NULL.bde2004-03-141-1/+1
|
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-301-1/+1
| | | | Add FreeBSD Id tag where missing.
* Removed unused include of <sys/resource.h> instead of depending onbde2002-02-251-12/+2
| | | | | | | namespace pollution only 1 layer deep in <sys/stat.h> for its prerequisite <sys/time.h> Removed other unused includes.
* o __P removalimp2002-02-061-32/+19
| | | | | o remove register o use strict prototypes
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Correct incompletes .Xrs. Remove duplicate #includes and unused variables.charnier1997-11-211-10/+7
|
* Use cgetustr() since we handled special escapes ourselves.davidn1997-09-011-2/+2
| | | | | | Fix typo in escape parsing function. PR: 4370 Submitted by: sumii@is.s.u-tokyo.ac.jp
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Tidy-up modem-chat handling: ensure tty modes are restored todavidn1997-02-091-39/+28
| | | | | | | | | 'sane' standard (not raw) settings before abort/exiting; move responsibility of setting raw mode for chat-handling out of chat.c to avoid doing redundant tc{s,g}etattr()s; move DE pause prior setting standard mode before issue/login prompt to avoid echoing modem connect strings. Fixed up comment styles in a couple of places.
* Added:davidn1997-02-021-0/+526
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.
OpenPOWER on IntegriCloud