This is the mail archive of the gdb@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]

Re: Using C-s to forward search command history





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



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