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: Bob Rossi <bob at brasko dot net>
- Cc: gdb at sources dot redhat dot com, Greg Law <greg at greglaw dot net>, Julian Smith <jules at op59 dot net>
- Date: Sat, 20 Aug 2005 19:06:43 +0300
- Subject: Re: Using C-s to forward search command history
Bob Rossi <bob@brasko.net> wrote on 20/08/2005 16:20:23:
> On Sat, Aug 20, 2005 at 03:19:33PM +0300, Michael Veksler wrote:
> >
> > 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 :-(
[...]
> >
> > 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
>
> That's interesting. Is the (stop/start) ^s/^q feature of the terminal
> even useful these days? Why is it defaulted on?
I see people use the ^s/^q all the time, especially with a long running
application that emits a line of trace about every second.
I like the search feature more, so I disable the suspend sequence.
Michael