Op 25-09-2026 om 11:34 schreef Benno Schulenberg:
It seems to have something to do with ncurses.  On an old Linux Mint,
all the old versions of nano were linked against libncursesw.so.5,
and those work fine.  But when I recompile against libncursesw.so.6,
the silly "[Unbound key]" messages appear for the numpad operators.

I've bisected it down to ncurses patch 20190518:

  https://lists.gnu.org/archive/html/bug-ncurses/2019-05/msg00021.html

Something changed in the keypad handling for terminals that identify
themselves as xterm.

I will add a fix for this in nano in the coming days.

Meanwhile you should be able to work around the issue by passing --raw
on the command line, or by putting 'set rawsequences' in your .nanorc.


Benno

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to