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: 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 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 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 #include 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/