This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Using C-s to forward search command history
- From: Michael Veksler <VEKSLER at il dot ibm dot com>
- To: Greg Law <greg at greglaw dot net>
- Cc: gdb at sources dot redhat dot com, Julian Smith <jules at op59 dot net>
- Date: Sat, 20 Aug 2005 15:19:33 +0300
- Subject: 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