This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: screen on 64-bit mangles mintty/buffer
- From: Andrew Schulman <schulman dot andrew at epa dot gov>
- To: cygwin at cygwin dot com
- Date: Wed, 14 May 2014 14:15:38 -0400
- Subject: Re: screen on 64-bit mangles mintty/buffer
- Authentication-results: sourceware.org; auth=none
- References: <5370E144 dot 4010905 at shaddybaddah dot name> <90t1n9l4g51dgrq060rc6ua48eog4178v8 at 4ax dot com> <5373AF2E dot 5090402 at shaddybaddah dot name>
<snip>
> The 32-bit defines TERMINFO:
>
> config.h:
>
> /*
> * Define TERMINFO if your machine emulates the termcap routines
> * with the terminfo database.
> * Thus the .screenrc file is parsed for
> * the command 'terminfo' and not 'termcap'.
> */
> #define TERMINFO 1
>
> configure.log:
>
> configure:5025: $? = 0
> configure:5025: ./conftest.exe
> configure:5025: $? = 1
> configure: program exited with status 1
>
> configure:
>
> if ac_fn_c_try_run "$LINENO"; then :
> echo "- you use the termcap database" 1>&6
>
> else
> echo "- you use the terminfo database" 1>&6
> $as_echo "#define TERMINFO 1" >>confdefs.h
>
> fi
>
>
> the 64-bit does not:
>
> /* #undef TERMINFO */
>
> configure:5025: $? = 0
> configure:5025: ./conftest.exe
> configure:5025: $? = 0
>
> I can't understand why the ./conftest.exe differ. Trying to emulate by
> hand, I cannot reproduce it. But it is now very late here, and I can't
> debug anymore.
>
> I'm hoping that I've provided enough of a lead for someone of authority
> to decide where things are right, and where things are wrong.
Yes, I think so!
Thanks a lot, Shaddy. That takes us a long way to a solution. I'll look
at it from there as soon as I can.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple