Bug 49104

Summary: Column Text Select (rectangle of text) like Putty in windows when holding alt key with left mouse click and drag.
Product: [Applications] konsole Reporter: Ben Russo <ben>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: dalou.dhinesh
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Patch against KDE_3_1_BRANCH

Description Ben Russo 2002-10-13 21:35:32 UTC
Version:            (using KDE KDE 3.0.3)
Installed from:    RedHat RPMs

When using sqlplus or psql (for example) it is common to enter many lines of a single command
terminating the command with a line ending with a ";"  
If after typing 10 or 20 lines you then find that you had a typo in line 5  it is nice to be able
to select a rectangle of text from the Konsole window instead of including the command shell prompt that is at the beginning of each line.
Also if you are in VI editing a column based text file (like /etc/hosts)  a column based select allows you to copy out just the IP addresses or just the host names.

This alternate method of selecting text is implemented in some terminal emulators (like Putty) under windows   by holding down the "Alt" key while doing a normal click and drag to highlight a selected rectangle of text.

The resulting selected text (when pasted) has a return at the end of each line.
Comment 1 Moritz Moeller-Herrmann 2002-12-23 00:00:18 UTC
ALT will move the window, CTRL will copy without linebreaks and SHIFT will pass mouse 
clicks directly to the program, so only a META key would be possible for block selection. 
Comment 2 Stephan Binner 2003-03-02 10:10:18 UTC
Created attachment 1084 [details]
Patch against KDE_3_1_BRANCH
Comment 3 Stephan Binner 2003-03-02 10:15:45 UTC
Implemented for KDE 3.2.