From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 Date: Sat, 30 May 2020 14:41:25 +0200 From: Alexey Gladkov To: Linux console tools development discussion Message-ID: <20200530124125.fcthljmihgk4hpnp@comp-core-i7-2640m-0182e6> References: <20200516162009.GA8332@i7> <20200528220642.GA11577@llamedos.localdomain> <20200530092708.GA27882@i7> <20200530101309.fzaxzwnknlxsmvce@comp-core-i7-2640m-0182e6> <20200530120947.GA29466@i7> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hmtkbb7tdalnqsc7" Content-Disposition: inline In-Reply-To: <20200530120947.GA29466@i7> Subject: Re: [kbd] Plus instead acute accent X-BeenThere: kbd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Linux console tools development discussion List-Id: Linux console tools development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 May 2020 12:41:32 -0000 Archived-At: List-Archive: --hmtkbb7tdalnqsc7 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 30, 2020 at 02:09:47PM +0200, Daniel G. wrote: > > > If you try to load de Spanish keymap with: > > > $ loadkeys es > > >=20 > > > It takes you "somewhere" with a Spanish misconfigured map that shows = the =F1 > > > correctly, but with some issues with the acute accents, which appear,= for > > > example, as +a instead of a-acute. I have no idea of which "default" = map > > > could it be. > > >=20 > > > But if you put the absolute path to the map, the problem is fixed. > > > $ loadkeys /usr/share/keymaps/i386/qwerty/es.map.gz > >=20 > > Do you have /usr/share/keymaps/i386/olpc/es.map.gz ? > > If yes, can you try the following? > >=20 > > $ loadkeys /usr/share/keymaps/i386/olpc/es.map.gz >=20 > I've tried it. And it loads the incorrect map, I mean, one showing +a ins= tead > of a-cute. Just as I suspected. > I have just removed that map from the system, and 'loadkeys es' works > properly, loading a correct Spanish map. It seems we have found the > "culprit". >=20 > As an immediate solution it is easy to remove /olpc/es.map.gz to make it > work as expected with 'loadkeys es'. or you could use: $ loadkeys qwerty/es > But it could be interesting to know why the default path to the Spanish > keymap goes to /olpc instead of /qwerty. I've tried to study the code of > loadkeys, but sorry, it is out of my range :-(.=20 This is because loadkeys recursively searches for keymap in the /usr/share/keymaps/*/* subdirectories (on your system). Directory names are sorted alphabetically. keymaps/i386/azerty keymaps/i386/bepo keymaps/i386/carpalx keymaps/i386/colemak keymaps/i386/dvorak keymaps/i386/fgGIod keymaps/i386/neo keymaps/i386/olpc keymaps/i386/qwerty keymaps/i386/qwertz as you can see /olpc goes before /qwerty. --=20 Rgrds, legion --hmtkbb7tdalnqsc7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEfyo9BymBSaB5PJpOpFq6VEz/1DQFAl7SVHUACgkQpFq6VEz/ 1DQX0g//dIj2r/G3pIbiQyBfF9swYUwutjBvUP5MPBakyglddg6m2OA6W2Iq74wn 9deZps9NWMcUF3EoQDVAMVsR/ulb8S5Uycn3jTOBsseC0tm3CijAFSfCerSvowJZ UpMc2pZIkDAD7t7iaryIQtiTxAiNPVWYCtpx4SqXNMWIgDPAVn2X/hQ9nzvYzgiF hUcSZFTmtSyQLo8ZGzkuFrqHwPEF1ef1ZgJ2oIH27AwbR7UD2FoO3MiZyTYLy4hZ rw4Kz8b/EFuZXVgXGmfdGHft2DiMTulSq4i8z6YjMh6TZY89TgyWab/YSaNCrIhs vMw/kaWBF1MoasIo4RqalWEyqAIFRzDCXVH/FvXbSJHLBlGggcd4/S2EWtMvmgLG N/0SfKEzgCV4PNnXhVVrUJuqjDpU9I5wPwOVc1xuqWBpCEL1A8p3IKPvSpTYXuKc Y/qU4m508hA3VK0ndkuJw8lvAzJrnPKU5o9nVtZmU7HZqq2+1vcbjTf6QqoN4eWC VwKM2IW1XShpHInuL5ZNjUd5TZVoQu80GW81QVutz+9WLZun9tcephLQSc1ZTua3 0kL4YCktcZSppNirD8544fS/MKljhIrmaufuew9b4+mZKm+ueaZM547VRq2wWpWw VyASAEJsFmNztFwqZ2OraGPee8Imd6XHqrQbGDrtmLzQ2LdpKBk= =7dVY -----END PGP SIGNATURE----- --hmtkbb7tdalnqsc7--