Re: [dev] [st][PATCH] Add support for utmp in st (DISREGARD LAST)

From: <random832_AT_fastmail.us>
Date: Mon, 13 Oct 2014 16:19:10 -0400

Sorry I accidentally hit shift-enter and apparently that makes my email
client send.

On Mon, Oct 13, 2014, at 14:38, k0ga_AT_shike2.com wrote:
> But, why do you think is better DELETE than BACKSPACE?

Because that is the character sent by the key in this position with this
expected function (i.e. the <x] key above enter) on DEC terminals. It's
also, for better or worse, what modern linux systems have standardized
on (I haven't done a survey of bsd, solaris, etc).

> What ascii codes are supposed they should send? (Home sends Home, not
> Find).

What is Home?

        { XK_Home, ShiftMask, "\033[2J", 0, -1,
        0},
        { XK_Home, ShiftMask, "\033[1;2H", 0, +1,
        0},
        { XK_Home, XK_ANY_MOD, "\033[H", 0, -1,
        0},
        { XK_Home, XK_ANY_MOD, "\033[1~", 0, +1,
        0},
        { XK_End, ControlMask, "\033[J", -1, 0,
        0},
        { XK_End, ControlMask, "\033[1;5F", +1, 0,
        0},
        { XK_End, ShiftMask, "\033[K", -1, 0,
        0},
        { XK_End, ShiftMask, "\033[1;2F", +1, 0,
        0},
        { XK_End, XK_ANY_MOD, "\033[4~", 0, 0,
        0},

Find is ESC[1~, Select is ESC[4~. No other codes here are from DEC
terminals.
Received on Mon Oct 13 2014 - 22:19:10 CEST

This archive was generated by hypermail 2.3.0 : Mon Oct 13 2014 - 22:24:12 CEST