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

Re: DEC Hebrew on Linux consoles



On Thu, 17 Dec 1998, Isaac Aaron wrote:

> Is it possible to support DEC oldcode Hebrew on a Linux console?
> 
> I'm trying to use a telnet connection to a server that uses DEC oldcode
> Hebrew. I couldn't find any codepage or a keytable that matches it.
> I tried a translation table for the screen from DEC oldcode to
> ISO-8859-8 (moved everything from 97 to 224) but it didn't work quite
> well (to be perfectly honest, I didn't expect too much...)

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