From: "José Tomás Eterovic" <roleroz@gmail.com>
To: gdb@sourceware.org
Subject: Re: Backspace problem on GDB
Date: Wed, 19 Mar 2008 21:25:00 -0000 [thread overview]
Message-ID: <f988e6d80803191408y39e67124n29270ee0149c6c81@mail.gmail.com> (raw)
In-Reply-To: <47E17FA3.72F904E6@dessent.net>
I'm using csh, so didn't realize I had the same problem on bash (and I
do have it), $HOME/.inputrc doesn't exist, but /etc/inputrc has
# do not bell on tab-completion
#set bell-style none
set meta-flag on
set input-meta on
set convert-meta off
set output-meta on
# Completed names which are symbolic links to
# directories have a slash appended.
set mark-symlinked-directories on
$if mode=emacs
# for linux console and RH/Debian xterm
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[5~": beginning-of-history
"\e[6~": end-of-history
"\e[3~": delete-char
"\e[2~": quoted-insert
"\e[5C": forward-word
"\e[5D": backward-word
"\e[1;5C": forward-word
"\e[1;5D": backward-word
# for rxvt
"\e[8~": end-of-line
# for non RH/Debian xterm, can't hurt for RH/DEbian xterm
"\eOH": beginning-of-line
"\eOF": end-of-line
# for freebsd console
"\e[H": beginning-of-line
"\e[F": end-of-line
$endif
I don't have root access to the machine, so if you could tell me what
can I put on .inputrc to fix that would be great
Best Regards
Jose Eterovic
On Wed, Mar 19, 2008 at 6:03 PM, Brian Dessent <brian@dessent.net> wrote:
> José Tomás Eterovic wrote:
>
> > I'm using gdb 6.3.0.0-1.132.EL4rh, and when I press the backspace key
> > (trying to delete the left character) I'm deleting the complete word
> > to my left, anyone has an idea about what's going on here and how can
> > I fix that?
>
> Do you have something strange in $HOME/.inputrc or /etc/inputrc? gdb
> uses the readline library for interactive input and those are the config
> files it reads at startup. If you do have either or both of them try
> temporarily moving/renaming them away and see if the problem goes away.
> It is a little strange that this wouldn't happen in other apps though,
> because e.g. bash also uses readline.
>
> Brian
>
next prev parent reply other threads:[~2008-03-19 21:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <f988e6d80803191342m6ec36ff8l686b0c59dfeca172@mail.gmail.com>
2008-03-19 20:51 ` José Tomás Eterovic
2008-03-19 21:09 ` Brian Dessent
2008-03-19 21:25 ` José Tomás Eterovic [this message]
2008-03-19 21:58 ` Michael Snyder
2008-03-20 7:45 ` Brian Dessent
2009-10-30 15:55 ` Alm P
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=f988e6d80803191408y39e67124n29270ee0149c6c81@mail.gmail.com \
--to=roleroz@gmail.com \
--cc=gdb@sourceware.org \
/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