Sounds like it doesn't work for noninteractive shells, probably need to
put the stty somewhere that your shell always reads even if
noninteractive.

Surely vim should be turning off flow control itself though?



On Tue, May 14, 2013 at 04:28:01PM +0200, Marco wrote:
> Hi,
> 
> I already asked this question on stackexchange??, but I got no
> response. Here's my problem:
> 
> In my shell I have flow control disabled using stty -ixon. This
> works perfectly in the shell and when I launch tmux and start
> programs within tmux.
>   However, when starting a new session from the command line and
> directly launching a command, the flow control setting is not
> respected and ctrl-s freezes the terminal.
> 
> This works:
> 
>   tmux new-session -s foo
>   vim
> 
> This does not respect the stty flow control setting:
> 
>   tmux new-session -s foo vim
> 
> How can I disable flow control even in the latter case?
> 
> Regards
> Marco
> 
> ?? http://unix.stackexchange.com/q/75711/12779
> 
> 
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to