[Bug 48880] Re: Control-s should do forward-search-history

Ganton 48880 at bugs.launchpad.net
Thu Sep 20 15:34:09 UTC 2012


*** This bug is a duplicate of bug 80635 ***
    https://bugs.launchpad.net/bugs/80635

Only people that don't know that you can use a different key from Ctrl+S
to freeze the flow-control... think that this bug is a duplicate of "bug
#80635. Please disable flow-control by default".

This bug is *not* a duplicate of "bug #80635. Please disable flow-
control by default".   This bug, #48880, is about Ctrl+S doing forward-
search-history. For example, executing  "stty stop ^X" you can use
Ctrl+S to forward-search-history and *also* you have flow-control (using
Ctrl+X to freeze the flow-control). That's because those bugs are
different.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/48880

Title:
  Control-s should do forward-search-history

Status in “bash” package in Ubuntu:
  Confirmed
Status in “gnome-terminal” package in Ubuntu:
  Confirmed

Bug description:
  (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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/48880/+subscriptions




More information about the foundations-bugs mailing list