Well, it doesn't really freeze tmux, it input from one pane.

We used to abort the sequence when the buffer was full but now we have
INPUT_DISCARD. Could get rid of that but it would need some way to throw
a state change back up. You can do it if you like but if not IMO it is
enough to say "don't do that then".

gnome-terminal is not a good implementation to model behaviour from, how
xterm handles it is usually the right way.

Cheers


On Tue, Jan 25, 2011 at 02:11:00PM -0800, Kevin Goodsell wrote:
> I've noticed that tmux can be "frozen" by doing something like this:
> 
>   $ echo -e '\e_'
> 
> This probably shouldn't be much of a surprise given the definition of
> the state machine used in input.c, and maybe it's considered OK. A
> quick test show that xterm also has this problem, but VTE
> (gnome-terminal) doesn't.
> 
> I wanted to call attention to this in case it is cause for concern.
> 
> In case it's not clear what is happening when it is "frozen", sending
> a prefix for certain states will cause the terminal to remain in that
> state until a termination sequence (usually just anything beginning
> with ESC) is encountered in the input. The lack of a shell prompt
> makes it impossible (or not?) to send anything to the input stream to
> cause a return to the default state.
> 
> -Kevin
> 
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
> February 28th, so secure your free ArcSight Logger TODAY! 
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to