Philip Hands <p...@hands.com> (2022-12-15):Perhaps the presence of the termcap file is irrelevant, or could it be that nano used to be able to make use of that, and more recently only supports terminfo?
This is the explanation, I think. Nano removed support for Slang in version 5.5. The nano-udeb (5.4) that is in Bullseye was still linked against Slang, which has its own ideas about what which terminals do. The nano-udeb (7.2) that is in Bookworm links against ncurses, and ncurses wants TERM to be set to something valid -- something for which a terminfo file is available. Benno
OpenPGP_signature
Description: OpenPGP digital signature