From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20188 invoked by alias); 14 May 2014 18:16:07 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 20176 invoked by uid 89); 14 May 2014 18:16:05 -0000 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 Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 14 May 2014 18:16:04 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wkdic-0002Y0-4s for cygwin@cygwin.com; Wed, 14 May 2014 20:15:54 +0200 Received: from c-69-140-37-22.hsd1.md.comcast.net ([69.140.37.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 May 2014 20:15:54 +0200 Received: from schulman.andrew by c-69-140-37-22.hsd1.md.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 May 2014 20:15:54 +0200 To: cygwin@cygwin.com From: Andrew Schulman Subject: Re: screen on 64-bit mangles mintty/buffer Date: Wed, 14 May 2014 21:15:00 -0000 Message-ID: <4jc7n9hsfrkh57dc5hlgb3tlrrasgo2v3m@4ax.com> References: <5370E144.4010905@shaddybaddah.name> <90t1n9l4g51dgrq060rc6ua48eog4178v8@4ax.com> <5373AF2E.5090402@shaddybaddah.name> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive: encrypt X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00319.txt.bz2 > 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