Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use vagrant for having my development environment on Mac OSX and I use ubuntu within virtual machine for doing the development. I use tmux for multiple session, it works great on Mac OS iterm, but when I do a vagrant ssh to my linux machine. The tmux session there behaves wierdly for the copy mode only. It hangs on the copy mode, where the only thing I can do is kill the window. I am able to do copy/paste on screen in the same scenario, but tmux is where I observe the problem. As I can do copy-paste on tmux+mac, I know the correct keys and commands.

Could there be anything happening with this vagrant-on-mac+ssh+ubuntu+tmux setup which is causing this weird behavior? Any helpful suggestions are appreciated.

share|improve this question

1 Answer 1

Before starting tmux, try setting EVENT_NOKQUEUE=1. That is, do one of:

$ export EVENT_NOKQUEUE=1
$ tmux

or

$ EVENT_NOKQUEUE=1 tmux

or

$ echo 'export EVENT_NOKQUEUE=1' >> ~/.bashrc
$ exec bash
$ tmux
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.