From owner-freebsd-questions Fri Feb 8 19:54:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailg.telia.com (mailg.telia.com [194.22.194.26]) by hub.freebsd.org (Postfix) with ESMTP id C490A37B41A for ; Fri, 8 Feb 2002 19:54:23 -0800 (PST) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by mailg.telia.com (8.11.6/8.11.6) with ESMTP id g193sM112701 for ; Sat, 9 Feb 2002 04:54:22 +0100 (CET) Received: from falcon.midgard.homeip.net (h185n2fls20o913.telia.com [212.181.163.185]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id EAA28529 for ; Sat, 9 Feb 2002 04:54:22 +0100 (CET) Received: (qmail 32797 invoked by uid 1001); 9 Feb 2002 03:54:21 -0000 Date: Sat, 9 Feb 2002 04:54:21 +0100 From: Erik Trulsson To: Cliff Sarginson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how to clear the screen while logging off Message-ID: <20020209035420.GA32772@student.uu.se> Mail-Followup-To: Cliff Sarginson , freebsd-questions@FreeBSD.ORG References: <20020208185905.G91586-100000@fremont.bolingbroke.com> <20020209031155.42851.qmail@web13401.mail.yahoo.com> <20020209034721.GB6163@raggedclown.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020209034721.GB6163@raggedclown.net> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Feb 09, 2002 at 04:47:21AM +0100, Cliff Sarginson wrote: > On Fri, Feb 08, 2002 at 07:11:55PM -0800, Andrew Gould wrote: > > --- Ken Bolingbroke wrote: > > > > > > > > > On Fri, 8 Feb 2002, Skull Crusher wrote: > > > > > > > Hello, > > > > Is there a way to clear the screen as you log off > > > besides just typing > > > > CLEAR and then type EXIT > > > > What I would like it to look like is just like the > > > normal logon screen > > > > where it just says FreeBSD/i386 > > > (blah.blah.blah.com) ttyvX > > > > If you know what I mean.. > > > > > > If your shell executes a logout script, stick a > > > 'clear' statement in that. > > > I use tcsh which uses ~/.logout for individual users > > > and /etc/csh.logout > > > for systemwide. > > > > > > Ken Bolingbroke > > > hacker@bolingbroke.com > > > > For the bash shell, put the 'clear' statement in > > ~/.bash_logout. > > > > As root, you can then copy the .bash_logout file to > > /usr/share/skel/dot.bash_logout to automatically > > install the file in new users' home directories. > > > Mmm, if you are doing this for security reasons you may want to check > what happens after you log out, set the scroll-lock key to on, and push > up-arrow... clear ; vidcontrol -C should take care of that little problem. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message