The page from GNU team (https://www.gnu.org/software/screen/) is misleading. It's 2022, and screen's termcap does not have all the capabilities if VT100, a ca. 1978 terminal.
Such misinformation can be disastrous to people wanting to write a portable application. Here's the quote from their main page (https://www.gnu.org/software/screen/):
"Each virtual terminal provides the functions of the DEC VT100 terminal and, in addition, several control functions from the ANSI X3.64 (ISO 6429) and ISO 2022 standards (e.g., insert/delete line and support for multiple character sets)."
Really? "...in addition..."?? You aren't even providing the base capabilities. If GNU project cares, they should remove that statement and all the reference to VT100 from their website. Or they should support those sequences, and submit termcap/info patches to maintainers of all Unix-style OSes. Perhaps in a new termcap entry named "screen-21stcentury".
In my testing all modern terminal emulators seem to support those sequences, but if the user has TERM=screen*, it misleads the termcap/info software to suggest that those capabilities are actually not present in the terminal. It can lead to application misbehaving for some users...
1 comment
[ 2.5 ms ] story [ 13.5 ms ] threadExample sequences that are missing from vt100 ( http://www.braun-home.net/michael/info/misc/VT100_commands.h...):
* ESC [ ? 7 h auto wrap to new line
* ESC [ ? 7 l auto wrap off
Such misinformation can be disastrous to people wanting to write a portable application. Here's the quote from their main page (https://www.gnu.org/software/screen/):
"Each virtual terminal provides the functions of the DEC VT100 terminal and, in addition, several control functions from the ANSI X3.64 (ISO 6429) and ISO 2022 standards (e.g., insert/delete line and support for multiple character sets)."
Really? "...in addition..."?? You aren't even providing the base capabilities. If GNU project cares, they should remove that statement and all the reference to VT100 from their website. Or they should support those sequences, and submit termcap/info patches to maintainers of all Unix-style OSes. Perhaps in a new termcap entry named "screen-21stcentury".
In my testing all modern terminal emulators seem to support those sequences, but if the user has TERM=screen*, it misleads the termcap/info software to suggest that those capabilities are actually not present in the terminal. It can lead to application misbehaving for some users...