delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/08/23:32:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 08 Jan 2002 23:32:23 -0500 (CDT)
Message-Id: <20020108.233223.132848577.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 <hiroo DOT hayashi AT computer DOT org>
In-Reply-To: <3C3B2370.3010701@ece.gatech.edu>
References: <3C38BE6C DOT 1080300 AT ece DOT gatech DOT edu>
<20020108 DOT 010257 DOT 68474633 DOT hiroo DOT hayashi AT computer DOT org>
<3C3B2370 DOT 3010701 AT ece DOT gatech DOT edu>
X-Mailer: Mew version 2.2rc1 on Emacs 20.7 / Mule 4.1 (AOI)
Mime-Version: 1.0

Charles,

Charles> Thanks for the test case. I'll look into it -- but I suspect
Charles> it has already been fixed in the official GNU sources (4.2a).
Charles> The next cygwin release will be based on that.  When you
Charles> tested bug.c on linux, what version of readline were you
Charles> using?

I test both 4.2 and 4.2a on Linux and had same result.  For sanity
checking I add one line into bug.c.  The first line of output are
"4.2" and "4.2a".

------------------------------------------------------------------------
#include <stdio.h>
#include <readline/readline.h>
main(){
	int	row, col;

	rl_initialize();

	puts(rl_library_version);

	rl_get_screen_size(&row, &col);
	printf("row=%d, col=%d\n", row, col);

	rl_set_screen_size(10, 20);
	rl_get_screen_size(&row, &col);
	printf("row=%d, col=%d\n", row, col);
}
------------------------------------------------------------------------

I don't have have the source code of Cygwin Readline Library.  I took
a look on the official GNU sources.  rl_set_screen_size and
rl_get_screen_size call some Termcap library function.  Termcap
library may have problem...

I'm using termcap-20010825-1.

If you need any more information, feel free to ask me.

Best,

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/

- Raw text -


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