|
From: | BERTRAND Joël |
Subject: | Re: Strange terminal with ncurses 6.0 and readline |
Date: | Mon, 20 Jul 2015 17:07:51 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1 |
Thomas Dickey a écrit :
On Wed, Jul 15, 2015 at 07:39:53PM +0200, BERTRAND Joël wrote:Hello, I'm using readline and ncurses on a huge program I write for a long time (http://www.rpl2.net). Yesterday, I have upgraded ncurses from last 5.9 patch to 6.0. I have seen some trouble with readline. ForMore than one question:
You're welcome.
+ what was the date for the "last 5.9 patch"?
Last patch available last thursday on invisible-island.net. I don't remember its date, maybe ncurses-5.9-20150707.
+ what configure options did you use with "6.0"? (still pre-release, to check for regressions)
Same options for both 5.9 and 6.0 : configure --prefix=/usr/local --enable-static
+ "6.0" can be configured to be the "same" as 5.9 using this option: --with-abi-version=5 Did you try building ncurses with that?
Yes, and with --with-abi-version=5.9 --with-rel-version=5.9, readline runs like a charm.
+ what I recall of readline is that it does not use much of ncurses' screen optimization. But I haven't looked at it for quite a while. You _might_ have to recompile it to work with "6.0". Did you do that?
I have.
example, backpspace doesn't work anymore : rayleigh:[~/gopher/rpl2/build-amd64/src] > rpl -is +++RPL/2 (R) version 4.1.22 (Mercredi 15/07/2015, 13:20:38 CEST) +++Copyright (C) 1989 à 2014, 2015 BERTRAND Joël +++Ce logiciel est un logiciel libre sans aucune garantie de fonctionnement. +++Pour plus de détails, utilisez la commande 'warranty'. RPL/2> azerty 1234 1: 1234 RPL/2> All backspaces are printed as regular space even if 'azerty' string is delete. Arrow keys doesn't work anymore as expected. If I link the same program against ncurses 5.9, it runs like a charm. I don't understand interaction between ncurses and readline. My program is statically linked against readline _and_ ncurses.I'll have to investigate - simply have been short of time...
Regards, JKB
[Prev in Thread] | Current Thread | [Next in Thread] |