From: Wang Mingyu <[email protected]>

After enable multilib in armv8, there are differences in the terminfo files 
between lib32 and lib64 packages.

The differences of kbs between ncurses-terminfo nad lib32-ncurses-terminfo are 
as follows:
--- 
armv7ahf-neon-pokymllib32-linux-gnueabi/lib32-ncurses/6.5/image/usr/share/terminfo/x/xterm+kbs2025-01-14
 03:45:45.669478283 +0000
+++ 
cortexa57-poky-linux/ncurses/6.5/image/usr/share/terminfo/x/xterm+kbs2025-01-14 
01:18:20.497366368 +0000
@@ -1 +1 @@
-%8xterm+kbs|fragment for backspace 
key??????????????????????????????????????????????????????????????????????????????????????????????????????????????
\ No newline at end of file
+%8xterm+kbs|fragment for backspace 
key??????????????????????????????????????????????????????????????????????????????????????????????????????????????
\ No newline at end of file

After consulting with the upstream of ncurses, it is possible to specify kbs by 
setting --with-xterm-kbs=XXX.
Based on the instructions in 
https://github.com/ThomasDickey/ncurses-snapshots/blob/master/configure#L9810,
it is appropriate to add --with-xterm-kbs=del.

Signed-off-by: Lei Maohui <[email protected]>
Signed-off-by: Wang Mingyu <[email protected]>
---
 meta/recipes-core/ncurses/ncurses.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/ncurses/ncurses.inc 
b/meta/recipes-core/ncurses/ncurses.inc
index e96ee075bd..3f93550cf9 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -70,6 +70,7 @@ ncurses_configure() {
                --without-debug \
                --without-ada \
                --without-gpm \
+               --with-xterm-kbs=del \
                --enable-hard-tabs \
                --enable-xmc-glitch \
                --enable-colorfgbg \
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#209783): 
https://lists.openembedded.org/g/openembedded-core/message/209783
Mute This Topic: https://lists.openembedded.org/mt/110604398/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to