Sujet : Re: about some potentially interesting unicode operators
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 29. Aug 2024, 21:41:35
Autres entêtes
Organisation : None to speak of
Message-ID : <87cylr9i4g.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Gnus/5.13 (Gnus v5.13)
scott@slp53.sl.home (Scott Lurndal) writes:
Michael S <already5chosen@yahoo.com> writes:
On Thu, 29 Aug 2024 09:59:49 -0700
Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
[...]
Keith, what does your keyboard produce when typing <Alt>-<7> ?
>
On my US keyboard it produces the '·'. Don't know whether that
is reliable, though. (I don't think it is; e.g. my Thunderbird
doesn't expand any character when entering <Alt> combinations.)
>
It produces the two-character sequence Escape 7.
>
Which 7? The one on numeric pad produces • in quite a lot of contexts.
The character appears after release of Alt key.
>
The numeric pad ALT-'7' produces <esc>[H (home cursor).
(I manually cleaned up some quoted-printable damage in the above.)
The numeric pad keys send different characters depending on whether Num
Lock is set. I usually have it on.
Alt-7 sends the same thing (Escape-7) both for the 7 key above Y and U
and for the 7 key on the numeric pd. With Num Lock off, that key acts
as the Home key; Home sends ^[[1~ and Alt-Home sends ^[[1;3H, where ^[
is Escape.
There are probably some subtleties I'm missing. I rarely use either Alt
or AltGr. I don't often need to type non-ASCII characters; when I do,
my most common approach is to use vim digraphs. Possibly I could find a
method that's more convenient, but so far I haven't been motivated to do
so.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */