From owner-freebsd-questions Fri May 5 20:22: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.hiwaay.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 4B22537B58E for ; Fri, 5 May 2000 20:21:58 -0700 (PDT) (envelope-from dkelly@hiwaay.net) Received: from nospam.hiwaay.net (tnt6-216-180-4-152.dialup.HiWAAY.net [216.180.4.152]) by mail.hiwaay.net (8.10.1/8.10.1) with ESMTP id e463Ltp22141; Fri, 5 May 2000 22:21:56 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by nospam.hiwaay.net (8.9.3/8.9.3) with ESMTP id WAA10878; Fri, 5 May 2000 22:21:52 -0500 (CDT) (envelope-from dkelly@nospam.hiwaay.net) Message-Id: <200005060321.WAA10878@nospam.hiwaay.net> X-Mailer: exmh version 2.1.1 10/15/1999 To: Robert B , questions@FreeBSD.ORG From: David Kelly Subject: Re: Clear Screen Before Logout In-reply-to: Message from Trevor Johnson of "Fri, 05 May 2000 22:42:20 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 05 May 2000 22:21:52 -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Trevor Johnson writes: > > Whats the best way to clear the terminal screen after a log out so that > > login: is the only thing on the screen. > > before: > > cd; echo "clear" > .logout; ln -s .logout .bash_logout > > after: > Press control-L then enter. Did I tune in too late, or has somebody already pointed out the sure fire way to clear the screen with all shells and all accounts is to edit /etc/gettytab? Insert \f shown below: default:\ :cb:ce:ck:lc:fd#1000:im=\f\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200: ^^ -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message