- Package:
- ncurses-term
- Source:
- ncurses
- Submitter:
- Paul LeoNerd Evans
- Date:
- 2017-11-23 15:21:11 UTC
- Severity:
- normal
The `screen` program has the ability to perform the 'erase_chars'
behaviour, using an ECMA-48-standard CSI X; for example:
$ echo -e "ABCDEF\e[3G\e[2X"
AB EF
correctly erases the 2 chars in the middle when run via screen.
However, the `screen` terminfo file fails to include the `erase_chars`
capstring:
$ infocmp -L1 screen | grep erase_chars
<no output>
as compared other terms that do; for example:
$ infocmp -L1 xterm | grep erase_chars
erase_chars=\E[%p1%dX,
This capstring should be added to the screen terminfo. (and likewise
screen-bce, screen-256color, screen-256color-bce)
maybe/maybe not: there are a few descriptions where ECH is not used because the terminal's treatment of bce differs from that used in ncurses. I can investigate it (again)...
maybe/maybe not: there are a few descriptions where ECH is not used because the terminal's treatment of bce differs from that used in ncurses. I can investigate it (again)...
In a quick check, vttest screen 11.6.5 shows the problem I mentioned. Test BCE-style clear line/display (ECH, Indexing)
In a quick check, vttest screen 11.6.5 shows the problem I mentioned. Test BCE-style clear line/display (ECH, Indexing)