From owner-freebsd-questions Fri May 5 20:39:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cytosine.dhs.org (cx272244-a.orng1.occa.home.com [24.1.177.149]) by hub.freebsd.org (Postfix) with ESMTP id E884537B538 for ; Fri, 5 May 2000 20:39:21 -0700 (PDT) (envelope-from bhishan@cytosine.dhs.org) Received: (from bhishan@localhost) by cytosine.dhs.org (8.10.1/8.10.0) id e463d2b42005; Fri, 5 May 2000 20:39:02 -0700 (PDT) From: Bhishan Hemrajani Message-Id: <200005060339.e463d2b42005@cytosine.dhs.org> Subject: Re: Clear Screen Before Logout In-Reply-To: <20000505223535.B564@gforce.johnson.home> from Glenn Johnson at "May 5, 2000 10:35:35 pm" To: Glenn Johnson Date: Fri, 5 May 2000 20:39:01 -0700 (PDT) Cc: Trevor Johnson , Robert B , questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I believe this was asked on -questions. I can't remember what the exact answer was, but I remember that is had something to do with /etc/gettytab. Try a, man gettytab. Or, search the archives for that message. Sorry for not being of much help. --bhishan > On Fri, May 05, 2000 at 07:48:17PM -0700, Bhishan Hemrajani wrote: > > > Or, you can put "clear" in /etc/csh.logout. > > > > --bhishan > > > > > > 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. > > On a related note, when a system first boots up there are usually > messages left on the first virtual terminal. Is there any way to > automatically clear this so that the first virtual terminal looks like > the other VT's, with just the login: prompt? > > -- > Glenn Johnson > glennpj@bayouhome.net > ___________________________ | Bhishan Hemrajani | | Finger | | bhishan@cytosine.dhs.org | | for public pgp key. | | | | The best part about mswin | / ) | is that you can dl FreeBSD| / / | with it! | ( ( | | (((\ \> |/ )bhishan@cytosine.dhs.org| (\\\\ \_/ /_________________________| \ / \ _/ / / / / To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message