X-Spam-Check-By: sourceware.org Message-ID: <43DF8CFA.90008@case.edu> Date: Tue, 31 Jan 2006 11:14:50 -0500 From: Chet Ramey Reply-To: chet DOT ramey AT case DOT edu User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: cygwin AT cygwin DOT com, Chet Ramey , Bob Rossi 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> <43DE1EA1 DOT 9090506 AT byu DOT net> <20060130155013 DOT GA13751 AT brasko DOT net> <20060130175000 DOT GA17071 AT brasko DOT net> In-Reply-To: <20060130175000.GA17071@brasko.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Bob Rossi wrote: > So, when I give readline a PTY, if the size of the LINES and COLUMNS are > different then that of stdout, then ncurses get's confused. > > Chet, do you consider this desired functionality? I don't think readline > should modify the LINES and COLUMNS environment variables if the PTY > it's using is not stdout. What do you think? I'd have to think about it some more, but my first impression is that the calling application should know the screen size readline is dealing with, and the LINES and COLUMNS environment variables are an appropriate mechanism. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere'' -- chet ) Live Strong. Chet Ramey, ITS, CWRU chet AT case DOT edu http://tiswww.tis.case.edu/~chet/ -- 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/