X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=AFR7ZW7G5HxaaLhcGjjh0AEt7otAqISjg0lCQKCxyp9xYvJtqPBvs JeiC7JZ/KSqPGTA79WFl0Fmkdsh4LsN3WTETvGYBBSX06NOvoW1PtNnegddv/390 8C29GnfmsnTVhbrqXBoEydM5N7L1MTO6mMHhnysfrBJy4/eyMkrVL8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=UzLDWPRAwZ9hyYJgeL561zkzNxE=; b=rTt2+HjiQXAvSk+JHiqFUCY4QoeK RhMju6DpmRYp48VeFUKOrkIwIghP8G4vCnI5uIDwMHKgRcdoL+/xGIDai7xkPFyJ AyUbvBUiAK+JMiIOLtq5Ok3eAEYIzVFYlRcFk/2kYB8aTP6P37OdZUZXsYzRu0av InRiep5cXxNDIJQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Andrew Schulman Subject: Re: screen on 64-bit mangles mintty/buffer Date: Wed, 14 May 2014 14:15:38 -0400 Lines: 52 Message-ID: <4jc7n9hsfrkh57dc5hlgb3tlrrasgo2v3m@4ax.com> References: <5370E144 DOT 4010905 AT shaddybaddah DOT name> <90t1n9l4g51dgrq060rc6ua48eog4178v8 AT 4ax DOT com> <5373AF2E DOT 5090402 AT shaddybaddah DOT name> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive: encrypt X-IsSubscribed: yes > 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