Wednesday, April 18, 2012

Re: echoing the contents of a registry to a /dev device

On 2012-04-18, Chris Sutcliffe wrote:
> Thank you everyone for the help!
>
> On 18 April 2012 18:25, John Beckett wrote:
> > The following writes @@ (that is, @") to /dev/clipboard:
> >   :call writefile(split(@@, "\n"), '/dev/clipboard')
>
> Works like a charm.
>
> > However, what the OP should do is build Vim with clipboard
> > support (using :version should show "+clipboard").
>
> Unfortunately the "+clipboard" for Cygwin uses the X-Windows
> clipboard, not the native Windows clipboard. In this case
> /dev/clipboard is a way to access the native Windows clipboard within
> Cygwin. It has the benefit of understanding utf-8 which
> putclip/getclip currently do not.

Does anyone know what ever happened to the vim_cygwin_clip_patch?
It let Vim for Cygwin use the Windows clipboard. It was originally
posted to the vim-dev list by Frodak Baksik in February, 2007.
Resurrecting or redeveloping that is probably the right way to fix
this issue.

Regards,
Gary

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: