On Tue, 2 Apr 2002, Grigory Batalov wrote:
> I can't type in Cyrillic_er symbol (it's 'CYRILLIC SMALL
> LETTER ER' in http://www.unicode.org/charts/PDF/U0400.pdf,
> code 0x0440, looks like 'p'). Neither in console nor in X.
> Also I can't type 'CYRILLIC CAPITAL LETTER ER' (code 0x0420,
> looks like 'P') when in X.
> Some time ago I got patch from Sergey Suleymanovor for
> dosemu-1.0.2 that fixes problem for 1.0.2 version. Maybe
> such patch exist for 1.1.3?
Partly: this issue came up a week ago when somebody asked why he could not
use alt-224 (Greek letter alpha in codepage 437).
I'm not sure about the small cyrillic er (difficult to test here): the
patch you quoted converted 0x23E0 into 0x00E0 (but that's the same code
as the Capital letter!).
So please test this patch and let us know.
Bart
(In the past I never read CCCP as SSSR until somebody told me about it ;-)
--- src/base/bios/int16.c.old Tue Apr 2 16:38:42 2002
+++ src/base/bios/int16.c Tue Apr 2 16:53:25 2002
@@ -30,7 +30,7 @@
unsigned char scan_code = key >> 8;
/* Ensure we actually need to do something */
- if (extended == EXTENDED) {
+ if (extended == EXTENDED || key == 0x00e0) {
return key;
}
@@ -38,6 +38,8 @@
/* is character 0xE0 ? */
if ((key & 0xff) == 0xe0) {
key &= ~0xff; /* yes, set to 0x00 */
+ if (scan_code == 0x23) /* small cyrillic er */
+ return 0x00e0;
/* Hide new scan codes */
return scan_code >= 0x85 ? -1 : key;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html