X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B7F683858403 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1712941012; bh=4u87/5ALpxZ2hVQ2GPBvIs7WmCtT9oy7fI3bg9mYymY=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ocLVzhEd/aB7dxD2x1egwqZr385sYbHITPNSUBmKr0PNkpyu8VDkLh6kloUAxDkpp CD/YVHX/aBWrGdhr01Co1xGj7FNlh3Jb2tFdgoLHZ8XcsYyFWVAFNOZQocO2OEpoQS zpDkwMPTBKeOSr/5RucHwHWPPDERHDPay2C7aiMU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C21E93858D38 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C21E93858D38 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712940990; cv=none; b=IkvD3x0D/aFzPXl4Ohl1UQv/fFz1SKbI1oy1KJpwF3Flmd/m4HCNKvymMVpHUZkETcq16e649z0TfBJuCkFxNcUTi8K9WPvh/RtAU+E/PdqdzQvEeoXdVFoczQIY04j76FuL7rCr3gxMv7orE/MG+l28dQusTVXcd2iCQADzZW4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712940990; c=relaxed/simple; bh=lDodRbRs3l/XamULab4lQbKo2deayrvMdM8HfhGM84s=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=tdLHIMfaTwpaJJ8w2Ma48e29n6xz9Uo5SKhCzFQfZzHZqhpu+U/KZt9VKtjGhyt001nlTMUWkeBvzFqzFblTRxXMz01Huz30XLwRWxn0Zs9oJHhtwqtNc1yawilILKpbfiBdE7yuxNtozML6hIpO5Ap0lF6+/Wdp/jtYIwn3c6M= ARC-Authentication-Results: i=1; server2.sourceware.org Message-ID: Date: Fri, 12 Apr 2024 10:56:22 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Change for the initial installation of Cygwin to set the default terminal terminal 256 color Content-Language: en-CA To: cygwin AT cygwin DOT com References: <5bce1252-6d41-4061-bb96-fc5c42e6f0d2 AT towo DOT net> Organization: Systematic Software In-Reply-To: <5bce1252-6d41-4061-bb96-fc5c42e6f0d2@towo.net> X-Rspamd-Queue-Id: AE21732 X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, BODY_8BITS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Stat-Signature: n17t4agzt444cc97zhg8ec184m5a8nme X-Rspamd-Server: rspamout01 X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361 X-Session-ID: U2FsdGVkX18SPzdOJzU9L9kQ/8GF7DPRhjB9JNA4ays= X-HE-Tag: 1712940986-878676 X-HE-Meta: U2FsdGVkX1/TRaOTOEc8gZyDLkA6Oh/HvrPsfDCWyKfzD+xh40+4xGCMdGo6AIwsBx9w7h8i5c5USegMbtmhQpS1Itmk8dU1dNfrj56rFDq7vhzjoN4dO147mJu8BKEt5pOHmOTZ65Iq8VN4eFyRB1y7gWlrbXWS/NJqfmSwV4VKqBRqwnFwQEwGUA4PkoLZWtQWE+9YMoVyhXcVheJdHUrv7TnmgKLOLrFSVpCUml4FAUTToAZgs+xcnTCVW1p/ks6S01cHUiF0N16+mtp/mfU10uVz+fq9ct+6TAy6163lsLl+BpwPbNBR50bRb/wb4zddL6ycuplf1CIu39+/UKj48/hWh7iosOCrAdFIdZUC6NHNg9b3X6ZBWNuzL/+KT1keFiGj1/6lEuJDpdcodg== 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 43CGutMO1429839 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 -- 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