[kde-linux] Clear screen on konsole
Bruce MacArthur
bmacasuru at fastmail.us
Thu Apr 30 20:02:19 UTC 2009
On Thursday 30 April 2009 14:24, Kenneth Marcy wrote:
> On Thursday 30 April 2009 11:26:03 Kenneth Marcy wrote:
> > On Thursday 30 April 2009 09:37:25 Alain M. wrote:
> > > Hi,
> > >
> > > if I issue clear om a konsole windows, it only issues a lot o
> > > new-lines, but if I roll up with <ctrl+PgUp> or the mouse, the
> > > old text is there
> > >
> > > How can I clear all the text in a konsole window???
> >
> > Type clear then press enter.
>
> Ctrl-L is an alternative to the clear command.
>
> On my machine ctrl-PgUp does not move up the screen, but upward mouse
> scrolling does reveal the history again. So, here's an additional
> note.
>
> If you don't want to see that history as a result of mouse scrolling,
> for a particular user's home directory, and for bash as a shell, move
> the file .bash_history to a different file name, say
> .old_bash_history. Then create a new history file. So, in the home
> directory:
>
> ls -la .bash* reveals existence and size of the current
> .bash_history. MTV .bash_history .old_bash_history renames the
> file.
> touch .bash_history creates a new file without the previous
> history.
>
> Now ctrl-L or clear will operate as before with less history to
> reveal.
>
>
> Ken
THANK YOU, Ken -- That is a VERY interesting insight for many of us!!!
> ___________________________________________________
> This message is from the kde-linux mailing list.
> Account management: https://mail.kde.org/mailman/listinfo/kde-linux.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
--
布鲁斯 麦克阿瑟
Bruce Mac Arthur
15875 Switzer
Overland Park, KS 66221
913-897-4157
bmacasuru at fastmail.us
More information about the kde-linux
mailing list