diff options
author | msmith <msmith@FreeBSD.org> | 1996-12-31 01:30:38 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1996-12-31 01:30:38 +0000 |
commit | 0368cd4304524bd043bd10360cd198e69a0c897f (patch) | |
tree | c74e80b83b7b03f1b165069b9203ae006dd8872b /libexec/getty/init.c | |
parent | 052fd9ee5f2f4522b9f5817808e5ee7afb52b13b (diff) | |
download | FreeBSD-src-0368cd4304524bd043bd10360cd198e69a0c897f.zip FreeBSD-src-0368cd4304524bd043bd10360cd198e69a0c897f.tar.gz |
Add a new 'de' capability, specifying a number of seconds to sleep before
emitting the initial prompt.
This is useful in a number of circumstances :
- you have (a) stupid modem(s) that assert(s) DCD too soon.
- you have dialin users with stupid diallers and poorly
written chatscripts. (esp. some Winsock diallers)
BSD/OS also has this capability.
Submitted by: damian@cablenet.net (Damian Hamill)
Diffstat (limited to 'libexec/getty/init.c')
-rw-r--r-- | libexec/getty/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libexec/getty/init.c b/libexec/getty/init.c index 394cb3e..6522264 100644 --- a/libexec/getty/init.c +++ b/libexec/getty/init.c @@ -33,7 +33,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)init.c 8.1 (Berkeley) 6/4/93";*/ -static char rcsid[] = "$Id: init.c,v 1.3 1996/05/05 19:01:09 joerg Exp $"; +static char rcsid[] = "$Id: init.c,v 1.4 1996/11/13 01:06:39 pst Exp $"; #endif /* not lint */ /* @@ -106,8 +106,10 @@ struct gettynums gettynums[] = { { "o0" }, /* output o_flags */ { "o1" }, /* input o_flags */ { "o2" }, /* user mode o_flags */ - { 0 } + { "de" }, /* delay before sending 1st prompt */ + { 0 } }; + struct gettyflags gettyflags[] = { { "ht", 0 }, /* has tabs */ |