From: Thomas Wolff <towo@towo.net>
To: cygwin@cygwin.com
Subject: Re: Change for the initial installation of Cygwin to set the default terminal terminal 256 color
Date: Fri, 12 Apr 2024 15:27:13 +0200 [thread overview]
Message-ID: <5bce1252-6d41-4061-bb96-fc5c42e6f0d2@towo.net> (raw)
In-Reply-To: <CAD8GWsuMzBLKdBdAi7EuMyp95xOWGcJr8LQQBxAhiEgYSChSqg@mail.gmail.com>
Am 12.04.2024 um 11:18 schrieb Lee via Cygwin:
> On Fri, Apr 12, 2024 at 4:05 AM J M wrote:
>> Some examples that I view that can do Cygwin better by default:
>>
>> tput colors
>> 8
>>
>> echo $TERM
>> xterm
> I made my mintty changes by point & click experimentation - if you
> want to make system-wide changes the place to do that is in
> /etc/minttyrc
> https://github.com/mintty/mintty/wiki/Tips
> Configuring mintty
> For its configuration, it reads configuration files in this order:
> /etc/minttyrc
> ... etc.
>
> $ grep -i term .minttyrc
> Term=xterm-256color
>
> $ tput colors
> 256
>
> $ echo $TERM
> xterm-256color
Note that mintty always supports all modes, including 256 colours and
true-color (TERM=xterm-direct), regardless of the TERM setting or the
$TERM environment value. That value is only used by some applications
(like tput and apparently vim) as an indication which features to use.
Thomas
>
>> And if use vim, comparing with one Ubuntu terminal:
>>
>> I need to set "set mouse-=a" because the copy paste is difficult.
>> The colors are very bright.
>> The cursor does not look good when doing a search and moves over the yellow
>> background text.
>>
>> What settings would I need to make it look like Ubuntu's vim?
> I'd suggest doing a 'man vim' to find out where all the possible
> configuration files are & then copy them to your cygwin machine.
>
> Regards,
> Lee
>
>> El jue., 11 abr. 2024 14:36, J M escribió:
>>
>>> Hi,
>>>
>>> You can change in the initial install setup of Cygwin to set the default
>>> terminal to 256 color as Ubuntu does?
next prev parent reply other threads:[~2024-04-12 13:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-11 12:36 J M
2024-04-12 8:05 ` J M
2024-04-12 9:18 ` Lee
2024-04-12 13:27 ` Thomas Wolff [this message]
2024-04-12 16:56 ` Brian Inglis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5bce1252-6d41-4061-bb96-fc5c42e6f0d2@towo.net \
--to=towo@towo.net \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).