> Cc: [email protected]
> From: Hans-Bernhard Bröker <[email protected]>
> Date: Sat, 29 Apr 2017 23:44:45 +0200
> 
> > I guess this happens because the ncurses port you have installed has
> > termcap.h in the top-level include directory, not in its ncurses
> > subdirectory.  
> 
> It has both a <termcap.h> and <ncurses/termcap.h> (from different 
> packages).  Both disagree with pcterm.c about what the prototypes of 
> these functions should be (const-ness, mostly, but also the return type 
> of tput()).
> 
> Changing line 39 of terminal.c to this:
> 
> #elif defined (HAVE_TERMCAP_H) && !defined (__MINGW32__)
> 
> does indeed allow ginfo.exe to build.

I've just committed such a change.

> It does not really work, though.  It behaves as if its stdout had been 
> redirected, because the isatty() check fails.  Looks like that "MinGW 
> applications inside a MSYS2 Mintty fail detecting tty" issue.

If it works in the native Windows cmd window, it performs as expected.

Reply via email to