Wednesday, April 18, 2012

echoing the contents of a registry to a /dev device

Hi All,

I'm trying to figure out a way to dump the contents of the '@@'
registry (i.e. the registry populated by the yank command) to the
/dev/clipboard device in Cygwin. Basically I'm trying:

silent exe "!echo \"" . <somehow access @@ > . "\" > /dev/clipboard"

But I can't figure out how to access @@. Simply trying:

silent exe "!echo \"" . @@ . "\" > /dev/clipboard"

Didn't work.

Any help would be greatly apprecaited, thank you!

Chris

--
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d

--
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: