Mailinglist Archive: opensuse (3254 mails)

< Previous Next >
Re: [SLE] Clearinc console at log off
  • From: zentara <zentara@xxxxxxxxxxx>
  • Date: Wed, 11 Sep 2002 16:44:08 -0400
  • Message-id: <20020911164408.63f26d1f.zentara@xxxxxxxxxxx>
On Wed, 11 Sep 2002 19:25:50 +0100
Dylan <dylan@xxxxxxxxxxx> wrote:

> When using console 2 to 6, the screen clears when I log out and the login
> prompt appears at the top. On console 1, however, the screen contents from
> the session remains (surely this could be a security issue?)
> So, what setting / config file do I need to attack to get the clear-screan
> function on console 1?

I havn't seen that problem, except for the boot messages.

> Also, what command would clear the screen from the command line during a
> session?

try 1 of these:
print "\033[2J";
tput sgr0

If you want to log out of all your logons quickly, try:
kill -1 -1

use Perl; #powerful programmable prestidigitation

< Previous Next >