Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/pc-kbd-altgr/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


In sys/src/9/pc/kbd:447 a `Latin' key press will turn on a key
collecting mode to allow the input of characters as described in
keyboard(6).

Cyrillic characters may be entered, for example, by a sequence
Latin + @ + Z + H, resulting in Ж. On a german keyboard layout
@ is only accessible using Altgr.  Unfortunately, Altgr cancels the
collection mode started by pressing `Latin', so on such a keyboard I
cannot enter cyrillic letters this way.

If I remove the line
			kbscan.collecting = 0;

from the Altgr case, I can enter cyrillic letters using the Latin + @
sequence.

Likely there has been a reason to have Altgr cancel the collection of
keys (I don't know which), so this change probably is not acceptable.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.