delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <43DE1EA1.9090506@byu.net> |
Date: | Mon, 30 Jan 2006 07:11:45 -0700 |
From: | Eric Blake <ebb9 AT byu DOT net> |
User-Agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
MIME-Version: | 1.0 |
To: | Bob Rossi <bob AT brasko DOT net> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: readline-5.1 && CGDB |
References: | <20060127220812 DOT GA6931 AT brasko DOT net> <43DAA063 DOT 7070305 AT byu DOT net> <20060129041953 DOT GB30565 AT brasko DOT net> |
In-Reply-To: | <20060129041953.GB30565@brasko.net> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Bob Rossi on 1/28/2006 9:19 PM: > On Linux, something totally different happens. When I initialize > readline, it eventually calls tgetent, which happens to set LINES and > COLS to the correct size of the terminal. On cygwin this doesn't happen. > The call readline makes to tgetent leaves LINES and COLS alone. Then, > in Cygwin when I get to initscr, LINES and COLS is set to 25x80, unless > I set the LINES and COLUMNS environment variables before the call to > initscr. http://www.die.net/doc/linux/man/man3/tgetent.3.html does not document that tgetent() messes with the environment, but if that is the case, you may be onto something. Perhaps it really is something cygwin1.dll needs to patch to be more similar to linux. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD3h6h84KuGfSFAYARAksIAJ9elsYMWPiSZHWpanbnBv6nJHpw5QCgwmEQ floUSXqiaA0uiBNLyKGqa/Q= =vmkr -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |