Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2000 11:12:17 +0200
From:      Marc Silver <marcs@draenor.org>
To:        Chris Smith <chris.smith@raytheon.co.uk>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: HELP! - Clearing screen on logout
Message-ID:  <20000524111217.F92261@draenor.org>
In-Reply-To: <959158168.392b97980978e@www.tdyc.com>; from chris.smith@raytheon.co.uk on Wed, May 24, 2000 at 01:49:28AM -0700
References:  <959158168.392b97980978e@www.tdyc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hey there,

This depends on your shell.  

If tcsh:

echo clear > .logout

If bash:

echo clear > .bash_logout

That'll do it for you.  :)

Cheers,
Marc

On Wed, May 24, 2000 at 01:49:28AM -0700, Chris Smith wrote:
> Hi,
> 
> Can anyone tell me _explicitly_ how to clear the screen 
> when a user logs out (or when a getty starts)?  I know it's
> in the gettytab man page, but I cant get it to work.  I've
> probably incorrectly played with the cl option?!?
> 
> Any ideas?
> 
> Cheers,
> 
> -----------------------------------------------------------
> Chris Smith              IS Dept - Raytheon Systems Limited
> [chris.smith@raytheon.co.uk]               +44 1279 407 103
> -----------------------------------------------------------
> Programmers are busy writing the next best idiot proof 
> software. The universe, in the meantine, is busy making the
> next best idiot. The universe is winning...
> ===========================================================


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?20000524111217.F92261>