simon-git: tweak (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Jun 22 14:55:45 BST 2025


TL;DR:
  ac77c87 Merge further keyboard-support updates from Philipp Kutin.

Repository:     https://git.tartarus.org/simon/tweak.git
On the web:     https://git.tartarus.org/?p=simon/tweak.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2025-06-22 14:55:45

commit ac77c878b35974101714d930759f5ed868483e2b
web diff https://git.tartarus.org/?p=simon/tweak.git;a=commitdiff;h=ac77c878b35974101714d930759f5ed868483e2b;hp=cd27ad6683a974c8e0f7b3754f3193e93899f617
Merge: cd27ad6 dc8629b
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Jun 22 14:46:52 2025 +0100

    Merge further keyboard-support updates from Philipp Kutin.
    
    My own analysis: the new arrow-key sequences ESC O A, ESC O B etc
    correspond to 'application cursor key mode' in terminals I'm familiar
    with, enabled by ESC [?1h and disabled by ESC [?1l. The previous
    patch's addition of sequences like ESC [ O A (removed again in this
    merge) was an accidental mashup of ESC O A with the more usual ESC [ A.
    
    I've never seen the new ESC O H and ESC O F sequences for Home and End
    before, but I _have_ seen ESC [ H and ESC [ F, which PuTTY will
    generate if you switch the function keys into SCO mode. So those look
    like a plausible enough thing you might get if you started with the
    SCO-mode sequences and then applied the same transformation that
    application cursor keys mode does. I've never seen that transformation
    applied more widely than the cursor keys themselves, but it makes
    logical sense.



More information about the tartarus-commits mailing list