Bug 92200

Summary: Can't select text with mouse when certain ncurses programs are running (e.g., pinfo)
Product: [Applications] konsole Reporter: Tristan Miller <psychonaut>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tristan Miller 2004-10-27 13:01:25 UTC
Version:            (using KDE KDE 3.3.1)
Installed from:    SuSE RPMs

I have noticed that when running certain ncurses programs in a konsole, the standard xterm select/copy technique of simply dragging the mouse across text does not work.  No highlight bar appears and no text is copied.

One such program is pinfo <http://freshmeat.net/projects/pinfo/>, a popular info browser with a lynx-like interface.  I often want to copy and paste example code from an info file into an editor, but I can't do this from pinfo.
Comment 1 Tristan Miller 2004-10-27 13:08:03 UTC
Upon further testing, it would appear that this behaviour is not unique to konsole; selection is also disabled in xterm.  Perhaps something in pinfo or ncurses is causing this, then.  But even if that's the case, it would be nice if konsole could circumvent it.  Third-party applications should not be allowed to disable the standard copy-and-paste interface.
Comment 2 Waldo Bastian 2004-10-27 14:00:08 UTC
You can select text with the mouse by pressing the shift key in such situations.

The standard applicable to terminals (konsole is a terminal implementation in software) defines that mouse clicks are passed to the application that runs in konsole under certain circumstances. Konsole implements this so that programs written with this standard in mind function correctly.