xl console with replace escapes does not inform terminal apps that it is restricted #9823
Labels
affects-4.2
This issue affects Qubes OS 4.2.
C: other
needs diagnosis
Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
Qubes OS release
Qubes OS 4.2
Brief summary
The patch 1009-tools-xenconsole-replace-ESC-char-on-xenconsole-outp.patch is nice, but it doesn't inform applications the terminal is dumb.
Steps to reproduce
Expected behavior
Backspace works, colors are not applied.
Actual behavior
Backspace doesn't work, escape characters messes the screen, pain with Zsh completion and syntax highlighting.
Additional information
Now it is set to
TERM=vt220
, it would be better if it was set todumb
when replace escapes is used.I have accessed to terminals that inform they are vt220 and most of the escape sequences work there, so I cannot and should not disable capabilities because of that.
tty
is/dev/hvc0
, although it seems super specific to a console, I believe it is best to useTERM
to inform the correct capabilities of the terminal.https://invisible-island.net/ncurses/terminfo.src.html#tic-dumb
When it is dumb, backspace works.
The text was updated successfully, but these errors were encountered: