This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [readline-mingw] backspace key and TUI size
On Wed, Feb 08, 2006 at 05:03:33PM +0100, Denis PILAT wrote:
> Our host is i686-pc-mingw32, gdb is compiled under cygwin with
> "-mno-cygwin" flag to avoid cygwin dependencies.
> We also use pdcurses library since ncurse is not available on windows.
> I think that's why you don't see the problem. With this patch, I'm not
> using the tputs() function anymore on Windows, as it was not used for MSDOS.
Ah - we (CodeSourcery) don't use a curses library at all; just the
standard Windows and MinGW DLLs. See win32-termcap.c. Are those
functions not being used for you?
I just don't think the patch could be right. If you're using the same
termcap layer that my builds are using, it should have no effect; but
if you're using a termcap library that gives you a real backspace
capability string, and outputing that does the wrong thing, then either
your pdcurses library or your termcap entry for the Windows console
sounds pretty broken to me.
--
Daniel Jacobowitz
CodeSourcery