4 ms·
You would be surprised how much software is built exclusively for TERM=xterm or TERM=xterm-*.
by tristan957 2y ago
You would be surprised how much software is built exclusively for TERM=xterm or TERM=xterm-*.
- dartos 2y agoWhich is exactly the root cause of terminal weirdness. Instead of a standard, we have mountains of terminfo entries which are mostly slight xterm variants and ancient hardware
- blueflow 2y agoI'm aware and i think its not okay. Its incorrect software. And yes, that difference is significant because the F-keys, Ins, End and companions won't work.
- revscat 2y agoYou're getting downvoted but you're not wrong. Using TERM=xterm-* should be deprecated, and in this case in particular that likely means stepping on some toes.
- Bjartr 2y agoIt's like the user agent string in browsers. Using that instead of checking for feature availability directly is always going to end up in a mess like this over time. Heck, there wasn't a Windows 9 because of how much software would break because they had `if (osversion.startswith("9"))` check to decide if it needs to act in pre-XP mode, long after XP itself was EOL. Most people aren't willing to give up functional workflows on principle alone. "stepping on some toes" massively understates the impact.