Bug 238883

Summary: Konsole's Scrollback only clears instead of resets when using the 'reset' command.
Product: [Applications] konsole Reporter: fatcandle
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: minor CC: khindenburg, robertknight
Priority: NOR    
Version: 2.4.3   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:

Description fatcandle 2010-05-26 14:20:09 UTC
Version:           2.4.3 (using KDE 4.4.3) 
OS:                Linux

Using the reset command only clears the terminal. Is it wrong to think the desired output of reset is the same as choosing 
Scrollback -> Clear scrollback & Reset

Reproducible: Always

Steps to Reproduce:
Execute 'reset' on the command line

Actual Results:  
Scrollback clears.

Expected Results:  
Scrollback clears and resets.
Comment 1 Robert Knight 2010-05-26 15:08:17 UTC
> Steps to Reproduce:
> Execute 'reset' on the command line

> Actual Results:  
> Scrollback clears.

I don't see this.  The expected behavior when typing 'reset' on the command line is that the state of the terminal emulation is reset but the scrollback remains - which is what I see.
Comment 2 fatcandle 2010-05-28 13:24:33 UTC
Hmm. I thought the purpose of reset was to remove the ScrollBack buffer from the terminal.
Comment 3 Robert Knight 2010-05-28 13:43:13 UTC
> Hmm. I thought the purpose of reset was to remove the
> ScrollBack buffer from the terminal.

No.  The terminal emulator has a set of state information - such as the background/foreground colours, the position of the cursor, whether mouse input is enabled and what effect some of the keys have.  'reset' puts all this back to the state of the terminal when it was first started.

The main reason you'd have to use reset is if the terminal starts behaving strangely.