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 Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sun, 13 Jan 2002 23:28:59 -0500 (CDT) Message-Id: <20020113.232859.68473540.hiroo.hayashi@computer.org> To: cwilson AT ece DOT gatech DOT edu Cc: cygwin AT cygwin DOT com Subject: Re: progamming with Cygwin GNU Readline Library From: Hiroo Hayashi In-Reply-To: <3C41AF91.4060307@ece.gatech.edu> References: <3C411C95 DOT 80802 AT ece DOT gatech DOT edu> <20020113 DOT 105310 DOT 110048496 DOT hiroo DOT hayashi AT computer DOT org> <3C41AF91 DOT 4060307 AT ece DOT gatech DOT edu> X-Mailer: Mew version 2.2rc1 on Emacs 20.7 / Mule 4.1 (AOI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. Hiroo Hayashi -- 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/