delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/04/12/05:18:40

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 71AC2385840A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1712913517;
bh=IydJPkrs+m8lMFsHINhDopbZv6jlOzg9P2zgSLZoYoA=;
h=References:In-Reply-To:Date:Subject:Cc:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=JxZVnWSIjPfn8HhlOyNDQZcOJ2F6o6jbaVovkCsf8NHgnvKEJUkUxgXJT73A4clzN
0diL98g+O4QjZNqEPi5SaMZo2Tcnxsne6bOClcvYqa+YiJ0gHt8JBkbJ6eSnTXMIoO
+LJ/VI3IQ4WvN9VWaJuEGEjTsoPNcn3hMX4Ve4D4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0B2073858D38
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0B2073858D38
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712913494; cv=none;
b=UMZW6ohc4ehvux6xAi3KPykNd+sJbJYE6zDj8dV1Onl7ko/+FNURr8dcuEcrDqpZ5xv/i1Td0jJeL1r7nzFZZLCn2qxeggoRWrhPGDBd8oJT4fy8sqVHmN0Ojdsu0nSoS96yPHBq28vhbUzKr8MYmgiWgH8ArbVW165M0CslMrE=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1712913494; c=relaxed/simple;
bh=BNl2l2TYz2ATMTshOL7Xp69FXOwlj3o3tNOW4wNrGoM=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject;
b=GZCxSynI5yWOtFx77biL+NHen/QyGGQ/KbXXiJr3vL+9OkaM/JVAG1U/hSFV8R9ZZevDEl7BLDVrT3KQa6shwrN81372OPqRZMoMgRHTqWUjtxNmFeSahTBeURYdD2KckhEkA91sqF54Cb40imTPbQQogx68zraBkHll0jYVPJM=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1712913492; x=1713518292;
h=content-transfer-encoding:cc:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=9VIfkM1/b4n6Lb//bPjV2ZsBegIKlX9y73aUwHRjOWY=;
b=uUR4DFPYPy3Saxfh5Y3TwGiAKFi7uAnc2jkxpXtWFjRv+xM6+8+gJYvLOfz5ShTx+x
lEEFQj3Y+B74vkgboJpFHmothkGLq7h7oxD5zdip3tLf/6M2Pew6hvUtSGRMl0qvaAZ1
ewJ3mt5W3hzVtY6WesaLZrPACyHNck92YlUJ4CRYXAq7FwuoIcJ66CVvUCAwA6hSFQFj
pQ5vTsRsQQSCQG1h8u2hwk/Sv0GcB8ZeNqktyn/PN9UHPqOzWNf1EH7binREQE66HMal
pmBxOORPkZykUge+C+1ax/imJhdl2uyAGnrsVUfj5PbqtRHT+ZUgOHKxWDqFm/zkJoF1
HEDQ==
X-Gm-Message-State: AOJu0Yw7h6B72k7BXupAiEIqB82ZWJdmCPhF0ByGdXRr+Xxhqt6ti+FA
3ghpiSnWuqVXUyWiv4YjdBHjacOk3zWjNHx2CdlndS1amdLOXF+6FEf4iAxwshGfONJHFSeMUPX
uS98TuhmhiUh4y/TczU9I0sbgCv4e8k6BAWg=
X-Google-Smtp-Source: AGHT+IE9wppc28wc1LX1GHi5m/ZfIe96PtmxGspsW/7q0M1+a1fzi2jRww+KD3m+bAdkcfAAmtcBeVBMR1z5/eyX2ic=
X-Received: by 2002:a05:6602:4897:b0:7d6:6405:fe11 with SMTP id
ee23-20020a056602489700b007d66405fe11mr2828875iob.3.1712913492055; Fri, 12
Apr 2024 02:18:12 -0700 (PDT)
MIME-Version: 1.0
References: <CAL8MddU65ydcnzWQ8rbGyBF3HXrhgzrayrfw-zXGG4xpket30A AT mail DOT gmail DOT com>
<CAL8MddVvqigAPcyJ+vLvF5jxx-vtSN5t9ETAAH5_xnP3vkPj_w AT mail DOT gmail DOT com>
In-Reply-To: <CAL8MddVvqigAPcyJ+vLvF5jxx-vtSN5t9ETAAH5_xnP3vkPj_w@mail.gmail.com>
Date: Fri, 12 Apr 2024 05:18:01 -0400
Message-ID: <CAD8GWsuMzBLKdBdAi7EuMyp95xOWGcJr8LQQBxAhiEgYSChSqg@mail.gmail.com>
Subject: Re: Change for the initial installation of Cygwin to set the default
terminal terminal 256 color
Cc: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
FREEMAIL_FROM, MISSING_HEADERS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Lee via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Lee <ler762 AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 43C9Iewf1332721

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


> 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?

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019