ncurses-6.1 vs. slang-2.3.1 broken
Egmont Koblinger
egmont at gmail.com
Fri Feb 9 14:44:09 UTC 2018
FYI:
This combination:
- MC compiled against S-Lang,
- S-Lang version 2.3.1 (or older),
- terminfo (ncurses) version 6.1 (or newer),
- TERM=xterm-256color
breaks the arrow keys and probably much more.
This is because slang reads the binary terminfo files manually, rather than
via libtinfo, and ncurses-6.1 switched to a new binary format for some of
its files (including xterm-256color but not xterm).
Solution:
- Upgrade to S-Lang pre2.3.2-19 or newer
- Downgrade to ncurses/terminfo 6.0 or older
Workaround:
- export TERM=xterm
But most importantly, anyone encountering this should immediately notify
their distribution, pointing them to e.g.
http://lists.gnu.org/archive/html/bug-ncurses/2018-01/msg00053.html .
This is not a bug in Midnight Commander, nor in the terminal emulator.
cheers,
egmont
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20180209/fb58d765/attachment.html>
More information about the mc-devel
mailing list