This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: screen on 64-bit mangles mintty/buffer


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]