Sunday, August 3, 2014

ssh and star register?

vim version 7.4.383

I use the same vimrc and gvimrc on Linux, Mac, and Win,
with conditionals to test for the differences.
It works GREAT with terminal vim and gvim.

The 'problem' is ssh into a Mac, and a test for the star ("*) register.
In both local and remote terminal vim:
has("clipboard") returns 1
has("xterm_clipboard") returns 0
has("gui_running") returns 0

same machine:
local terminal "* works
remote terminal "* fails

How can I test for the ability to use the star ("*) register when ssh?

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: