[Konsole-devel] [Bug 288913] New: Typing 'reset' in Konsole should clear scrollback history

SiegeLord siegelords_abode at yahoo.com
Tue Dec 13 18:48:49 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=288913

           Summary: Typing 'reset' in Konsole should clear scrollback
                    history
           Product: konsole
           Version: 2.7.2
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: siegelords_abode at yahoo.com


Version:           2.7.2 (using KDE 4.7.2) 
OS:                Linux

Issuing the command 'reset' in Konsole does not clear the scrollback buffer
like it does in virtually every terminal emulator I can think of (the
exceptions are rxvt and its forks). Terminals where that does work include
terminator, gnome-terminal, xcfe4-terminal, xterm.

Reproducible: Always

Steps to Reproduce:
Issue the following commands in the Konsole window:

for i in {0..500}; do echo $i; done #fill up the scrollback buffer
reset

Then try scrolling up (e.g. by pressing Shift+PgUp).

Actual Results:  
You will see the numbers printed by the first line.

Expected Results:  
You shouldn't be able to scroll up, as the command prompt shown after the
'reset' command should be the first line in the scroll buffer.

The motivation behind this request is the following workflow:

$ gcc buggy_program.c
<gcc shows thousands of errors>
Fix some of the initial errors
$ gcc buggy_program.c
<gcc shows thousands of errors>

Because of the large number of errors gcc is prone to showing, it is hard to
find where the first error is after the second invocation of gcc because they
are somewhere in the middle of the scroll buffer. With a working reset command,
this becomes easier, as you can discard the first set of errors by issuing it
before you invoke gcc again.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list