Quoting wes schreiner ([EMAIL PROTECTED]): > Not that I can see, though I'd love to know of a clean way to clear the > scroll-back buffer. I agree it's a bit hackish. Can anyone come up > with something better? Ehm.. I did this: knopje# echo -e "\033[2J\033[1;1H" > issue.new knopje# cat /etc/issue >> issue.new knopje# mv issue.new /etc/issue And now when i log out from consoles the screen clears and the scrollback buffer is empty.. The \0332J is ANSI for Clear Screen and \033[1;1H is ANSI for place cursor on x1 y1... Works for me... -- | The soul is dyed by its thoughts. --Lubbock. | CistroN Internet Services, Linux Specialists & Perl Experts | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
- Re: Clear screan question wes schreiner
- Re: Clear screan question Cesar Crusius
- Re: Clear screan question Tal Danzig
- Re: Clear screan question Alexis Paul Musgrave
- Re: Clear screan question wes schreiner
- Re: Clear screan question Ethan Benson
- Re: Clear screan question Sune Kirkeby
- Re: Clear screan question wes schreiner
- Re: Clear screan question Ethan Benson
- Re: Clear screan question Ethan Benson
- Re: Clear screan question Sander Smeenk (CistroN Medewerker)
- Re: Clear screan question Ethan Benson
- Re: Clear screan question wes schreiner
- Re: Clear screan question Andy Bastien
- Re: Clear screan question Jacob Kuntz
- Re: Clear screan question wes schreiner
- Re: Clear screan question Jacob Kuntz
- Re: Clear screan question Sune Kirkeby
- Re: Clear screan question Andy Bastien
- Re: Clear screan question Ethan Benson
- Re: Clear screan question Sune Kirkeby