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: Backspace problem on GDB


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.


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