Received: from smtp26.services.sfr.fr (unknown [93.17.128.209]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 5C1AC781D6D for <~alpine/users@lists.alpinelinux.org>; Fri, 6 Nov 2020 06:19:12 +0000 (UTC) Received: from cauchy.polynum.local (89.121.198.77.rev.sfr.net [77.198.121.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by msfrf2631.sfr.fr (SMTP Server) with ESMTPS id 4C6D01C000424; Fri, 6 Nov 2020 07:19:11 +0100 (CET) X-mail-filterd: 1.0.0 X-sfr-mailing: LEGIT X-sfr-spamrating: 36 X-sfr-spam: not-spam DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=polynum.com; s=202006; t=1604643551; h=Date:From:To:Cc:Subject:References:In-Reply-To; bh=GyE8qt+b9 bpKlPjwzBVaoCi09voTnyBV7+4ww5nE8y0=; b=aaflbDW/+p0pnpnV+bP3WQMjatkA2t48X/Z32 p8XRwYTjIo0/PQhDXxJIfRzl+2wWdh0vOqNeGscxjHwuV7WIHqPdsh6fbNrQh0h4bvekTlsxpFeN zgfwcs8adEEV16nL1thT5AlMAlidIY644budV1NGDIIlgKhdyEG7oRc05QyaYGuUq41KYDOGaIZh JeYRzcRbTCfb1QGouBMmIoqudFzoMt1UOlaVNRYWNR+tdiOyP6SbzlVxh93e5Rq5W6LLtBZvDyff /To3JyKCmUXsPQ1/NWdv098csIEwo8QP8FsKc9E8eSWFdLhEtOjO820aUCiiWgaP6mDveH9qKFfm A==; Received: from cauchy.polynum.local (89.121.198.77.rev.sfr.net [77.198.121.89]) by msfrf2631.sfr.fr (SMTP Server) with ESMTP id 2BFF81C00041B; Fri, 6 Nov 2020 07:19:11 +0100 (CET) Received: from cauchy.polynum.local (89.121.198.77.rev.sfr.net [77.198.121.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by msfrf2631.sfr.fr (SMTP Server) with ESMTPS; Fri, 6 Nov 2020 07:19:11 +0100 (CET) Received: from cauchy.polynum.local (localhost [127.0.0.1]) by cauchy.polynum.local (8.15.2/8.15.2) with ESMTPS id 0A66JAhO000258 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 6 Nov 2020 07:19:10 +0100 (CET) Received: (from tlaronde@localhost) by cauchy.polynum.local (8.15.2/8.14.9/Submit) id 0A66JAPR000853; Fri, 6 Nov 2020 07:19:10 +0100 (CET) X-Authentication-Warning: cauchy.polynum.local: tlaronde set sender to thierry.laronde@sfr.fr using -f Date: Fri, 6 Nov 2020 07:19:10 +0100 From: tlaronde@polynum.com To: Paul Zillmann Cc: ~alpine/users@lists.alpinelinux.org Subject: Re: Fluxbox: AltGr not working (azerty keyboard) Message-ID: <20201106061910.GA687@polynum.com> References: <20201105155225.GA7882@polynum.com> <58fcdb80-0873-d1aa-bd26-d901eeb31cb9@h6g.de> <20201105182032.GA2504@polynum.com> <20201105190725.GA73@polynum.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Hello Paul, On Thu, Nov 05, 2020 at 10:30:34PM +0100, Paul Zillmann wrote: > Hey Thierry, >=20 > Am 05.11.20 um 20:07 schrieb tlaronde@polynum.com: > >Just a supplementary note: > > > >I switched under Windows (8.x) with Edge, on the same machine (same > >keyboard), and I have the same problem. >=20 > I had no luck under Windows 10 either. Tried Edge (the older version), > Chromium and Firefox. >=20 > >If I switch to a German mapping, I don't get AltGr either. > > > >My keyboard is USB connected. Is your keyboard USB or PS/2 connected? > >Because, IIRC, there is a USB specific Hid specification for the mapping > >and it has nothing to do with what was done before. >=20 > With Windows that was USB and VirtIO Input (PCIe that is, I guess...). > With Linux both USB native and PS/2 native worked. >=20 > The terminal thingy should be really easy - a TTY in a browser is easy to > code. > Since you can use textareas all inputs can come from the browser natively. >=20 > Framebuffer are a completely different story. I don't know what is used > here, could be WebAssembly, could be different ECMAScript versions accord= ing > to the browser's capabilities. > Maybe they use input libraries - could be a polling method. > Only Fabrice Bellard could give you that info - or someone who read the > source code. > Have you talked to the developer? >=20 > Btw. strangely the third assignment works for some keys. The Y key has a > third assignment of "=BB" in the German layout. This works fine in Window= s. >=20 > Maybe I'm going to check that out with FreeBSD. Unfortunately I've never > used NetBSD. Thank you to have taken the time to test and to confirm that there is indeed a problem (i.e. it's not only a weird hardware problem on my side). From a cursory look to the sources, there is a keymap mapping in the JS code so I will indeed ask Fabrice Bellard if he has some clue. Best, T. Laronde >=20 > Good luck, > - Paul >=20 > >Best, > > > >T. Laronde > > > >On Thu, Nov 05, 2020 at 07:20:32PM +0100, tlaronde@polynum.com wrote: > >>Hello Paul, > >> > >>On Thu, Nov 05, 2020 at 06:52:30PM +0100, Paul Zillmann wrote: > >>>Hello Thierry, > >>> > >>>I have some issues understanding your problem. > >>> > >>>Is your issues that some characters in the linked emulator won't work,= is > >>>the problem specific to your kerTeX software? > >>Not with kerTeX but with input from the keyboard in the emulator. As > >>long as I use an US QWERTY keyboard mapping everything is fine, if I > >>select, from the Fluxbox menu a "french" mapping, all the characters > >>accessed composing via AltRight key do not work: I get the normal > >>character associated with the key; if I use shift+AltRight, the shifted; > >>and never the character accessed by AltRight+key. > >> > >>>Besides that I was unable to locate kerTeX in the Apline repositories. > >>> > >>kerTeX is not packaged: it compiles and installs to almost every OS > >>(Alpine included) using its own framework (Plan9, *BSD, Linuces, MacOSX, > >>Windows with a POSIX subsystem for now, but "native" soon. It's libre > >>software under a BSD like licence: > >> > >>http://kertex.kergis.com/ > >> > >>(for the ones who want to try just download the get_mk_install.sh and > >>run it---caveats you need a true ed(1) and not the one from Busybox that > >>is sed masquerading as ed(1)). > >> > >>>Anyway I've tried the emulator - Alpine 3.12 X Window - changed the ke= yboard > >>>settings to German. > >>>I've opened a terminal and a text editor - both took pipes and other > >>>characters accessed by the AltGr key. > >>>I'm working with a native German keyboard (QWERTZ) under Manjaro Linux. > >>> > >>>I've tried both Firefox 82.0.2 and Chromium 86.0.4240.111 and both wor= ked > >>>fine. > >>>I'll check on a Windows machine soon. > >>> > >>>Can you describe your test-scenario for us? > >>>What OS are you using, which browser, what's your native keyboard layo= ut - > >>>am I testing this right or wrong? > >>> > >>I'm on NetBSD/amd64 with Firefox 71.0 and vanilla Xorg with twm and > >>that's all. > >> > >>I have a french azerty pc105 keyboard, USB connected. > >> > >>Firefox gets the correct keys. But the emulator windows not (indeed, the > >>layers are so numerous that the problem could indeed be in the > >>javascript engine and not in the "final" alpine). > >> > >>Thank you for your help! > >> > >>>Am 05.11.20 um 16:52 schrieb tlaronde@polynum.com: > >>>>Hello, > >>>> > >>>>Fabrice Bellard has developed an emulator in JavaScript, and it is now > >>>>possible to have, in a browser, Alpine/i586 running. See: > >>>> > >>>>https://bellard.org/jslinux/ > >>>> > >>>>I'm the developper of KerTeX, a TeX and al. distribution and I'd like > >>>>to let people try it without installing, thus on Alpine/i586 in > >>>>JSLinux, the X11 version (there is also a console only version). > >>>> > >>>>No problem with kerTeX: it works. > >>>> > >>>>The problem is for non QWERTY users. If I switch the keyboard (right > >>>>click menu -> keyboard mapping-> french), all is OK except all the > >>>>letters that are accessed with AltGr---and Alt and AltGr simply don't > >>>>work (preventing from using backslash or pipe, and this is quite a > >>>>problem). > >>>> > >>>>There is no problem with console only (another choice with Alpine Lin= ux > >>>>on the page above). > >>>> > >>>>I have searched the Internet about this. There are quite a lot of > >>>>similar issues (not only with Alpine or Fluxbox) but no real solution= . I > >>>>have tried several "solutions" but the result is the same, or worse. > >>>> > >>>>Does somebody have any clue? > >>>> > >>>>TIA > >>--=20 > >> Thierry Laronde > >> http://www.kergis.com/ > >> http://kertex.kergis.com/ > >> http://www.sbfa.fr/ > >>Key fingerprint =3D 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C >=20 > --=20 > H6G > Paul Zillmann > Binzer Str. 17 > 18107 Rostock >=20 > www.h6g.de > mail@h6g.de >=20 > Tel.: (03 81) 36 76 79 27 - 0 --=20 Thierry Laronde http://www.kergis.com/ http://kertex.kergis.com/ http://www.sbfa.fr/ Key fingerprint =3D 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C