I have the following two lines in
setopt noflowcontrol ttyctl -f
The first line disables flow control in zsh. I'm unsure what the second does, but I was advised to add it from an introductory article on zsh.
As expected, flow control is disabled in the interactive shell. However, when I open other terminal programs, like
newsbeuter, flow control is back on. That is, pressing Ctrl+s freezes the terminal.
stty stop undef stty start undef stty -ixon stty -ixoff
Oddly enough, if I run the following in a single line, then flow control is disabled.
stty -ixon; vim
However, if I split it into two separate lines, then flow control is back on. The setting doesn't seem to "stick". This workaround doesn't work for
setopt noflowcontrol; vim.
When I remove the line
ttyctl -f, then flow control is disabled in vim and mutt, etc. as expected.
- What does
ttyctl -fdo, and what are the ramifications of disabling it?
- Why does it interfere with flow control?