[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange terminal with ncurses 6.0 and readline
From: |
Thomas Dickey |
Subject: |
Re: Strange terminal with ncurses 6.0 and readline |
Date: |
Fri, 17 Jul 2015 20:54:30 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
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. For
More than one question:
+ what was the date for the "last 5.9 patch"?
+ what configure options did you use with "6.0"?
(still pre-release, to check for regressions)
+ "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?
+ 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?
> 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...
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature