Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #388015

Re: about some potentially interesting unicode operators

From Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups comp.lang.c
Subject Re: about some potentially interesting unicode operators
Date 2024-08-29 13:41 -0700
Organization None to speak of
Message-ID <87cylr9i4g.fsf@nosuchdomain.example.com> (permalink)
References (5 earlier) <vaol4r$3qe8c$1@dont-email.me> <vaq3e4$10tb$1@dont-email.me> <87le0f9se2.fsf@nosuchdomain.example.com> <20240829230246.00001487@yahoo.com> <gI4AO.137910$FUV7.126293@fx15.iad>

Show all headers | View raw


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.com
void Void(void) { Void(); } /* The recursive call of the void */

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

about some potentially interesting unicode operators fir <fir@grunge.pl> - 2024-08-28 01:58 +0200
  Re: about some potentially interesting unicode operators Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> - 2024-08-28 14:17 +0000
    Re: about some potentially interesting unicode operators Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2024-08-28 12:46 -0700
      Re: about some potentially interesting unicode operators Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2024-08-28 13:30 -0700
      Re: about some potentially interesting unicode operators Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-28 23:15 +0000
        Re: about some potentially interesting unicode operators Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2024-08-28 17:04 -0700
          Re: about some potentially interesting unicode operators Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2024-08-29 04:07 +0200
            Re: about some potentially interesting unicode operators Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2024-08-29 17:17 +0200
              Re: about some potentially interesting unicode operators Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2024-08-29 09:59 -0700
                Re: about some potentially interesting unicode operators Michael S <already5chosen@yahoo.com> - 2024-08-29 23:02 +0300
                Re: about some potentially interesting unicode operators scott@slp53.sl.home (Scott Lurndal) - 2024-08-29 20:18 +0000
                Re: about some potentially interesting unicode operators Michael S <already5chosen@yahoo.com> - 2024-08-29 23:32 +0300
                Re: about some potentially interesting unicode operators scott@slp53.sl.home (Scott Lurndal) - 2024-08-29 21:24 +0000
                Re: about some potentially interesting unicode operators Michael S <already5chosen@yahoo.com> - 2024-08-30 13:50 +0300
                Re: about some potentially interesting unicode operators Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2024-08-29 13:41 -0700
                Re: about some potentially interesting unicode operators Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-30 03:16 +0000
                Re: about some potentially interesting unicode operators Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2024-08-29 21:35 -0700
                Re: about some potentially interesting unicode operators Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-31 00:01 +0000
          Re: about some potentially interesting unicode operators Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-29 05:58 +0000
          Re: about some potentially interesting unicode operators David Brown <david.brown@hesbynett.no> - 2024-08-29 12:51 +0200
    Re: about some potentially interesting unicode operators Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-28 23:13 +0000
      Re: about some potentially interesting unicode operators Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2024-08-29 03:36 +0200
      Re: about some potentially interesting unicode operators fir <fir@grunge.pl> - 2024-08-29 10:45 +0200
  Re: about some potentially interesting unicode operators Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-28 23:11 +0000
  Re: about some potentially interesting unicode operators Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-09-05 07:07 +0000

csiph-web