38
9
In a tmux session inside xterm when a programs generates lots of ouput (like a cat very_long_file
the whole session in frozen for a while. Even if I press Ctrl-C nothing is interrupted. Presumably because tmux is frozen and it's not forwarding the Ctrl-C to the program generating the output. Is there any way to prevent this.
1Horizontally splitting tmux panes (i.e. C-b %) is much more sensitive to this issue than full panes or vertically split panes. Also, running C-b d and reattaching will "unfreeze" the program, although only temporarily. There isn't really a solution unless you're willing to dig into tmux configurations. – RussellStewart – 2014-08-05T22:38:02.587
The problem is that the program wrote its output to standard out far faster than your terminal could display it. When you hit Ctrl-C, the process is indeed killed, but your terminal continues to print the buffered output. – chepner – 2012-04-30T21:16:31.363