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





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


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