Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: pdcurses readline-mingw backspace key in windows console
       [not found] <4DD3AF7ECBBC43409BA36508938D01852CF053@CVAEX1.VERTICAL.COM>
@ 2008-07-19 15:48 ` Chet Ramey
  2008-07-19 20:09   ` Jon Ringle
  0 siblings, 1 reply; 4+ messages in thread
From: Chet Ramey @ 2008-07-19 15:48 UTC (permalink / raw)
  To: Jon Ringle
  Cc: andrew.stubbs, drow, eliz, denis.pilat, gdb-patches,
	bash-maintainers, chet.ramey

Jon Ringle wrote:
> Folks,
> 
>  
> 
> I ran into the same problem regarding the backspace key with 
> pdcurses/readline/mingw in a windows console  that was discussed a 
> couple years ago here 
> http://www.cygwin.com/ml/gdb-patches/2006-02/msg00180.html.
> 
>  
> 
> This problem still exists today with pdcurses-3.3 and I believe that I 
> have found the problem and have submitted a patch to the pdcurses 
> project here:
> 
>  
> 
> http://sourceforge.net/tracker/index.php?func=detail&aid=2021778&group_id=30480&atid=399168 
> <http://sourceforge.net/tracker/index.php?func=detail&aid=2021778&group_id=30480&atid=399168>

And if I read the pdcurses maintainer's reply correctly, the response is
"if you want terminfo, look somewhere else."  Readline is not going to
become a curses-based application, so it appears that using pdcurses
with readline is a dead end.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: pdcurses readline-mingw backspace key in windows console
  2008-07-19 15:48 ` pdcurses readline-mingw backspace key in windows console Chet Ramey
@ 2008-07-19 20:09   ` Jon Ringle
  2008-07-19 21:11     ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Ringle @ 2008-07-19 20:09 UTC (permalink / raw)
  To: chet.ramey
  Cc: andrew.stubbs, drow, eliz, denis.pilat, gdb-patches, bash-maintainers

Chet Ramey wrote:
> And if I read the pdcurses maintainer's reply correctly, the response
is
> "if you want terminfo, look somewhere else."  Readline is not going to
> become a curses-based application, so it appears that using pdcurses
> with readline is a dead end.

What would you recommend then for a mingw readline-based application
that is run from a Windows console?

I suppose I could just provide my own terminfo stubs and link with that
to satisfy readline... The only reason that I was trying to link in a
curses library was to satisfy readline terminfo dependencies.

Jon


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pdcurses readline-mingw backspace key in windows console
  2008-07-19 20:09   ` Jon Ringle
@ 2008-07-19 21:11     ` Daniel Jacobowitz
  2008-07-28 12:48       ` Andrew STUBBS
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2008-07-19 21:11 UTC (permalink / raw)
  To: Jon Ringle
  Cc: chet.ramey, andrew.stubbs, eliz, denis.pilat, gdb-patches,
	bash-maintainers

On Sat, Jul 19, 2008 at 04:08:46PM -0400, Jon Ringle wrote:
> Chet Ramey wrote:
> > And if I read the pdcurses maintainer's reply correctly, the response
> is
> > "if you want terminfo, look somewhere else."  Readline is not going to
> > become a curses-based application, so it appears that using pdcurses
> > with readline is a dead end.
> 
> What would you recommend then for a mingw readline-based application
> that is run from a Windows console?
> 
> I suppose I could just provide my own terminfo stubs and link with that
> to satisfy readline... The only reason that I was trying to link in a
> curses library was to satisfy readline terminfo dependencies.

GDB and its included readline should already build on mingw32 without
a curses library.  Make sure you're using a current version.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pdcurses readline-mingw backspace key in windows console
  2008-07-19 21:11     ` Daniel Jacobowitz
@ 2008-07-28 12:48       ` Andrew STUBBS
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew STUBBS @ 2008-07-28 12:48 UTC (permalink / raw)
  To: Jon Ringle, chet.ramey, andrew.stubbs, eliz, denis.pilat,
	gdb-patches, bash-maintainers

Daniel Jacobowitz wrote:
> On Sat, Jul 19, 2008 at 04:08:46PM -0400, Jon Ringle wrote:
>> Chet Ramey wrote:
>>> And if I read the pdcurses maintainer's reply correctly, the response
>> is
>>> "if you want terminfo, look somewhere else."  Readline is not going to
>>> become a curses-based application, so it appears that using pdcurses
>>> with readline is a dead end.
>> What would you recommend then for a mingw readline-based application
>> that is run from a Windows console?

>> I suppose I could just provide my own terminfo stubs and link with that
>> to satisfy readline... The only reason that I was trying to link in a
>> curses library was to satisfy readline terminfo dependencies.

> GDB and its included readline should already build on mingw32 without
> a curses library.  Make sure you're using a current version.

GDB does build without curses, but the GDB TUI won't work without.

Sorry for the delayed response, it's taken a while to check.

Andrew


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-28 12:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4DD3AF7ECBBC43409BA36508938D01852CF053@CVAEX1.VERTICAL.COM>
2008-07-19 15:48 ` pdcurses readline-mingw backspace key in windows console Chet Ramey
2008-07-19 20:09   ` Jon Ringle
2008-07-19 21:11     ` Daniel Jacobowitz
2008-07-28 12:48       ` Andrew STUBBS

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox