delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/31/11:15:06

X-Spam-Check-By: sourceware.org
Message-ID: <43DF8CFA.90008@case.edu>
Date: Tue, 31 Jan 2006 11:14:50 -0500
From: Chet Ramey <chet DOT ramey AT case DOT edu>
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 <chet DOT ramey AT case DOT edu>,
Bob Rossi <bob AT brasko DOT net>
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>
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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019