This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Backspace problem on GDB
- From: Alm P <p_almitra at yahoo dot com>
- To: gdb at sourceware dot org
- Date: Wed, 28 Oct 2009 17:28:28 -0700 (PDT)
- Subject: Re: Backspace problem on GDB
- References: <f988e6d80803191343n214d3bebj11d03bd5f467d858@mail.gmail.com> <47E17FA3.72F904E6@dessent.net> <f988e6d80803191408y39e67124n29270ee0149c6c81@mail.gmail.com> <47E18C73.1A27F870@dessent.net>
This was good information and it helped me a lot. Thanks.
One note: You should put "^?" (quote-carat-questionmark-quote) instead of
"C-?" which might be a typo in Brian's email. The latter kept deleting
capital C.
-AP
Brian Dessent wrote:
>
> Josà TomÃs Eterovic wrote:
>
>> 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
>
> What does "echo $TERM" say and what terminal are you using? What gets
> sent when you press backspace? You can find out the latter with most
> shells by first pressing control-V then the key in question. It should
> be either ^H or ^? if it's anything like most standard terminals. You
> can fool around with putting something like
>
> "C-H" backward-delete-char
>
> or
>
> "C-?" backward-delete-char
>
> in your $HOME/.inputrc, or as appropriate for whatever sequence your
> terminal sends for backspace. There should be a readline man page on
> the system too that you can consult.
>
> Brian
>
>
--
View this message in context: http://www.nabble.com/Backspace-problem-on-GDB-tp16164522p26104413.html
Sent from the Sourceware - gdb list mailing list archive at Nabble.com.