Subject: Re: clear screen when logout
To: faisal <faisal_gillani@flashmail.com>
From: Ben Collver <collver@softhome.net>
List: port-i386
Date: 10/07/2000 10:08:14
On Sun, Oct 08, 2000 at 11:29:53AM -0700, faisal wrote:
> i have a problem when i logout the screen should clear with login prompt but
> it display commands that other user used ........................... how to
> solve this ?

After reading getty(8) and gettytab(5) I got it to work on my system by
adding the following two case sensitive lines to /etc/gettytab

Pc:\
	:cl=\e[2J:ce:ck:np:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#9600:

Which is ':cl=\e[2J' added to the default terminal type.
-- 
Ben Collver -- collver@softhome.net
Your fellow-man? Divide the epithet: Say rather, you're the fellow, he the man.