[Konsole-devel] [konsole] [Bug 315583] New: support copy/paste to/from X primary selection/clipboard for terminal apps (vim)

Pete Beardmore elbeardmorez at msn.com
Thu Feb 21 17:24:05 UTC 2013


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

            Bug ID: 315583
           Summary: support copy/paste to/from X primary
                    selection/clipboard for terminal apps (vim)
    Classification: Unclassified
           Product: konsole
           Version: 2.8.5
          Platform: Slackware Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: copy-paste
          Assignee: konsole-devel at kde.org
          Reporter: elbeardmorez at msn.com

when compiled with +xterm_clipboard / +clipboard flags, i can manipulate X
primary selection / clipboard via vim registers */+ (for my setup) but only
when using xterm/gtk based terminals. i would like support for the appropriate
protocol in Konsole too please

the lack of support for this feature has been worked around via interaction
with the mouse until today's use case where i needed to move a selection from a
vertically split vim window. in this case, using the mouse isn't feasible for
multiple lines as only entire lines can be selected

according to the very helpful 'Sho_' (hein at kde.org) on IRC, the protocol was
added for xterm in around 2006

control codes here:
http://invisible-island.net/xterm/ctlseqs/ctlseqs.html 
follow any relevant conventions on:
http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt


Reproducible: Always

Steps to Reproduce:
1. with vim -i | grep \+xterm-clipboard confirming support in vim
2. make a visual selection in vim
3. type  "*p    (3 characters!), and assuming vim's * register points to
X-primary selection, go and middle-click in another app's text box/widget etc. 
Actual Results:  
no vim selection pasted

Expected Results:  
vim selection pasted

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the konsole-devel mailing list