Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Xerox does it again and again and again and ...


devel / comp.unix.shell / Re: The correspondance between the keycode and keysym given by `xev -event keyboard' and ones in ascii table.

SubjectAuthor
* The correspondance between the keycode and keysym given by `xevhongy...@gmail.com
+* Re: The correspondance between the keycode and keysym given by `xevJanis Papanagnou
|`* Re: The correspondance between the keycode and keysym given by `xevhongy...@gmail.com
| `* Re: The correspondance between the keycode and keysym given by `xevLew Pitcher
|  `* Re: The correspondance between the keycode and keysym given by `xevJanis Papanagnou
|   `* Re: The correspondance between the keycode and keysym given by `xevhongy...@gmail.com
|    `* Re: The correspondance between the keycode and keysym given by `xevJanis Papanagnou
|     `- Re: The correspondance between the keycode and keysym given by `xevhongy...@gmail.com
`- Re: The correspondance between the keycode and keysym given by `xev -event keyboKenny McCormack

1
The correspondance between the keycode and keysym given by `xev -event keyboard' and ones in ascii table.

<ad7376b2-8413-495e-9596-05a56dba584bn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4254&group=comp.unix.shell#4254

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a05:622a:5d3:: with SMTP id d19mr24447436qtb.211.1629605581862;
Sat, 21 Aug 2021 21:13:01 -0700 (PDT)
X-Received: by 2002:a37:4042:: with SMTP id n63mr15451260qka.425.1629605581631;
Sat, 21 Aug 2021 21:13:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Sat, 21 Aug 2021 21:13:01 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=103.138.53.125; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 103.138.53.125
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ad7376b2-8413-495e-9596-05a56dba584bn@googlegroups.com>
Subject: The correspondance between the keycode and keysym given by `xev
-event keyboard' and ones in ascii table.
From: hongyi.z...@gmail.com (hongy...@gmail.com)
Injection-Date: Sun, 22 Aug 2021 04:13:01 +0000
Content-Type: text/plain; charset="UTF-8"
 by: hongy...@gmail.com - Sun, 22 Aug 2021 04:13 UTC

I use the following command to check the keycode and keysym:

$ xev -event keyboard

For example, when I press the ``a'' key on the keyboard, the following information will be returned:

KeyRelease event, serial 28, synthetic NO, window 0x1400001,
root 0x1f6, subw 0x0, time 13267383, (-50,165), root:(72,279),
state 0x10, keycode 38 (keysym 0x61, a), same_screen YES,
XLookupString gives 1 bytes: (61) "a"
XFilterEvent returns: False

The corresponding info about this key is also represented in the ASCII table as follows:

$ man 7 ascii |grep a$
041 33 21 ! 141 97 61 a

As you can see, the "keysym 0x61" is also shown in ASCII table, but I still can't find the corresponding info of the "keycode 38", given by `xev -event keyboard', from the ASCII table.

Any hints for this question?

Regards,
HY

Re: The correspondance between the keycode and keysym given by `xev -event keyboard' and ones in ascii table.

<sft8b7$84o$1@news-1.m-online.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4255&group=comp.unix.shell#4255

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!aioe.org!news.mb-net.net!open-news-network.org!news.bgeserver.de!bgepartei.de!news.m-online.net!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: Re: The correspondance between the keycode and keysym given by `xev
-event keyboard' and ones in ascii table.
Date: Sun, 22 Aug 2021 12:19:19 +0200
Organization: (posted via) M-net Telekommunikations GmbH
Lines: 49
Message-ID: <sft8b7$84o$1@news-1.m-online.net>
References: <ad7376b2-8413-495e-9596-05a56dba584bn@googlegroups.com>
NNTP-Posting-Host: 2001:a61:241e:cc01:8110:b4da:4ca1:7cf6
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: news-1.m-online.net 1629627559 8344 2001:a61:241e:cc01:8110:b4da:4ca1:7cf6 (22 Aug 2021 10:19:19 GMT)
X-Complaints-To: news@news-1.m-online.net
NNTP-Posting-Date: Sun, 22 Aug 2021 10:19:19 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
X-Enigmail-Draft-Status: N1110
In-Reply-To: <ad7376b2-8413-495e-9596-05a56dba584bn@googlegroups.com>
 by: Janis Papanagnou - Sun, 22 Aug 2021 10:19 UTC

On 22.08.2021 06:13, hongy...@gmail.com wrote:
> I use the following command to check the keycode and keysym:
>
> $ xev -event keyboard
>
> For example, when I press the ``a'' key on the keyboard, the
> following information will be returned:
>
> KeyRelease event, serial 28, synthetic NO, window 0x1400001, root
> 0x1f6, subw 0x0, time 13267383, (-50,165), root:(72,279), state 0x10,
> keycode 38 (keysym 0x61, a), same_screen YES, XLookupString gives 1
> bytes: (61) "a" XFilterEvent returns: False
>
> The corresponding info about this key is also represented in the
> ASCII table as follows:
>
> $ man 7 ascii |grep a$ 041 33 21 !
> 141 97 61 a
>
> As you can see, the "keysym 0x61" is also shown in ASCII table, but I
> still can't find the corresponding info of the "keycode 38", given by
> `xev -event keyboard', from the ASCII table.
>
> Any hints for this question?

The ASCII table shows a table of characters and the position of these
characters in the table defined by its numbers. (If you omit the grep
above you'd see that the character positions are just for convenience
shown in various bases.) It's an encoding schema for characters.

The keyboard has a set of keys that you can press. Every key-press will
create a code. These have nothing to do with how characters are encoded.
A key marked with '1' on the upper character row will have another code
than the key '1' on the number pad. It's an identification of the keys.

If you want a table of numbers what codes the keyboard keys have you'll
have to write that up for your keyboards, e.g. using something like xev.

This explanation is simplified, but it should serve to understand that
there is a difference between hardware keys (and their identification)
and the character encoding.

HTH.

Janis

> Regards, HY
>

Re: The correspondance between the keycode and keysym given by `xev -event keyboard' and ones in ascii table.

<sftdfu$14itg$1@news.xmission.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4256&group=comp.unix.shell#4256

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.shell
Subject: Re: The correspondance between the keycode and keysym given by `xev -event keyboard' and ones in ascii table.
Date: Sun, 22 Aug 2021 11:47:10 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <sftdfu$14itg$1@news.xmission.com>
References: <ad7376b2-8413-495e-9596-05a56dba584bn@googlegroups.com>
Injection-Date: Sun, 22 Aug 2021 11:47:10 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="1199024"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Sun, 22 Aug 2021 11:47 UTC

In article <ad7376b2-8413-495e-9596-05a56dba584bn@googlegroups.com>,
hongy...@gmail.com <hongyi.zhao@gmail.com> wrote:
>I use the following command to check the keycode and keysym:
>
>$ xev -event keyboard
>
>For example, when I press the ``a'' key on the keyboard, the following
>information will be returned:
....
>As you can see, the "keysym 0x61" is also shown in ASCII table, but I
>still can't find the corresponding info of the "keycode 38", given by `xev
>-event keyboard', from the ASCII table.

1) Whis is it a bad idea to not comply with Kenny's edict when responding
to an HY post?

>Any hints for this question?

2) What question?

and

3) Why do you care?

--
I voted for Trump because I thought he'd make pussy grabbing legal.
I honestly don't see any other way America could be made great again.

Re: The correspondance between the keycode and keysym given by `xev -event keyboard' and ones in ascii table.

<248551b6-870e-407c-ae0b-abcadd9706ddn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4259&group=comp.unix.shell#4259

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a37:9445:: with SMTP id w66mr19354353qkd.410.1629682153584;
Sun, 22 Aug 2021 18:29:13 -0700 (PDT)
X-Received: by 2002:a05:6214:10e6:: with SMTP id q6mr31254422qvt.11.1629682153424;
Sun, 22 Aug 2021 18:29:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Sun, 22 Aug 2021 18:29:13 -0700 (PDT)
In-Reply-To: <sft8b7$84o$1@news-1.m-online.net>
Injection-Info: google-groups.googlegroups.com; posting-host=103.138.53.27; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 103.138.53.27
References: <ad7376b2-8413-495e-9596-05a56dba584bn@googlegroups.com> <sft8b7$84o$1@news-1.m-online.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <248551b6-870e-407c-ae0b-abcadd9706ddn@googlegroups.com>
Subject: Re: The correspondance between the keycode and keysym given by `xev
-event keyboard' and ones in ascii table.
From: hongyi.z...@gmail.com (hongy...@gmail.com)
Injection-Date: Mon, 23 Aug 2021 01:29:13 +0000
Content-Type: text/plain; charset="UTF-8"
 by: hongy...@gmail.com - Mon, 23 Aug 2021 01:29 UTC

On Sunday, August 22, 2021 at 6:19:24 PM UTC+8, Janis Papanagnou wrote:
> On 22.08.2021 06:13, hongy...@gmail.com wrote:
> > I use the following command to check the keycode and keysym:
> >
> > $ xev -event keyboard
> >
> > For example, when I press the ``a'' key on the keyboard, the
> > following information will be returned:
> >
> > KeyRelease event, serial 28, synthetic NO, window 0x1400001, root
> > 0x1f6, subw 0x0, time 13267383, (-50,165), root:(72,279), state 0x10,
> > keycode 38 (keysym 0x61, a), same_screen YES, XLookupString gives 1
> > bytes: (61) "a" XFilterEvent returns: False
> >
> > The corresponding info about this key is also represented in the
> > ASCII table as follows:
> >
> > $ man 7 ascii |grep a$ 041 33 21 !
> > 141 97 61 a
> >
> > As you can see, the "keysym 0x61" is also shown in ASCII table, but I
> > still can't find the corresponding info of the "keycode 38", given by
> > `xev -event keyboard', from the ASCII table.
> >
> > Any hints for this question?
> The ASCII table shows a table of characters and the position of these
> characters in the table defined by its numbers. (If you omit the grep
> above you'd see that the character positions are just for convenience
> shown in various bases.) It's an encoding schema for characters.
>
> The keyboard has a set of keys that you can press. Every key-press will
> create a code. These have nothing to do with how characters are encoded.
> A key marked with '1' on the upper character row will have another code
> than the key '1' on the number pad. It's an identification of the keys.
>
> If you want a table of numbers what codes the keyboard keys have you'll
> have to write that up for your keyboards, e.g. using something like xev.
>
> This explanation is simplified, but it should serve to understand that
> there is a difference between hardware keys (and their identification)
> and the character encoding.

Got it. Thank you very much for your explanations.
Best, HY

Re: The correspondance between the keycode and keysym given by `xev -event keyboard' and ones in ascii table.

<sfuv4g$lb8$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4260&group=comp.unix.shell#4260

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.unix.shell
Subject: Re: The correspondance between the keycode and keysym given by `xev
-event keyboard' and ones in ascii table.
Date: Mon, 23 Aug 2021 01:54:24 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 57
Message-ID: <sfuv4g$lb8$2@dont-email.me>
References: <ad7376b2-8413-495e-9596-05a56dba584bn@googlegroups.com>
<sft8b7$84o$1@news-1.m-online.net>
<248551b6-870e-407c-ae0b-abcadd9706ddn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 23 Aug 2021 01:54:24 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="feff7aca22ce181f8c076f8cf1e2a6ee";
logging-data="21864"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/FGeCT7Q8ElEg/ha8Dfpfp04n0ERAwAv4="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:XKWuvncSWLI0fBx8R1+3ffguGlU=
 by: Lew Pitcher - Mon, 23 Aug 2021 01:54 UTC

On Sun, 22 Aug 2021 18:29:13 -0700, hongy...@gmail.com wrote:

> On Sunday, August 22, 2021 at 6:19:24 PM UTC+8, Janis Papanagnou wrote:
>> On 22.08.2021 06:13, hongy...@gmail.com wrote:
>> > I use the following command to check the keycode and keysym:
>> >
>> > $ xev -event keyboard
>> >
>> > For example, when I press the ``a'' key on the keyboard, the
>> > following information will be returned:
>> >
>> > KeyRelease event, serial 28, synthetic NO, window 0x1400001, root
>> > 0x1f6, subw 0x0, time 13267383, (-50,165), root:(72,279), state 0x10,
>> > keycode 38 (keysym 0x61, a), same_screen YES, XLookupString gives 1
>> > bytes: (61) "a" XFilterEvent returns: False
>> >
>> > The corresponding info about this key is also represented in the
>> > ASCII table as follows:
>> >
>> > $ man 7 ascii |grep a$ 041 33 21 !
>> > 141 97 61 a
>> >
>> > As you can see, the "keysym 0x61" is also shown in ASCII table, but I
>> > still can't find the corresponding info of the "keycode 38", given by
>> > `xev -event keyboard', from the ASCII table.
>> >
>> > Any hints for this question?
>> The ASCII table shows a table of characters and the position of these
>> characters in the table defined by its numbers. (If you omit the grep
>> above you'd see that the character positions are just for convenience
>> shown in various bases.) It's an encoding schema for characters.
>>
>> The keyboard has a set of keys that you can press. Every key-press will
>> create a code. These have nothing to do with how characters are encoded.
>> A key marked with '1' on the upper character row will have another code
>> than the key '1' on the number pad. It's an identification of the keys.
>>
>> If you want a table of numbers what codes the keyboard keys have you'll
>> have to write that up for your keyboards, e.g. using something like xev.
>>
>> This explanation is simplified, but it should serve to understand that
>> there is a difference between hardware keys (and their identification)
>> and the character encoding.
>
> Got it. Thank you very much for your explanations.
>
> Best, HY

FWIW, you might want to take a look at the xmodmap(1) ("man 1 xmodmap")
utility. This is the standard X utility for "modifying keymaps and pointer
button mapping", and can be used to alter that table of Keynum vs Keysym
that Janis talked about.

HTH
--
Lew Pitcher
"In Skills, We Trust"

Re: The correspondance between the keycode and keysym given by `xev -event keyboard' and ones in ascii table.

<sfvobo$uum$1@news-1.m-online.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4263&group=comp.unix.shell#4263

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.m-online.net!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: Re: The correspondance between the keycode and keysym given by `xev
-event keyboard' and ones in ascii table.
Date: Mon, 23 Aug 2021 11:04:55 +0200
Organization: (posted via) M-net Telekommunikations GmbH
Lines: 14
Message-ID: <sfvobo$uum$1@news-1.m-online.net>
References: <ad7376b2-8413-495e-9596-05a56dba584bn@googlegroups.com>
<sft8b7$84o$1@news-1.m-online.net>
<248551b6-870e-407c-ae0b-abcadd9706ddn@googlegroups.com>
<sfuv4g$lb8$2@dont-email.me>
NNTP-Posting-Host: 2001:a61:241e:cc01:c4a3:9fa9:1171:7f54
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: news-1.m-online.net 1629709496 31702 2001:a61:241e:cc01:c4a3:9fa9:1171:7f54 (23 Aug 2021 09:04:56 GMT)
X-Complaints-To: news@news-1.m-online.net
NNTP-Posting-Date: Mon, 23 Aug 2021 09:04:56 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
In-Reply-To: <sfuv4g$lb8$2@dont-email.me>
 by: Janis Papanagnou - Mon, 23 Aug 2021 09:04 UTC

On 23.08.2021 03:54, Lew Pitcher wrote:
>
> FWIW, you might want to take a look at the xmodmap(1) ("man 1 xmodmap")
> utility. This is the standard X utility for "modifying keymaps and pointer
> button mapping", and can be used to alter that table of Keynum vs Keysym
> that Janis talked about.

Besides xmodmap I'm also using xkbmap to fix things in my environment.

Though my comment was just meant to explain that there's a difference
between key-codes and character encoding.

Janis

Re: The correspondance between the keycode and keysym given by `xev -event keyboard' and ones in ascii table.

<c706e560-785b-4086-affd-17730adb8887n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4265&group=comp.unix.shell#4265

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a37:4452:: with SMTP id r79mr24194539qka.70.1629767437896;
Mon, 23 Aug 2021 18:10:37 -0700 (PDT)
X-Received: by 2002:a05:6214:94c:: with SMTP id dn12mr9620414qvb.60.1629767437580;
Mon, 23 Aug 2021 18:10:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Mon, 23 Aug 2021 18:10:37 -0700 (PDT)
In-Reply-To: <sfvobo$uum$1@news-1.m-online.net>
Injection-Info: google-groups.googlegroups.com; posting-host=178.128.97.233; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 178.128.97.233
References: <ad7376b2-8413-495e-9596-05a56dba584bn@googlegroups.com>
<sft8b7$84o$1@news-1.m-online.net> <248551b6-870e-407c-ae0b-abcadd9706ddn@googlegroups.com>
<sfuv4g$lb8$2@dont-email.me> <sfvobo$uum$1@news-1.m-online.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c706e560-785b-4086-affd-17730adb8887n@googlegroups.com>
Subject: Re: The correspondance between the keycode and keysym given by `xev
-event keyboard' and ones in ascii table.
From: hongyi.z...@gmail.com (hongy...@gmail.com)
Injection-Date: Tue, 24 Aug 2021 01:10:37 +0000
Content-Type: text/plain; charset="UTF-8"
 by: hongy...@gmail.com - Tue, 24 Aug 2021 01:10 UTC

On Monday, August 23, 2021 at 5:05:00 PM UTC+8, Janis Papanagnou wrote:
> On 23.08.2021 03:54, Lew Pitcher wrote:
> >
> > FWIW, you might want to take a look at the xmodmap(1) ("man 1 xmodmap")
> > utility. This is the standard X utility for "modifying keymaps and pointer
> > button mapping", and can be used to alter that table of Keynum vs Keysym
> > that Janis talked about.
> Besides xmodmap I'm also using xkbmap to fix things in my environment.

I can't find xkbmap on Ubuntu. Do you mean setxkbmap as shown below?

$ apt-file search -x xkbmap$
x11-xkb-utils: /usr/bin/setxkbmap

HY

Re: The correspondance between the keycode and keysym given by `xev -event keyboard' and ones in ascii table.

<sg1ir0$fu5$1@news-1.m-online.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4266&group=comp.unix.shell#4266

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!news.karotte.org!news.space.net!news.m-online.net!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: Re: The correspondance between the keycode and keysym given by `xev
-event keyboard' and ones in ascii table.
Date: Tue, 24 Aug 2021 03:42:56 +0200
Organization: (posted via) M-net Telekommunikations GmbH
Lines: 27
Message-ID: <sg1ir0$fu5$1@news-1.m-online.net>
References: <ad7376b2-8413-495e-9596-05a56dba584bn@googlegroups.com>
<sft8b7$84o$1@news-1.m-online.net>
<248551b6-870e-407c-ae0b-abcadd9706ddn@googlegroups.com>
<sfuv4g$lb8$2@dont-email.me> <sfvobo$uum$1@news-1.m-online.net>
<c706e560-785b-4086-affd-17730adb8887n@googlegroups.com>
NNTP-Posting-Host: 2001:a61:342c:8f01:444e:fc27:c87e:7461
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: news-1.m-online.net 1629769376 16325 2001:a61:342c:8f01:444e:fc27:c87e:7461 (24 Aug 2021 01:42:56 GMT)
X-Complaints-To: news@news-1.m-online.net
NNTP-Posting-Date: Tue, 24 Aug 2021 01:42:56 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
X-Enigmail-Draft-Status: N1110
In-Reply-To: <c706e560-785b-4086-affd-17730adb8887n@googlegroups.com>
 by: Janis Papanagnou - Tue, 24 Aug 2021 01:42 UTC

On 24.08.2021 03:10, hongy...@gmail.com wrote:
> On Monday, August 23, 2021 at 5:05:00 PM UTC+8, Janis Papanagnou wrote:
>> On 23.08.2021 03:54, Lew Pitcher wrote:
>>>
>>> FWIW, you might want to take a look at the xmodmap(1) ("man 1 xmodmap")
>>> utility. This is the standard X utility for "modifying keymaps and pointer
>>> button mapping", and can be used to alter that table of Keynum vs Keysym
>>> that Janis talked about.
>> Besides xmodmap I'm also using xkbmap to fix things in my environment.
>
> I can't find xkbmap on Ubuntu. Do you mean setxkbmap as shown below?

Correct, it is 'setxkbmap' and 'xkbcomp' that I use to operate two
different keyboards (US/104 and DE/105) simultaneously on one system.
I also use 'xmodmap' to remap CapsLock. (I suppose I could also avoid
the latter command in favour of the former commands, but my trial and
error approach led me there and I was happy enough to get it working.)

Janis

>
> $ apt-file search -x xkbmap$
> x11-xkb-utils: /usr/bin/setxkbmap
>
> HY
>

Re: The correspondance between the keycode and keysym given by `xev -event keyboard' and ones in ascii table.

<72c964ec-712e-4dab-94fd-4d174d3029fen@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4267&group=comp.unix.shell#4267

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:ac8:570e:: with SMTP id 14mr534718qtw.302.1629772981857;
Mon, 23 Aug 2021 19:43:01 -0700 (PDT)
X-Received: by 2002:a37:809:: with SMTP id 9mr24398152qki.318.1629772981694;
Mon, 23 Aug 2021 19:43:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Mon, 23 Aug 2021 19:43:01 -0700 (PDT)
In-Reply-To: <sg1ir0$fu5$1@news-1.m-online.net>
Injection-Info: google-groups.googlegroups.com; posting-host=128.199.66.196; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 128.199.66.196
References: <ad7376b2-8413-495e-9596-05a56dba584bn@googlegroups.com>
<sft8b7$84o$1@news-1.m-online.net> <248551b6-870e-407c-ae0b-abcadd9706ddn@googlegroups.com>
<sfuv4g$lb8$2@dont-email.me> <sfvobo$uum$1@news-1.m-online.net>
<c706e560-785b-4086-affd-17730adb8887n@googlegroups.com> <sg1ir0$fu5$1@news-1.m-online.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <72c964ec-712e-4dab-94fd-4d174d3029fen@googlegroups.com>
Subject: Re: The correspondance between the keycode and keysym given by `xev
-event keyboard' and ones in ascii table.
From: hongyi.z...@gmail.com (hongy...@gmail.com)
Injection-Date: Tue, 24 Aug 2021 02:43:01 +0000
Content-Type: text/plain; charset="UTF-8"
 by: hongy...@gmail.com - Tue, 24 Aug 2021 02:43 UTC

On Tuesday, August 24, 2021 at 9:43:00 AM UTC+8, Janis Papanagnou wrote:
> On 24.08.2021 03:10, hongy...@gmail.com wrote:
> > On Monday, August 23, 2021 at 5:05:00 PM UTC+8, Janis Papanagnou wrote:
> >> On 23.08.2021 03:54, Lew Pitcher wrote:
> >>>
> >>> FWIW, you might want to take a look at the xmodmap(1) ("man 1 xmodmap")
> >>> utility. This is the standard X utility for "modifying keymaps and pointer
> >>> button mapping", and can be used to alter that table of Keynum vs Keysym
> >>> that Janis talked about.
> >> Besides xmodmap I'm also using xkbmap to fix things in my environment.
> >
> > I can't find xkbmap on Ubuntu. Do you mean setxkbmap as shown below?
> Correct, it is 'setxkbmap' and 'xkbcomp' that I use to operate two
> different keyboards (US/104 and DE/105)

See the keymap rules used by me currently:

werner@X10DAi-00:~$ setxkbmap -print
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+us:2+inet(evdev)" };
xkb_geometry { include "pc(pc105)" };
};
werner@X10DAi-00:~$ setxkbmap -query
rules: evdev
model: pc105
layout: us,us
variant: ,

HY

> simultaneously on one system.
> I also use 'xmodmap' to remap CapsLock. (I suppose I could also avoid
> the latter command in favour of the former commands, but my trial and
> error approach led me there and I was happy enough to get it working.)
>
> Janis
> >
> > $ apt-file search -x xkbmap$
> > x11-xkb-utils: /usr/bin/setxkbmap
> >
> > HY
> >

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor