bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Console problems


From: Samuel Thibault
Subject: Re: Console problems
Date: Tue, 14 Jan 2025 14:57:54 +0100

Bruno Haible via Bug reports for the GNU Hurd, le mar. 14 janv. 2025 14:49:00 
+0100, a ecrit:
> 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)?

Possibly. You can try to use 

TERM=mach-gnu-color infocmp > foo
vi foo
tic foo

to recompile your own entry for the mach-gnu-color term, with 
"cnorm=, civis=, " added in it to explicitly make them empty. Or set
them to some no-op action.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]