Date: Wed, 10 Jul 1996 04:32:24 -0700 From: David Greenman <davidg@root.com> To: grog@lemis.de (Greg Lehey) Cc: candy@fct.kgc.co.jp (Toshihiro Kanda), questions@FreeBSD.org (FreeBSD Questions) Subject: Re: getty(8) don't show `login:' prompt Message-ID: <199607101132.EAA03432@root.com> In-Reply-To: Your message of "Wed, 10 Jul 1996 10:29:01 %2B0200." <199607100829.KAA22135@allegro.lemis.de>
index | next in thread | previous in thread | raw e-mail
>> login_tty(i);
>> + #if 1 /* XXX Need delay to continue... I don't know why */
>> + sleep(1);
>> + #endif
>> }
>> }
>> -------8<---------------8<---------------8<--------
>
>No, that looks pretty good to me. In my getty (heavily modified), I
>have:
>
> if (slowmodem)
> {
> sleep (slowmodem); /* give modem a chance to wake up */
> tcflush (i, TCIFLUSH); /* and throw out any junk */
> }
>
>>From the man page:
>
>-S [delay] causes getty to delay <delay> seconds after connection has
> been established. This is for use with modems which are
> not ready to communicate with the remote site as soon as
> they are connected. <delay> may be omitted and defaults to
> 2.
I'd prefer to see this implemented as an option in FreeBSD (default to no
extra delay if the option is not specified)...like Greg suggests above.
-DG
David Greenman
Core-team/Principal Architect, The FreeBSD Project
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607101132.EAA03432>
