Comment 0 for bug 48880

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

(Tested only in Breezy. This may work in Dapper.)

In Bash C-r invokes reverse-search-history. Also, pressing C-s is suppossed to invoke forward-search-history. However, it seems there is some strange conflict or bug in bash (or readline) or Ubuntu's setup. There is a workaround [*]:

$ stty -a | fgrep 'stop = '
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
$ stty stop undef
$ stty -a | fgrep 'stop = '
eol2 = <undef>; start = ^Q; stop = <undef>; susp = ^Z; rprnt = ^R; werase = ^W;
Once we've made this change, Control-S then works for using forward-search-history

http://lists.balug.org/pipermail/balug-talk-balug.org/2005-October/003545.html