On Mon, Dec 08, 2008 at 03:56:21PM -0700, Bret spoke thusly:
> Greetings
>
>    I have been running OpenBSD as a firewall/router since 2.5 and have  
> never had any problem with Clearing the console each time a user logs  
> out. I have just installed 4.4 on a system that was running 4.0. I did a  
> complete install from the install CD off the ftp site(s). I then edited  
> /etc/gettytab the same way I have done many times before, following the  
> FAQ instructions. The console will not clear after logging out. I have  
> even rebooted and the same results. I thought I might have screwed the  
> file up editing it so I even did another clean install and ONLY  
> installed pico to edit /etc/gettytab just in case I somehow messed it up  
> using vi... still no go. Looked out on the net and found no reference to  
> this. Any Ideas?
>
> Bret
>

I'm assuming you're referring to

http://www.openbsd.org/faq/faq7.html#ConsoleClear

i.e.,

To do this you must add a line in /etc/gettytab(5). Change the current
section:

    P|Pc|Pc console:\
            :np:sp#9600:

adding the line ":cl=\E[H\E[2J:" at the end, so that it ends up looking
like this:

    P|Pc|Pc console:\
            :np:sp#9600:\
        :cl=\E[H\E[2J:


Now try changing

default:\
        :np:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:

to

default:\
        :np:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:cl=\E[H\E[2J:



Denny White

-- 

 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII.
===============================================================
GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
===============================================================

Reply via email to