Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Issue with screen, Ctrl-s, and fish #814
I use Ctrl-s as my GNU screen escape key, rather than the default Ctrl-a. This doesn't seem to work when I use fish (2.0 or master) as my shell.
Nothing at all happens when I press Ctrl-s, and whatever I type next just appears in the terminal. For example the screen command to create a new window is "Ctrl-s c", but this just prints the "c" into the terminal.
Under bash I did have to turn off terminal flow control with "stty -ixon" to use Ctrl-s, but this setting doesn't seem to change anything under fish.
I experience this problem. Specifically, I can't turn off flow control like I can with bash using
I assumed this was instability before, until I discovered that CTRL+Q could bring it back. However, I would much rather just turn flow control off.
I think it should be turned off by default; because this is an ancient, depreciated 'feature' that is not really used today.Who would use fish over a VT100? Especially as it's not compatible anyway. I think it's more likely to cause confusion and a bad impression of fish if left on.
Whilst other terminals leave it on for compatibility, fish places itself as a modern shell.
If anyone needs to use it, they'll know what it is and how to configure it.
OK, so the real problem here is that we save the terminal mode when we start a new job, then restore it when it completes. This protects our terminal against accidentally
added a commit
Sep 23, 2013
Awesome :-) no problem. Thanks for fixing it.