History log of /freebsd-10-stable/libexec/getty/chat.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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

# 228582 16-Dec-2011 dim

In libexec/getty/chat.c, replace && with & in chat_send(). The intent
is to test if the CHATDEBUG_SEND bit is set in the chat_debug global.

MFC after: 1 week


# 216582 20-Dec-2010 charnier

Add __unused. Ansi prototypes.


# 144716 06-Apr-2005 stefanf

Include gettytab.h before extern.h so that the declarations of struct
gettyflags, gettynums and gettystrs are available.


# 126952 14-Mar-2004 bde

Fixed a misspelling of 0 as NULL.


# 108470 30-Dec-2002 schweikh

Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.


# 91214 25-Feb-2002 bde

Removed unused include of <sys/resource.h> instead of depending on
namespace pollution only 1 layer deep in <sys/stat.h> for its
prerequisite <sys/time.h>

Removed other unused includes.


# 90301 06-Feb-2002 imp

o __P removal
o remove register
o use strict prototypes


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 31331 21-Nov-1997 charnier

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


# 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


# 22989 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 22491 09-Feb-1997 davidn

Tidy-up modem-chat handling: ensure tty modes are restored to
'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.


# 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.