Comment 11 for bug 80635

Revision history for this message
mp3foley (mp3foley) wrote :

Can confirm this is still the case in Lucid Lynx 10.04. Ctrl-s does not search forward, but does work to stop output of a command like "find /". Adding line "stty -ixon -ixoff" to my .bashrc changed the default behavior so bash forward-search-history would work.

I can see how Ctrl-s would be useful when connecting to a remote server, but it was confusing behavior since the bash man page does not mention it. It is my opinion that most uses would not know about or use the flow control behavior, but would possibly use the bash history search, though even that seems unlikely for newer users.

At the minimum I think the bash man page could be edited to add comments at mention of C-s and C-q that they may not work because of terminal flow control and a note about using the stty command. That is where I first looked to confirm that C-s should be doing a forward search just like in Emacs. Only a google search pointed me to the reason it was not working.