From owner-cvs-libexec Sun Feb 9 08:12:19 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA22322 for cvs-libexec-outgoing; Sun, 9 Feb 1997 08:12:19 -0800 (PST) Received: (from davidn@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA22315; Sun, 9 Feb 1997 08:12:17 -0800 (PST) Date: Sun, 9 Feb 1997 08:12:17 -0800 (PST) From: David Nugent Message-Id: <199702091612.IAA22315@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-libexec Subject: cvs commit: src/libexec/getty chat.c main.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidn 97/02/09 08:12:16 Modified: libexec/getty chat.c main.c Log: Tidy-up modem-chat handling: ensure tty modes are restored to 'sane' standard (not raw) settings before abort/exiting; move responsibility of setting raw mode for chat-handling out of chat.c to avoid doing redundant tc{s,g}etattr()s; move DE pause prior setting standard mode before issue/login prompt to avoid echoing modem connect strings. Fixed up comment styles in a couple of places. Revision Changes Path 1.2 +28 -39 src/libexec/getty/chat.c 1.18 +17 -10 src/libexec/getty/main.c