diff options
author | davidn <davidn@FreeBSD.org> | 1997-02-02 14:24:57 +0000 |
---|---|---|
committer | davidn <davidn@FreeBSD.org> | 1997-02-02 14:24:57 +0000 |
commit | c6f2c739399a263085b3a2fede442eb34b352638 (patch) | |
tree | 38ad4d1d669a24d80c631c3373fb8810d17d7643 /libexec/getty/init.c | |
parent | 5e164803b672cd060a6e5221a45ce2b35801c224 (diff) | |
download | FreeBSD-src-c6f2c739399a263085b3a2fede442eb34b352638.zip FreeBSD-src-c6f2c739399a263085b3a2fede442eb34b352638.tar.gz |
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.
Diffstat (limited to 'libexec/getty/init.c')
-rw-r--r-- | libexec/getty/init.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libexec/getty/init.c b/libexec/getty/init.c index eca9280..f6551f9 100644 --- a/libexec/getty/init.c +++ b/libexec/getty/init.c @@ -77,6 +77,9 @@ struct gettystrs gettystrs[] = { { "ln", &tmode.c_cc[VLNEXT] }, /* literal next */ { "Lo" }, /* locale for strftime() */ { "pp" }, /* ppp login program */ + { "if" }, /* sysv-like 'issue' filename */ + { "ic" }, /* modem init-chat */ + { "ac" }, /* modem answer-chat */ { 0 } }; @@ -107,6 +110,9 @@ struct gettynums gettynums[] = { { "o1" }, /* input o_flags */ { "o2" }, /* user mode o_flags */ { "de" }, /* delay before sending 1st prompt */ + { "rt" }, /* reset timeout */ + { "ct" }, /* chat script timeout */ + { "dc" }, /* debug chat script value */ { 0 } }; @@ -135,5 +141,6 @@ struct gettyflags gettyflags[] = { { "dx", 0 }, /* set decctlq */ { "np", 0 }, /* no parity at all (8bit chars) */ { "mb", 0 }, /* do MDMBUF flow control */ + { "hw", 0 }, /* do CTSRTS flow control */ { 0 } }; |