dim
59dc1f5c98
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
2011-12-16 15:44:12 +00:00
charnier
89b5c05930
Add __unused. Ansi prototypes.
2010-12-20 08:29:54 +00:00
stefanf
e45b89dcfd
Include gettytab.h before extern.h so that the declarations of struct
...
gettyflags, gettynums and gettystrs are available.
2005-04-06 17:42:24 +00:00
bde
1e78a65d3a
Fixed a misspelling of 0 as NULL.
2004-03-14 05:27:26 +00:00
schweikh
86f7487fb6
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
...
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
bde
809bbfd246
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.
2002-02-25 02:18:36 +00:00
imp
03e95a0075
o __P removal
...
o remove register
o use strict prototypes
2002-02-06 16:38:40 +00:00
peter
76f0c923fe
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
charnier
f2586e9eab
Correct incompletes .Xrs. Remove duplicate #includes and unused variables.
1997-11-21 07:43:53 +00:00
davidn
83eefff2e6
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
peter
090fb430f1
Revert $FreeBSD$ to $Id$
1997-02-22 14:22:49 +00:00
davidn
dd9792c5ff
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.
1997-02-09 16:12:08 +00:00
davidn
c6f2c73939
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