Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3C426247.3010805@ece.gatech.edu>
Date: Sun, 13 Jan 2002 23:44:55 -0500
From: Charles Wilson <cwilson@ece.gatech.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Hiroo Hayashi <hiroo.hayashi@computer.org>
CC: cygwin@cygwin.com
Subject: Re: progamming with Cygwin GNU Readline Library
References: <3C411C95.80802@ece.gatech.edu>	<20020113.105310.110048496.hiroo.hayashi@computer.org>	<3C41AF91.4060307@ece.gatech.edu> <20020113.232859.68473540.hiroo.hayashi@computer.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hiroo Hayashi wrote:

> Charles, 
> 
> Thank you for your prompt reply.  I've found my bug by your hint.
> 
> Charles> Yes, that is correct. I am surprised that it isn't working
> Charles> for you.  I got the correct results -- but I was running in
> Charles> an rxvt window.  Are you running in a command.com window or
> Charles> something?
> 
> Yes, I'm running in a command.com window.  I installed rxvt and try on
> it.  Now I get the correct results.
> 
> I investigate a source of the GNU Readline, terminal.c, and found that
> the screen width is decrimented by one on a terminal which does not
> support auto-wrap function.  TERM=cygwin is the case.
> 
> The test script in my perl module had a bug. I'm sorry that I made you
> spend your time for my bug.
> 
> Charles> (BTW, rl_set_screen_size doesn't seem to actually CHANGE the
> Charles> physical size of my rxvt window -- should it?  Or does it
> Charles> merely restrict the area of the visible window that readline
> Charles> will use?)
> 
> I understand as you do.
> 
> Thank you.


No problems.  I am glad you were able to solve your problem -- and I 
have been meaning to update readline to version 4.2a for a while now; 
thanks for the push.  Chet (upstream maintainer) announced its 
availability almost two months ago...sigh.

--Chuck




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

