> $env -i nano > command fail because TERM is unset I can work around an unset TERM. But what if TERM=="" or TERM=="nonsense"? Checking whether TERM is a valid terminal name goes too far, in my opinion.
Also, is the 'vt100' terminal description guaranteed to exist? I ask, because 'dumb' and 'vt52' are not good enough for nano (ncurses) to work properly, and 'ansi' leaves the cursor invisible on a VTE-based terminal. Benno
OpenPGP_signature
Description: OpenPGP digital signature