From: Backpacker on
despen(a)verizon.net wrote:
> Using rxvt, "clear" clears the screen.
> "tput reset" clears the screen _and_ the scroll back buffer.

Again, "tput reset" doesn't clear Konsole's scrollback buffer. I think that
the only safe way with Konsole is to close the Konsole window, do Alt+F2 and
enter "rm ~/.bash_history" (or better still, "shred -fuz ~/.bash_history").

--
Backpacker

From: John Hasler on
Backpacker writes:
> Again, "tput reset" doesn't clear Konsole's scrollback buffer.

Works for Xterm.
--
John Hasler
jhasler(a)newsguy.com
Dancing Horse Hill
Elmwood, WI USA
From: despen on
Backpacker <Backpacker(a)rekcapkcaB.invalid.org> writes:

> despen(a)verizon.net wrote:
>> Using rxvt, "clear" clears the screen.
>> "tput reset" clears the screen _and_ the scroll back buffer.
>
> Again, "tput reset" doesn't clear Konsole's scrollback buffer. I think that
> the only safe way with Konsole is to close the Konsole window, do Alt+F2 and
> enter "rm ~/.bash_history" (or better still, "shred -fuz ~/.bash_history").

Sounds like a bug in Konsole.
From: unruh on
On 2010-01-29, despen(a)verizon.net <despen(a)verizon.net> wrote:
> Backpacker <Backpacker(a)rekcapkcaB.invalid.org> writes:
>
>> despen(a)verizon.net wrote:
>>> Using rxvt, "clear" clears the screen.
>>> "tput reset" clears the screen _and_ the scroll back buffer.
>>
>> Again, "tput reset" doesn't clear Konsole's scrollback buffer. I think that
>> the only safe way with Konsole is to close the Konsole window, do Alt+F2 and
>> enter "rm ~/.bash_history" (or better still, "shred -fuz ~/.bash_history").

Ah yes, but I think that after each time you use the Konsole you should
remove the disk, remove the cover, pack it into a kilo of thermite and
ignite. You can never be too safe. Besides that will mean you spend less
time on the computer and make it safer. After all you never know that
there is not info hidden somwhere else on the disk. After all .history
only records the primary logon, not all those subsiduary windows.

>
> Sounds like a bug in Konsole.
From: jellybean stonerfish on
On Thu, 28 Jan 2010 23:22:43 +0000, Backpacker wrote:

> despen(a)verizon.net wrote:
>> Using rxvt, "clear" clears the screen. "tput reset" clears the screen
>> _and_ the scroll back buffer.
>
> Again, "tput reset" doesn't clear Konsole's scrollback buffer.

Oh. reset clears my scroll back with gnome-terminal, but as I just tested
on my terminal ALT-F1, executing "reset" and then hitting SHIFT-PGUP shows
the previous pages. So on my regular terminals, I need to switch to another
terminal and then back to clear the SHIFT-PGUP buffer.