From mboxrd@z Thu Jan 1 00:00:00 1970 From: witek@lte5000.fixsoftware.pl Subject: Oacute patch Date: Thu, 20 Jun 2002 23:48:08 +0200 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <20020620214808.GA14993@lte5000.fixsoftware.pl> Mime-Version: 1.0 Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-msdos@vger.kernel.org This is analogous with 'Cyrillic er'. Oacute ALT+O (E0 in cp852 code page). --- dosemu-1.1.3/src/plugin/kbd_unicode/serv_xlat.c.orig Thu Jun 20 16:20:54 2002 +++ dosemu-1.1.3/src/plugin/kbd_unicode/serv_xlat.c Thu Jun 20 19:57:10 2002 @@ -1723,8 +1723,8 @@ */ bios_key = is_accent ? ascii : make_bios_code_r(make, key, ascii, keysym, state); - if (bios_key == 0x23e0) /* Cyrillic_er work around */ - bios_key &= 0x00FF; + if (bios_key == 0x23e0 || bios_key == 0x18e0) /* Cyrillic_er work around */ + bios_key &= 0x00FF; /* ^^^^^^^^^^^^^^^^^^ Oacute */ #if 0 k_printf("translate_key: keysym=%04x bios_key=%04x\n", keysym, bios_key); -- Witold Filipczyk