Using C-s to forward search command history

Michael Veksler VEKSLER@il.ibm.com
Sat Aug 20 12:18:00 GMT 2005





Greg Law  wrote on 19/08/2005 16:12:43:
> If I've read the info pages correctly, I can use C-s in order to search
> the command history forwards.  However, this sequence also seems to be
> the control sequence to suspend the terminal :-(
>
> Have I misunderstood, or is there a way round this?  (It would be very
> useful for me to be able to search forwards).

This is a terminal feature that interferes with your C-s use,
it is not a readline issue. The following line works for me.
I put it in my .kshrc, .cshrc, .zshrc startup files after
making sure this is an interactive shell:
      stty -ixon




More information about the Gdb mailing list