public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Jon Ringle <jon.ringle@comdial.com>
To: gdb@sources.redhat.com
Subject: Re: intelligent history and memory for gdb
Date: Wed, 20 Jul 2005 21:57:00 -0000	[thread overview]
Message-ID: <200507201757.08514.jon.ringle@comdial.com> (raw)
In-Reply-To: <20050720212440.GA20444@mdssdev05.comp.pge.com>

On Wednesday 20 July 2005 05:24 pm, Ed Peschko wrote:
> > On Monday 18 July 2005 02:29 pm, Ed Peschko wrote:
> > > in my .tcshrc, and was wondering if gdb has an equivalent. This allows
> > > me to type:
> > >
> > > 	mak
> > >
> > > then up arrow, to see all the list of commands that I've typed in my
> > > history that start with 'mak', instead of just forgetting that I've
> > > typed 'mak' and going back to the last typed command (like gdb does by
> > > default).
> >
> > ctrl-r works for me from the (gdb) prompt to do a reverse-i-search.
>
> Just curious, but how do you map this to up arrow? What's the equivalent
> for forward-i-search?

I believe that this functionality is coming from readline. The bash man page 
has a good description of what's available. I have no idea how you remap the 
keys though. Ctrl-S will go in the forward direction.

Jon

  reply	other threads:[~2005-07-20 21:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1121795467.3476.ezmlm@sources.redhat.com>
2005-07-20 21:24 ` Ed Peschko
2005-07-20 21:57   ` Jon Ringle [this message]
2005-07-18 18:30 Ed Peschko
2005-07-18 18:48 ` Jon Ringle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200507201757.08514.jon.ringle@comdial.com \
    --to=jon.ringle@comdial.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).