3 ms·
That's what termcap/terminfo is for. It's not just a matter of backwards compatibility, but also forwards. Right now the common term type is xterm (or variants
by GekkePrutser 6y ago
That's what termcap/terminfo is for.
It's not just a matter of backwards compatibility, but also forwards. Right now the common term type is xterm (or variants thereof like xterm-256color). 20 years ago it was vt100. Will it still be xterm in 10 years from now? Considering Xorg itself is claimed obsolete by its own maintainer makes me wonder if it will be.
Good thing we already have a mechanism to support smooth alternatives for terminal types.
- kps 6y agoWhile I personally use `tput` in scripts where it matters, I think an argument can be made that effectively all terminals now in use support ANSI X3.64 aka ECMA-48 aka ISO/IEC 6429. The 37-year-old VT220 does. The greater sins I see today are assuming line length and assuming background colour.