simon-git: putty (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Dec 22 11:38:30 GMT 2024


TL;DR:
  b6b95f23 Treat SOS and PM terminal escape sequences like APC
  193e2ec0 Rework identification of OSC sequences.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2024-12-22 11:38:30

commit b6b95f23e563211437e51322edc9118b63a3ca40
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=b6b95f23e563211437e51322edc9118b63a3ca40;hp=98200d1bfec13397cf81b1d5b28a1ab90962dcde
Author: Stefan Tauner <stefan.tauner at artech.at>
Date:   Sun Dec 22 02:38:42 2024 +0100

    Treat SOS and PM terminal escape sequences like APC
    
    SOS (Start of string) and PM (privacy message) are opening delimiters defined
    in ECMA-48 similar to APC. With this change they are treated exactly like APC,
    i.e., like fake OSC sequences that are ignored and not printed.
    
    Signed-off-by: Stefan Tauner <stefan.tauner at artech.at>

 terminal/terminal.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 193e2ec06375dad38cdba4815cb32cf24f3e39d4
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=193e2ec06375dad38cdba4815cb32cf24f3e39d4;hp=b6b95f23e563211437e51322edc9118b63a3ca40
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Dec 22 09:57:29 2024 +0000

    Rework identification of OSC sequences.
    
    I didn't like the previous patch setting a flag claiming that two
    kinds of thing were APC which aren't in fact APC. So I've made a
    little enum to distinguish them in the code. There's an outside chance
    we might want to handle some case of these in future, in which case
    this makes it easier, but more likely it's just making me feel less
    wrong about it.
    
    But I've also folded the two existing flags osc_is_apc and osc_w into
    that single enum field, which I think is an improvement.

 terminal/terminal.c | 42 ++++++++++++++++++++++--------------------
 terminal/terminal.h | 11 +++++++++--
 2 files changed, 31 insertions(+), 22 deletions(-)



More information about the tartarus-commits mailing list