From owner-freebsd-questions Tue Jul 9 02:25:25 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA22090 for questions-outgoing; Tue, 9 Jul 1996 02:25:25 -0700 (PDT) Received: from mail0.iij.ad.jp (root@mail0.iij.ad.jp [192.244.176.61]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id CAA22081 for ; Tue, 9 Jul 1996 02:25:17 -0700 (PDT) Received: from uucp1.iij.ad.jp (uucp1.iij.ad.jp [192.244.176.73]) by mail0.iij.ad.jp (8.6.12+2.4W/3.3W9-MAIL) with ESMTP id SAA04999 for ; Tue, 9 Jul 1996 18:25:05 +0900 Received: (from uucp@localhost) by uucp1.iij.ad.jp (8.6.12+2.4W/3.3W9-UUCP) with UUCP id SAA20895 for questions@freebsd.org; Tue, 9 Jul 1996 18:25:04 +0900 Received: from xxx.fct.kgc.co.jp by yyy.kgc.co.jp (8.7.5/3.4W:95122611) id SAA11269; Tue, 9 Jul 1996 18:04:18 +0900 (JST) Received: from localhost by xxx.fct.kgc.co.jp (8.6.12/3.3W8:95062916) id SAA01318; Tue, 9 Jul 1996 18:04:18 +0900 Message-Id: <199607090904.SAA01318@xxx.fct.kgc.co.jp> To: questions@freebsd.org Subject: getty(8) don't show `login:' prompt X-Mailer: Mew version 1.06 on Emacs 19.28.2, Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Tue, 09 Jul 1996 18:04:17 +0900 From: Toshihiro Kanda Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm using FreeBSD 2.1R. I wanted to login via modem, but got difficulty... Getty didn't show `login:' to remote terminal. After a short hacking /usr/src/libexec/getty/, I found a delay fixes this problem. -------8<---------------8<---------------8<-------- *** main.c.orig Tue Jul 9 17:25:31 1996 --- main.c Tue Jul 9 17:24:54 1996 *************** *** 176,181 **** --- 176,184 ---- sleep(60); } login_tty(i); + #if 1 /* XXX Need delay to continue... I don't know why */ + sleep(1); + #endif } } -------8<---------------8<---------------8<-------- Anybody know better solution? candy@fct.kgc.co.jp (Toshihiro Kanda)