4 ms·
The fun thing about terminals is that many terminals pretend to be xterm, but in fact fail to implement some of the many, many terminal escape sequences xterm s
by jcranmer 7y ago
The fun thing about terminals is that many terminals pretend to be xterm, but in fact fail to implement some of the many, many terminal escape sequences xterm supports. So complex terminal applications pretty much need to double-check if terminals are actually xterm or if they're something broken pretending to be xterm.
- throwaheyy 7y agoSounds like a standard configure.sh script.
- AstralStorm 7y agoNo, you have to do it at runtime, which is why curses exist. (Ncurses and pdcurses especially.)
- throwaheyy 7y agoWasn’t referring to terminal compatibility as much as the “stuff that doesn’t necessarily do what it says it does”. A big portion of most configure.sh scripts is logic that doesn’t just check for something, but that it can be trusted to do what the compiler will be expecting.