From owner-freebsd-bugs@FreeBSD.ORG Thu Aug 28 01:10:15 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B29F616A4FB for ; Thu, 28 Aug 2003 01:10:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E65943FDD for ; Thu, 28 Aug 2003 01:10:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h7S8AFUp084545 for ; Thu, 28 Aug 2003 01:10:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h7S8AE1C084534; Thu, 28 Aug 2003 01:10:14 -0700 (PDT) Date: Thu, 28 Aug 2003 01:10:14 -0700 (PDT) Message-Id: <200308280810.h7S8AE1C084534@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Peter Pentchev Subject: Re: misc/55794: Convenience improvement suggestion: clear screen after ^D (logout) at vty X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Peter Pentchev List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 08:10:15 -0000 The following reply was made to PR misc/55794; it has been noted by GNATS. From: Peter Pentchev To: Alexey Dokuchaev Cc: bug-followup@FreeBSD.org Subject: Re: misc/55794: Convenience improvement suggestion: clear screen after ^D (logout) at vty Date: Thu, 28 Aug 2003 11:03:21 +0300 On Wed, Aug 20, 2003 at 03:42:26PM +0700, Alexey Dokuchaev wrote: > > >Number: 55794 > >Category: misc > >Synopsis: Convenience improvement suggestion: clear screen after ^D (logout) at vty > >Originator: Alexey Dokuchaev > >Release: FreeBSD 4.8-STABLE i386 > >Description: > By default, getty(8) does not clear console screen upon logout, which is > somewhat annoying, though easy to fix. Since I've been fixing this > thing in every installation during several past years (and I know many > others that do that as well), I think it's probably time to make it into > CVS. Thoughts? > >How-To-Repeat: > Just login at console, ls /, hit ^D. See all you ls(1) output there. > >Fix: > The fix is trivial: [snip termcap fix] I prefer to do this in a logout script when necessary - for some users only - because I personally don't like the clear-screen idea too much... G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@sbnd.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 If wishes were fishes, the antecedent of this conditional would be true.