simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Thu Oct 5 21:21:13 BST 2017


TL;DR:
  2f9738a Make terminal true-colour mode configurable.
  1adf211 Disable true colour on monochrome or paletted displays.
  262376a Make the cursor colour override true colour.
  4743798 Support OSC 4 terminal colour-palette queries.
  1a71840 Support SGR 2 to dim the foreground colour.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2017-10-05 21:21:13

commit 2f9738a282c9b738b135198d34c61f7d81aa69c1
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=2f9738a282c9b738b135198d34c61f7d81aa69c1;hp=6b824713d56bf105cede71daa186593aa9906718
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu Oct 5 20:27:27 2017 +0100

    Make terminal true-colour mode configurable.
    
    I know some users don't like any colour _at all_, and we have a
    separate option to turn off xterm-style 256-colour sequences, so it
    seems remiss not to have an option to disable true colour as well.

 config.c          | 3 +++
 doc/config.but    | 9 +++++++++
 putty.h           | 1 +
 settings.c        | 2 ++
 terminal.c        | 8 +++++++-
 terminal.h        | 1 +
 windows/winhelp.h | 1 +
 7 files changed, 24 insertions(+), 1 deletion(-)

commit 1adf211d70e162b50b18ede5a9c6ba6ae73ac8b2
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=1adf211d70e162b50b18ede5a9c6ba6ae73ac8b2;hp=2f9738a282c9b738b135198d34c61f7d81aa69c1
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu Oct 5 20:30:09 2017 +0100

    Disable true colour on monochrome or paletted displays.
    
    I'm not sure if any X11 monochrome visuals or Windows paletted display
    modes are still around, but just in case they are, we shouldn't
    attempt true colour on either kind of display.

 unix/gtkwin.c    | 3 +++
 windows/window.c | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

commit 262376a054719f0c248032df97be66142f0208e3
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=262376a054719f0c248032df97be66142f0208e3;hp=1adf211d70e162b50b18ede5a9c6ba6ae73ac8b2
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu Oct 5 20:30:04 2017 +0100

    Make the cursor colour override true colour.
    
    Otherwise, moving the cursor (at least in active, filled-cell mode) on
    to a true-coloured character cell causes it to vanish completely
    because the cell's colours override the thing that differentiates the
    cursor.

 unix/gtkwin.c    | 1 +
 windows/window.c | 1 +
 2 files changed, 2 insertions(+)

commit 4743798400e3eeae2902c4540da905a565f05c47
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=4743798400e3eeae2902c4540da905a565f05c47;hp=262376a054719f0c248032df97be66142f0208e3
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu Oct 5 20:43:02 2017 +0100

    Support OSC 4 terminal colour-palette queries.
    
    Markus Gans points out that some applications which (not at all
    unreasonably) don't trust $TERM to tell them the full capabilities of
    their terminal will use the sequence "OSC 4 ; nn ; ? BEL" to ask for
    the colour-palette value in position nn, and they may not particularly
    care _what_ the results are but they will use them to decide whether
    the right number of colour palette entries even exist.

 fuzzterm.c       |  1 +
 putty.h          |  1 +
 terminal.c       | 66 +++++++++++++++++++++++++++++++++++++++++---------------
 unix/gtkwin.c    | 11 ++++++++++
 windows/window.c | 52 ++++++++++++++++++++++++++++----------------
 5 files changed, 96 insertions(+), 35 deletions(-)

commit 1a718403d40ccb88a1436eff98c82bf92268ef96
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=1a718403d40ccb88a1436eff98c82bf92268ef96;hp=4743798400e3eeae2902c4540da905a565f05c47
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu Oct 5 21:02:56 2017 +0100

    Support SGR 2 to dim the foreground colour.
    
    I've done this on a 'where possible' basis: in Windows paletted mode
    (in case anyone is still using an old enough graphics card to need
    that!) I simply haven't bothered, and will completely ignore the dim
    flag.

 putty.h          | 19 +++++++++---------
 terminal.c       |  8 ++++++--
 unix/gtkwin.c    | 61 ++++++++++++++++++++++++++++++++++++++++----------------
 windows/window.c |  8 +++++++-
 4 files changed, 67 insertions(+), 29 deletions(-)



More information about the tartarus-commits mailing list