Roozbeh Pournader <[EMAIL PROTECTED]> wrote:
>> There is also a small patch for the linux console, to stop it from
>> recognising CSI.
>
>Where's that? I definitely need it! (And don't tell anyone... ;))
Here's the relevant portion from the FAQ included wih the greek-2.0
package by Alexios Chouchoulas:
...
The good news is that the patch is very easy and doesn't need any knowledge
of programming. Here's what you do.
a. Load up /usr/src/linux/drivers/char/console.c in your favourite editor.
b. Look for the string "128+27" (no quotes).
c. You'll find something that looks like this:
ok = tc && (c >= 32 ||
(!utf && !(((disp_ctrl ? CTRL_ALWAYS
: CTRL_ACTION) >> c) & 1)))
&& (c != 127 || disp_ctrl)
&& (c != 128+27);
d. Comment out the line where your cursor is, so it looks like this:
ok = tc && (c >= 32 ||
(!utf && !(((disp_ctrl ? CTRL_ALWAYS
: CTRL_ACTION) >> c) & 1)))
&& (c != 127 || disp_ctrl)
/* && (c != 128+27) */;
(note the /* and */ on the last line).
e. Search for 127+27 again. You'll find something like this:
case 128+27:
vc_state = ESsquare;
continue;
f. Put the whole thing inside comments:
/* case 128+27:
vc_state = ESsquare;
continue; */
g. That's it! Compile the kernel. If all goes well, you've just patched
your kernel to fully use the 437G encoding.
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/