[readline-mingw] backspace key and TUI size

Andrew STUBBS andrew.stubbs@st.com
Wed Feb 8 17:30:00 GMT 2006


Eli Zaretskii wrote:
>> Date: Wed, 8 Feb 2006 11:51:14 -0500
>> From: Daniel Jacobowitz <drow@false.org>
>> Cc: Denis PILAT <denis.pilat@st.com>, gdb-patches@sources.redhat.com, 	bash-maintainers@gnu.org
>>
>> I'd like to understand what goes wrong for you and why outputing
>> whatever pdcurses is giving you for backspace doesn't work.
> 
> Seconded.  Please explain why Backspace doesn't work (if you don't
> know, please debug this on your system and see what you come up with).
> Thanks.

It does work in MSYS terminals. In DOS/Windows or Cygwin terminals it 
moves the cursor right, instead of left, and leaves the deleted 
character on the screen. I assume that this curses just doesn't support 
those terminals in this respect.

I don't really understand why. I hope it will go away in future 
versions. I don't suppose anybody knows of a better/alternative curses 
implementation that doesn't require cygwin?

PDcurses does work for the TUI, which is nice. Except in Cygwin xterm, 
but you can't have everything.

I thought this patch was going to remain internal, at least until the 
MinGW.org GDB patches have been properly contributed.

Andrew



More information about the Gdb-patches mailing list