From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by sourceware.org (Postfix) with ESMTPS id C21E93858D38 for ; Fri, 12 Apr 2024 16:56:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C21E93858D38 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSW.ab.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=SystematicSW.ab.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C21E93858D38 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=216.40.44.13 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 Received: from omf10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 238F1A036E for ; Fri, 12 Apr 2024 16:56:28 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: Brian.Inglis@SystematicSW.ab.ca) by omf10.hostedemail.com (Postfix) with ESMTPA id AE21732 for ; Fri, 12 Apr 2024 16:56:26 +0000 (UTC) Message-ID: Date: Fri, 12 Apr 2024 10:56:22 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: cygwin@cygwin.com Subject: Re: Change for the initial installation of Cygwin to set the default terminal terminal 256 color Content-Language: en-CA To: cygwin@cygwin.com References: <5bce1252-6d41-4061-bb96-fc5c42e6f0d2@towo.net> From: Brian Inglis Organization: Systematic Software In-Reply-To: <5bce1252-6d41-4061-bb96-fc5c42e6f0d2@towo.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 List-Id: 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