---
** [tickets:#56] tmux hangs on load-buffer**
**Status:** open
**Labels:** tmux 1.8
**Created:** Sun Aug 18, 2013 12:08 PM UTC by Peter Kasza
**Last Updated:** Sun Aug 18, 2013 12:08 PM UTC
**Owner:** nobody
Trying to load a buffer from a regular file like:
tmux load-buffer - < /path/to/file
hangs forever, because the epoll method cannot be used on regular files. Trying
to add an event listener on fd 0 fails with EPERM. The problem is that some
programs (e.g. vim) execute system commands with input, in this way. To fix
this issue please disable epoll in *osdep-linux.c* by uncommenting line 95:
setenv("EVENT_NOEPOLL", "1", 1);
[StackOverflow topic: EPOLL on regular
files](http://stackoverflow.com/questions/8057892/epoll-on-regular-files)
[vim_dev list regarding the same
issue](https://groups.google.com/forum/#!topic/vim_dev/5all7ETGZy4)
Best regards,
Peter
---
Sent from sourceforge.net because tmux-users@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/tmux/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/tmux/admin/tickets/options. Or, if this is a mailing
list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users