Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 May 2000 22:35:35 -0500
From:      Glenn Johnson <glennpj@bayouhome.net>
To:        Bhishan Hemrajani <bhishan@cytosine.dhs.org>
Cc:        Trevor Johnson <trevor@jpj.net>, Robert B <cgibin@hotmail.com>, questions@FreeBSD.ORG
Subject:   Re: Clear Screen Before Logout
Message-ID:  <20000505223535.B564@gforce.johnson.home>
In-Reply-To: <200005060248.e462mIe41750@cytosine.dhs.org>; from bhishan@cytosine.dhs.org on Fri, May 05, 2000 at 07:48:17PM -0700
References:  <Pine.BSI.4.21.0005052237220.1833-100000@blues.jpj.net> <200005060248.e462mIe41750@cytosine.dhs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000505223535.B564>