Samuel Thibault wrote:
> it really looks like
> something in bash/libtinfo is inventing escape sequences.

Indeed: with 'dash' instead of 'bash' there is no issue.

> If you export TERM=dumb, that disappears, so it's really related to
> terminal sequences. Even TERM=vt100 produces it, 

I see. And when I use 'TERM=xterm vi <some_file>', I see ?25h and ?25lm
which come from the 'cnorm' and 'civis' ("cursor_normal" and "cursor_invisible"
[1]) capabilities.

Maybe these sequences are used as defaults for 'cnorm' and 'civis' (which
'mach-gnu-color' does not have)?

[1] https://man7.org/linux/man-pages/man5/terminfo.5.html





Reply via email to