I spend a lot of time on Mac OS X as a desktop system, and on the Mac there are two nice little utilities for the command line,
pbpaste which can accept
stdin and write to
stdout. Is there a similar utility or non-GUI pasteboard in linux? How does that work?
I read over this blog post http://blog.roseman.org.uk/tag/iterm2.html in which a guy who works for Google says that he can use
vim and have things he
vim copied to the system pasteboard, which syncs with his local clipboard.
XQuartz, changed preferences and checked the boxes to sync the pasteboards, and connected to ssh remotely with X forwarding (
ssh -X) but when I yank things in
vim to the system pasteboard (
"+yy) on a remote system, my local clipboard does not change.
What am I doing wrong? Do I need to be using
tmux to have the pasteboards sync?
I'm going into this a little blind having not used the pasteboard in command-line linux before. Can someone help me understand a little more on this subject?