[PATCH 3 of 3] help: update the color documentation for Windows 10 ANSI support
FUJIWARA Katsunori
foozy at lares.dti.ne.jp
Wed May 24 04:04:49 EDT 2017
At Tue, 23 May 2017 22:47:30 -0400,
Matt Harbison wrote:
>
> On Tue, 23 May 2017 10:49:26 -0400, FUJIWARA Katsunori
> <foozy at lares.dti.ne.jp> wrote:
>
> > At Tue, 23 May 2017 08:34:15 -0400,
> > Matt Harbison wrote:
> >>
> >> # HG changeset patch
> >> # User Matt Harbison <matt_harbison at yahoo.com>
> >> # Date 1495506779 14400
> >> # Mon May 22 22:32:59 2017 -0400
> >> # Node ID dd667d12b2ff86a8fadc8035ffd8500807774d62
> >> # Parent 95ef3de9a9883c388dc80bb841fd0f7c41dac06a
> >> help: update the color documentation for Windows 10 ANSI support
> >>
> >> diff --git a/mercurial/help/color.txt b/mercurial/help/color.txt
> >> --- a/mercurial/help/color.txt
> >> +++ b/mercurial/help/color.txt
> >> @@ -22,7 +22,8 @@
> >> The default pager on Windows does not support color, so enabling the
> >> pager
> >> will effectively disable color. See :hg:`help config.ui.paginate`
> >> to disable
> >> the pager. Alternately, MSYS and Cygwin shells provide `less` as a
> >> pager,
> >> - which can be configured to support ANSI color mode.
> >> + which can be configured to support ANSI color mode. Windows 10
> >> natively
> >> + supports ANSI color mode.
> >
> > Isn't "recent" or such modifier needed for "Windows 10" ?
> >
> > I'm not sure that (almost) all existing Windows10 environments are
> > forcibly updated with ANSI color mode support feature. I've heard that
> > update of Windows10 can be disabled manually, even though update is
> > mandatory ordinarily.
>
> I haven't followed Windows 10 at all, but assuming these two items [1][2]
> are true, then the only functionality we would be missing is the (now
> unsupported) first release. I hesitate to use "recent" or "modern" or the
> like, because those words don't age well. (What will it mean in 3
> years?) Maybe putting the build number in is OK?
>
> [1] https://github.com/symfony/symfony/issues/17499#issuecomment-243481052
> [2] https://en.wikipedia.org/wiki/Windows_10_version_history
Thank you for information!
According to these pages, "Windows 10" without any modifier ("recent",
build number, and so on) seems enough reasonable.
> >
> >> Mode
> >> ====
> >> diff --git a/mercurial/help/config.txt b/mercurial/help/config.txt
> >> --- a/mercurial/help/config.txt
> >> +++ b/mercurial/help/config.txt
> >> @@ -415,7 +415,7 @@
> >> ``mode``
> >> String: control the method used to output color. One of ``auto``,
> >> ``ansi``,
> >> ``win32``, ``terminfo`` or ``debug``. In auto mode, Mercurial will
> >> - use ANSI mode by default (or win32 mode on Windows) if it detects a
> >> + use ANSI mode by default (or win32 mode prior to Windows 10) if it
> >> detects a
> >> terminal. Any invalid value will disable color.
> >>
> >> ``pagermode``
> >> _______________________________________________
> >> Mercurial-devel mailing list
> >> Mercurial-devel at mercurial-scm.org
> >> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>
--
----------------------------------------------------------------------
[FUJIWARA Katsunori] foozy at lares.dti.ne.jp
More information about the Mercurial-devel
mailing list