X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C8A233858D28
Authentication-Results: sourceware.org;
 dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=rgoRXAWt71yrsjmSLrn65YEMC1JSmdE0k2GNek0UDwI=;
 b=mCqr4adGcrePmjAIpRybs+IyrsdYBGN4oZ12uu05WFCtF4aJxHpydiSXlHz+WjqQDV
 3+AMrNNmvfotXSbJoBBsETlDeFbVrFHwZ5gsa/1XEzY81rgXHMQkNbyp/hGiho+lQP+o
 X6s81n3hmvfubfsFH8QgmXcV7wV0UF7RoR5QpN8d0AOOTUt6ruzz4ikL5uxptg7lECsG
 xU9kX3SI4KFdCu+AcZ3Oqege7d0I02wgGdtp/RfMGfOm7iQXpXyJp9hvYJBTwV5txVDy
 evIlR9F3KAEXyHBH9w87Oc6SzFBQWIGqCm9c2bKt6NefOP9n5SASrzI0j/Pu7epAXxm+
 5akA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=rgoRXAWt71yrsjmSLrn65YEMC1JSmdE0k2GNek0UDwI=;
 b=lJrcCK1M+T4vJVbsWOmqbViWJk2TBmrEJZlZUgc316qRkH3q1XySNx3SZczre5EaYX
 kvqxbdgZB/d/VkD8UWlbUh9IFeKqSTH69xBjqrMJdrKms0dFopJ2S4DLfmW62T8wu8P8
 ZrIVwLOqFchLFgdt06OvO/4uLBirk57Q77tuoOh/iauOlH0OlI2/cL1em4MSCuKzBs9H
 tKMtTI+vkUGZrV3euNwcqkdC7iyeL6oND/ELJDBVtIm0jGJQo3+wFGfuDCJ13q4or8p0
 sz8qIMO4nsIjwP+N1vHTWCyFQd5+pFBCzXfu6/uzvwuacA9Z1twO7zxwtDTeWxoaCZQl
 Mvyg==
X-Gm-Message-State: AOAM533hf7AEX1X8VgyIvHUSuR3gpHkNSASOdHUwKwaKXMoMSpIY667E
 VDolxsppK6Kzd1Ev2jvbRAB016UQvaKNDzUtCqFXq84X
X-Google-Smtp-Source: ABdhPJyjbtJZrkbAIMwbr+2jQmMm8iMvD+mLzKNysk/qVDcaSNTjQXg+NwjF0cnVpFq1+VLzNt1rrtktS3ujMeNJEY8=
X-Received: by 2002:a05:6870:248c:b0:d7:19f3:a52c with SMTP id
 s12-20020a056870248c00b000d719f3a52cmr6770109oaq.149.1648304098970; Sat, 26
 Mar 2022 07:14:58 -0700 (PDT)
MIME-Version: 1.0
References: <announce.7691b1d2-e1a9-7f3b-9de0-a1896ae783d1@towo.net>
In-Reply-To: <announce.7691b1d2-e1a9-7f3b-9de0-a1896ae783d1@towo.net>
From: Andy Koppe <andy.koppe@gmail.com>
Date: Sat, 26 Mar 2022 14:14:47 +0000
Message-ID: <CAHWeT-arP8AvbhXM6V00U1SkumHL6euBD1_CGNai1zaHnYWtRQ@mail.gmail.com>
Subject: Re: [ANNOUNCEMENT] Updated: mintty 3.6.0
To: cygwin@cygwin.com
X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT,
 SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On Fri, 25 Mar 2022 at 18:18, Thomas Wolff wrote:
>
> I have uploaded mintty 3.6.0 with the following changes:
>
> Highlights
>    * Optional feature: Reflow terminal lines when resizing terminal width.
>    * Visual feedback of numeric or composed character input.
>    * New themes helmholtz and luminous (contributed by Andy Koppe).
>    * Setting helmholtz theme as default colour scheme.
>
> Window handling
>    * Reflow terminal lines when resizing terminal width (#82, #219,
> mintty/wsltty#154).
>
> Terminal features
>    * Tweak pending auto-wrap state affected when switching wrap modes.
>    * Fixed unscroll (CSI +T) in case width has changed meanwhile.
>    * Visual feedback of numeric or composed character input.
>
> Keyboard handling
>    * Support user-defined mappings for Super-/Hyper-modified character keys.
>    * Support optional user-defined mappings for Control-/Alt-modified
> character keys (#399, #252, #523, #602, #645, ~#524, ~#817, ~#451).
>    * Suspend shortcut handling during numeric character input.
>    * Revise and fix numeric character input.
>    * Distinct Unicode vs. hexadecimal numeric character input.
>    * Menu key opens menu inside terminal, also stops numeric input.
>    * Fixed Compose sequences with more than 2 characters (broken since
> 3.1.5).
>
> Font rendering
>    * Right-to-left font fallback (#1148).
>    * Fixed auto-widening of ambiguous-width letters (broken since 3.4.4).
>    * Speedup rendering of replacement indication of invalid character
> codes (#1145).
>    * Extend cell zoom to some Geometric Shapes U+25E2.., Dingbats
> U+1F67C.., and Symbols U+1FB00..U+1FBB3.
>
> Startup
>    * Trimming irrelevant and possibly confusing environment variables
> before child invocation (xterm).
>
> Configuration
>    * New themes helmholtz and luminous (contributed by Andy Koppe).
>    * Setting helmholtz theme as default colour scheme.
>    * New option -Rt to report the tty name of the child process / shell.
>    * New option ShootFoot (#399, #252, #523, #602, #645, ~#524, ~#817,
> ~#451).
>    * New option RewrapOnResize (#82), interactive (Options dialog).
>    * New user-definable function unicode-char.
>    * Updated X11-derived data: compose sequences and colour names.
>
> The homepage is at http://mintty.github.io/
> It also links to the issue tracker.

This is years too late, but I'd still like to take this opportunity to
say a huge Thank You to Thomas for rescuing mintty from the ashes of
Google Code and maintaining and developing it so well since.

The rewrap on resize is another great and long-requested feature he's
added. It's on the Window page of the options for anyone who wants to
give it a try.

Re the colour themes, my original default has orderly colour values,
but rather uneven actual colours. For example, non-bold blue is barely
legible on a black background, and red is significantly darker than
green in diffs.

So I tried adjusting the colours to equal luminance according to the
formulas of the sRGB colour space, which resulted in the 'luminous'
theme. Unfortunately that has pretty much the opposite problem of the
original: e.g. red is too bright and yellow is too dark. And that's
because of this:

https://en.wikipedia.org/wiki/Helmholtz-Kohlrausch_effect

As I didn't find a suitable formula to compensate for that, I used
experimentally determined correction factors to get to roughly (and
subjectively) equal brightness, resulting in the 'kohlrausch' theme.

The 'helmholtz' theme that is now the default is identical to that,
except for a somewhat darker non-bold blue, as a compromise between
legibiility on black and use as a background colour itself in programs
like mc. The bold blue is similar to what's used for links on
dark-themed websites.

The original theme can be restored using the 'mintty' entry in the
dropdown on the 'Looks' page of the options. Existing colour
customisations should not be affected by the change of default.

Andy

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