This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: screen on 64-bit mangles mintty/buffer
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 14 May 2014 18:31:51 -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> <4jc7n9hsfrkh57dc5hlgb3tlrrasgo2v3m at 4ax dot com>
- Reply-to: cygwin at cygwin dot com
On Wed, May 14, 2014 at 02:15:38PM -0400, Andrew Schulman wrote:
><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.
Andrew suggested that Shaddy should get a gold star for his excellent work in
tracking this down. Andrew, please make it so?
cgf
--
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