From: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
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 10:56:22 -0600 [thread overview]
Message-ID: <c35931f5-ccb1-4b5c-b567-d681d773e1f1@SystematicSW.ab.ca> (raw)
In-Reply-To: <5bce1252-6d41-4061-bb96-fc5c42e6f0d2@towo.net>
The Cygwin native terminal emulator `mintty` is supported by Cygwin default
`ncurses`/`terminfo` installs:
$ TERM=mintty tput colors
256
On 2024-04-12 07:27, Thomas Wolff via Cygwin wrote:
> 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.
>>> El jue., 11 abr. 2024 14:36, J M escribió:
>>>> You can change in the initial install setup of Cygwin to set the default
>>>> terminal to 256 color as Ubuntu does?
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry
prev parent reply other threads:[~2024-04-12 16:56 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
2024-04-12 16:56 ` Brian Inglis [this message]
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=c35931f5-ccb1-4b5c-b567-d681d773e1f1@SystematicSW.ab.ca \
--to=brian.inglis@systematicsw.ab.ca \
--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).