When editing code inside a GNU screen session (which I do a lot) using emacs, I sometimes get into a state where everything still works (e.g. editing and scrolling works normally), except for Ctrl-S
which is absolutely catastrophic in emacs. Ctrl-S seems to be silently ignored. As if I never pressed it. Other Ctrl combinations seem to work fine (e.g. Ctrl-X).
I tried this to recover:
- Reset terminal from within the shell.
- Reset terminal in GNU screen.
- Restart emacs.
None of this helped.
What happened?
How can I bring Ctrl-S back to life?