:: Re: [DNG] Linux's sucky cut and pas…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Olaf Meeuwissen
Päiväys:  
Vastaanottaja: Ludovic Bellière
Kopio: dng
Aihe: Re: [DNG] Linux's sucky cut and paste: was: problematic mouse driver?
Hi Ludovic,

Ludovic Bellière writes:

> [...]
>
> vim, just like emacs, is an old software using old paradigms. They use
> their own buffers to copy and paste content, unrelated to the X window
> system. They can be made to store the text to an external buffer though.


I've found that highlighting in Emacs and using C-w to remove (and C-_
to restore) will make the "copied" text pastable with Ctrl-V in chromium
and firefox, and probably other GUI applications, and with Shift-Ctrl-V
on guake terminals.

Conversely, using Shift-Ctrl-C on guake and Ctrl-C with my browsers will
let me C-y that into Emacs.

# BTW, marking with C-@ in Emacs and moving the cursor can also be used
# to "highlight".

> xterm doesn't have CTRL-C because that shortcut can potentially be used
> by the terminal itself. (i.e. will kill the running process.)


Understandable and I guess that's why guake uses Shift+Ctrl-C.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join