Highlighting text with keyboard for copying

Bug #313031 reported by Raybuntu
6
Affects Status Importance Assigned to Milestone
Terminator
Confirmed
Wishlist
Unassigned
Nominated for Trunk by Kai Grossjohann

Bug Description

Terminator needs a Keyshortcut for highlighting text with the keyboard. I thought about something like the "caret browsing" feature of mozilla firefox. When you press F7 you can move in the terminal window with the arrow keys and highlighting text with Shift+<arrow key>.

Example:

-----------------------------------------------------------------------------
ray@raybuntu-desktop:~$ ls
air Bilder Desktop Downloads gal_080422_kuchen.flv lircmd.conf Videos
anna Daten Dokumente Entwiklung irexec.sh~ Musik webcm~
ray@raybuntu-desktop:~$ cd
ray@raybuntu-desktop:~$ cd Downloads
ray@raybuntu-desktop:~/Downloads$ cd /etc
ray@raybuntu-desktop:/etc$ cd
ray@raybuntu-desktop:~$
-----------------------------------------------------------------------------

In this Situation I can only copy the text:"irexec.sh~" in the ls output, by highlighting it with the mouse!

Chris Jones (cmsj)
Changed in terminator:
importance: Undecided → Wishlist
status: New → Confirmed
Chris Jones (cmsj)
summary: - Whishlist: Highlighting text with keyboard for copying
+ Wishlist: Highlighting text with keyboard for copying
Revision history for this message
Raybuntu (raybuntu) wrote : Re: Wishlist: Highlighting text with keyboard for copying

Hi,

at least for me it's no longer a wish. I've made myself some zsh widgets that emulate the vi-visual mode in the cmd line. If anyone is interested http://bazaar.launchpad.net/~raybuntu/+junk/ZSH_stuff/annotate/head:/zle_vi_visual.zsh
(very quick and dirty ;D). So I think this feature should be implemented by the shell not the terminal.

regards
Ray

Revision history for this message
Kai Grossjohann (kai-emptydomain) wrote : Re: [Bug 313031] Re: Wishlist: Highlighting text with keyboard for copying

To be honest, for me, that doesn't cut it. In the given example, it doesn't capture the output of ls. IIUC.

Kai

On 5 Jul 2010, at 14:07, Raybuntu wrote:

> Hi,
>
> at least for me it's no longer a wish. I've made myself some zsh widgets that emulate the vi-visual mode in the cmd line. If anyone is interested http://bazaar.launchpad.net/~raybuntu/+junk/ZSH_stuff/annotate/head:/zle_vi_visual.zsh
> (very quick and dirty ;D). So I think this feature should be implemented by the shell not the terminal.
>
>
> regards
> Ray
>
> --
> Wishlist: Highlighting text with keyboard for copying
> https://bugs.launchpad.net/bugs/313031
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Terminator: Confirmed
>
> Bug description:
> Terminator needs a Keyshortcut for highlighting text with the keyboard. I thought about something like the "caret browsing" feature of mozilla firefox. When you press F7 you can move in the terminal window with the arrow keys and highlighting text with Shift+<arrow key>.
>
> Example:
>
> -----------------------------------------------------------------------------
> ray@raybuntu-desktop:~$ ls
> air Bilder Desktop Downloads gal_080422_kuchen.flv lircmd.conf Videos
> anna Daten Dokumente Entwiklung irexec.sh~ Musik webcm~
> ray@raybuntu-desktop:~$ cd
> ray@raybuntu-desktop:~$ cd Downloads
> ray@raybuntu-desktop:~/Downloads$ cd /etc
> ray@raybuntu-desktop:/etc$ cd
> ray@raybuntu-desktop:~$
> -----------------------------------------------------------------------------
>
> In this Situation I can only copy the text:"irexec.sh~" in the ls output, by highlighting it with the mouse!
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/terminator/+bug/313031/+subscribe

Revision history for this message
Raybuntu (raybuntu) wrote : Re: Wishlist: Highlighting text with keyboard for copying

Yeah you are right this doesn't work with the scrollback buffer. But you can use GNU Screen for this:

http://www.samsarin.com/blog/2007/03/11/gnu-screen-working-with-the-scrollback-buffer/

Ray

tags: removed: wishlist
summary: - Wishlist: Highlighting text with keyboard for copying
+ Highlighting text with keyboard for copying
Revision history for this message
Zohar Jackson (jakobovski) wrote :

I am happy to implement this if someone could just give me a quick walk through of the codebase

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.