From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.oboj.net ([195.178.185.14]) by ur; Sat Mar 18 10:54:21 EDT 2017 Received: from mail.oboj.net (mail.oboj.net [195.178.185.14]) (Authenticated sender: jamos@oboj.net) by mail.oboj.net (Postfix) with ESMTPA id CC1B11041AA for <9front@9front.org>; Sat, 18 Mar 2017 15:56:23 +0100 (CET) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_8152e78d4a3ddbfb6146ef6ec8b56710" Date: Sat, 18 Mar 2017 15:56:23 +0100 From: jamos@oboj.net To: <9front@9front.org> Subject: Re: [9front] drawterm deadkeys / XIM support In-Reply-To: References: Message-ID: X-Sender: jamos@oboj.net User-Agent: Roundcube Webmail/RCMAIL_VERSION List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: social map/reduce interface-scale session-based singleton --=_8152e78d4a3ddbfb6146ef6ec8b56710 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =20 Hello everyone, It has also bugged me that dead keys didn't work for me in Drawterm under Linux. Especially "^" and "`" is dead characters in the Swedish/Finnish layout. Of course it is not so hard to modify the keyboard layout (in Linux) to make them non-dead, especially as I so far mainly used them alone in Plan 9 (e.g. ` and ^ and not so much =C3=A0 and =C3=B4). That said, I prefer to use a single non-redundant layout per keyboard, and being able to type in various languages witout switching layouts. On a related topic: Most of the time I drawterm from Linux to my 9front cpu-server, but I have started using a rasberry pi terminal instead running Millers image. Doing so, I realised that my Keyboard did not generate any key- code for "extra" key on my European ISO 105-key keyboard, when connected to usb on the rpi using a PS/2 to USB-adapter. I had only used it with PS/2 in Plan 9 on PC-hardware before, and I soon found out that the 105th key works well with both PS/2 and USB under 9front, but only with PS/2 in the Bells-version (Thank you 9fronters for that!) So I assume that switching to 9front on my rpi would solve that issue :-) Wishing you good Saturday, Jonas Amoson Ps. This is my first post to this very list, but I have been around using Plan 9 for some time.=20 2017-03-15 00:57 skrev Julius Schmidt:=20 > Dead keys didn't work as intended, a recent commit adds support for grave,=20 > acute, circumflex and tilde; but they don't function as dead keys. > To get proper dead key support we would need XIM support, which doesn't=20 > seem terribly difficult to do with Xlib, but I'm not sure it's worth=20 > adding since I don't know anyone that would use XIM with drawterm. >=20 > So if anyone is interested in having deadkeys or other X input chicanery=20 > (like the crazy CJK input mechanisms) working in drawterm, please speak=20 > up. >=20 > Related. There are like 8 more dead accents that I was too lazy to look=20 > the unicode equivalents up. > They're documented in https://www.x.org/docs/XKB/XKBproto.pdf [1] Appendix=20 > C.1.5 on page C-3 (page 119 in the pdf). >=20 > The full list is: >=20 > 254 80 DEAD GRAVE ACCENT > 254 81 DEAD ACUTE ACCENT > 254 82 DEAD CIRCUMFLEX > 254 83 DEAD TILDE > 254 84 DEAD MACRON > 254 85 DEAD BREVE > 254 86 DEAD DOT ABOVE > 254 87 DEAD DIAERESIS > 254 88 DEAD RING ABOVE > 254 89 DEAD DOUBLE ACUTE ACCENT > 254 90 DEAD CARON > 254 91 DEAD CEDILLA > 254 92 DEAD OGONEK > 254 93 DEAD IOTA > 254 94 DEAD VOICED SOUND > 254 95 DEAD SEMI VOICED SOUND > 254 96 DEAD DOT BELOW >=20 > If anyone wants to complete the translation table in drawterm, please go=20 > ahead. Links: ------ [1] https://www.x.org/docs/XKB/XKBproto.pdf --=_8152e78d4a3ddbfb6146ef6ec8b56710 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Hello everyone,

It has also bugged me that dead keys didn'twork for me in Drawterm under Linux.
Especially "^" and "`" is dea= d characters
in the Swedish/Finnish layout. Of course it
is not s= o hard to modify the keyboard layout
(in Linux) to make them non-dead,= especially
as I so far mainly used them alone in Plan 9
(e.g. ` = and ^ and not so much à and ô). That
said, I prefer to us= e a single non-redundant
layout per keyboard, and being able to typein various languages witout switching layouts.

On a related = topic: Most of the time I drawterm
from Linux to my 9front cpu-server,= but I have
started using a rasberry pi terminal instead
running = Millers image. Doing so, I realised
that my Keyboard did not generate = any key-
code for "extra" key on my European ISO 105-key
keyboard= , when connected to usb on the rpi
using a PS/2 to USB-adapter. I had = only used
it with PS/2 in Plan 9 on PC-hardware before,
and I soo= n found out that the 105th key works
well with both PS/2 and USB under= 9front, but
only with PS/2 in the Bells-version (Thank you
9fron= ters for that!) So I assume that switching
to 9front on my rpi would s= olve that issue :-)

Wishing you good Saturday,

Jonas = Amoson

Ps. This is my first post to this very list, but
I h= ave been around using Plan 9 for some time.

 

2017-03-15 00:57 skrev Julius Schmidt:

Dead keys didn't work as intended, a recent commit adds support for gr=
ave,=20
acute, circumflex and tilde; but they don't function as dead keys.
To get proper dead key support we would need XIM support, which doesn't=20
seem terribly difficult to do with Xlib, but I'm not sure it's worth=20
adding since I don't know anyone that would use XIM with drawterm.

So if anyone is interested in having deadkeys or other X input chicanery=20
(like the crazy CJK input mechanisms) working in drawterm, please speak=20
up.


Related. There are like 8 more dead accents that I was too lazy to look=20
the unicode equivalents up.
They're documented in h=
ttps://www.x.org/docs/XKB/XKBproto.pdf Appendix=20
C.1.5 on page C-3 (page 119 in the pdf).

The full list is:

254 80 DEAD GRAVE ACCENT
254 81 DEAD ACUTE ACCENT
254 82 DEAD CIRCUMFLEX
254 83 DEAD TILDE
254 84 DEAD MACRON
254 85 DEAD BREVE
254 86 DEAD DOT ABOVE
254 87 DEAD DIAERESIS
254 88 DEAD RING ABOVE
254 89 DEAD DOUBLE ACUTE ACCENT
254 90 DEAD CARON
254 91 DEAD CEDILLA
254 92 DEAD OGONEK
254 93 DEAD IOTA
254 94 DEAD VOICED SOUND
254 95 DEAD SEMI VOICED SOUND
254 96 DEAD DOT BELOW

If anyone wants to complete the translation table in drawterm, please go=20
ahead.

 

 
--=_8152e78d4a3ddbfb6146ef6ec8b56710--