From owner-freebsd-questions Wed Jul 10 04:32:30 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA06315 for questions-outgoing; Wed, 10 Jul 1996 04:32:30 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id EAA06310 for ; Wed, 10 Jul 1996 04:32:28 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id EAA03432; Wed, 10 Jul 1996 04:32:24 -0700 (PDT) Message-Id: <199607101132.EAA03432@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol 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 In-reply-to: Your message of "Wed, 10 Jul 1996 10:29:01 +0200." <199607100829.KAA22135@allegro.lemis.de> From: David Greenman Reply-To: davidg@root.com Date: Wed, 10 Jul 1996 04:32:24 -0700 Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >> 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 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. 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