This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug cli/16862] C-s is not working


https://sourceware.org/bugzilla/show_bug.cgi?id=16862

Sergio Durigan Junior <sergiodj at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sergiodj at redhat dot com
         Resolution|---                         |WORKSFORME

--- Comment #1 from Sergio Durigan Junior <sergiodj at redhat dot com> ---
C-s is shadowed by the terminal's flow control.  Use "stty" to change this
behavior if you want.  You can use "stty -a" to see all keybindings that are
reserved by the terminal.

In order to "fix" this bug, you can either:

(a) Disable the flow control, by using "stty -ixon"

(b) Rebind the STOP flow control, by using "stty stop ^K", where "^K" means C-k
(you can use whatever key you want).

After that, you will be able to use forward-search-history as usual.  As a side
note, this affects readline programs (like bash), and not GDB alone.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]