I was just wishing it could work like how vim worked. If it requires a lot of work and creates other problems, I'm totally ok with the workarounds. Thanks a lot for the hard work you put into tmux. I really appreciate it.
- Cao On Dec 21, 2012, at 9:38 AM, Thomas Adam <tho...@xteddy.org> wrote: > On Fri, Dec 21, 2012 at 09:04:12AM -0500, gca...@gmail.com wrote: >> I was looking for solutions to pain points I felt. Adrian and Thomas have >> replied with suggestions. If only copy/paste could seamless work with os >> clipboard, like "set clipboard=unnamed" in vim, it'll be perfect! > > Even on Linux alone, there's no set way of doing this. XTerm allows for > selections made in its own window to enter the PRIMARY selection buffer, > which in this case tmux makes use of via escape sequences. The problem here > is that only XTerm supports those; I've yet to see *any* other terminal > emulator which does this (such as rxvt-unicode) which is odd, because some > of them even profess to emulating XTerm. > > So in that situation, many people end up using some form of xclip/xsel > option to do this -- but doing that won't necessarily work when trying to > put the contents in to GTK/QT applications (I use a program called > 'parcellite' to synchronise both selections/clipboards between > applications). That's just on Linux alone (and to some extent BSD). > There's no guarantee that any of those mechanisms will be available when > tmux loads. > > Look towards Mac for a moment, and that problem is even more annoying. I > think someone has written some wrapper program to allow for pb{copy,paste} > -- but that's a hack. > > Unlike Vim which adds a shit load of support code, trying to do this from > within tmux would bloat the osdep-* code significantly. > > So it's not really an option to support this "seamlessly" -- and AFAIK, > regardlee of how many people this annoys, they've all found some solution to > this which works, even if it's resorting to using the terminal's own > selection mechanism via "shift". > > -- Thomas Adam ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users