[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DEC Hebrew on Linux consoles




I think there's more than that:

Somewhere in the beginning of the application (I didn't make the application),
it
sends (probably) a request for the proper code page. This request didn't work
well
with my translation - on the other hand, it reverted the screen to using the
original
code page (removing my translation).

Some applications never use any escape code to switch to hebrew, instead they
rely on the user to switch manually.

Switching the code page only changes the screen characrets. The keyboard has
to be modified too: It has to send ASCII codes representing the hebrew code
(E.G. send 97 when the user presses the T key - 'alef').

Do you know of any place where people did it?

> you'll need to modify the code of the 'telnet' command in order to
> support that type of hebrew. the rule is that in order to type in hebrew,
> some escape sequence is being sent to the terminal by the program, and
> then the terminal knows that codes 97-122 refer to hebrew characters. when
> the program wants to switch back to enllish mode, it sends a second escape
> sequence.  Thus, you'll need to modify telnet to recognize these
> sequences, and handle them appropriatly. i'm not sure the way that
> terminfo (or termcap) works will allow you to handle this issue without
> source code modifications. if you indeed wish to do this change, i could
> find the exact escape sequences for you.
>
> guy