help-nano
[Top][All Lists]
Advanced

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

Re: White fg color, black bg color, though terminal is opposite in MSYS2


From: Benno Schulenberg
Subject: Re: White fg color, black bg color, though terminal is opposite in MSYS2
Date: Thu, 3 Oct 2024 17:32:05 +0200
User-agent: Mozilla Thunderbird


Op 02-10-2024 om 21:23 schreef Ivan Vorontsov:
Mintty and ncurses are upgraded as well. So, I decided to downgrade ncurses
first and it worked. I suppose that's it.

You might want to report this to bug-ncurses.
Or better: first to MSYS2.

What is TERM set to by default in mintty?

xterm

If you have a terminfo description for mintty (mine is at
/usr/share/terminfo/m/mintty), then you could try setting
TERM=mintty.

Running `infocmp xterm-256color mintty` shows some differences,
so a mintty is as capable as an xterm:

comparing xterm-256color to mintty.
    comparing booleans.
        km: T:F.
    comparing numbers.
    comparing strings.
        ka1: '\EOw', NULL.
        ka3: '\EOy', NULL.
        kb2: '\EOu', NULL.
        kbeg: '\EOE', NULL.
        kc1: '\EOq', NULL.
        kc3: '\EOs', NULL.
        nel: '\EE', NULL.
        rmm: '\E[?1034l', NULL.
        rmpch: NULL, '\E[10m'.
        rshm: NULL, '\E[22m'.
        rsubm: NULL, '\E[75m'.
        rsupm: NULL, '\E[75m'.
        smm: '\E[?1034h', NULL.
        smpch: NULL, '\E[11m'.
        sshm: NULL, '\E[1:2m'.
        ssubm: NULL, '\E[74m'.
        ssupm: NULL, '\E[73m'.


Benno

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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