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

Re: Writing multi-lingual terminal applications



On Mon, 26 Mar 2001, Ilya Konstantinov wrote:

> On Mon, Mar 26, 2001 at 09:39:39AM +0200, Shlomi Fish wrote:
> > A friend of mine wishes to do such a thing. AFAIK, all he needs to do is
> > to adapt the output to the various codepages of the languages. But is
> > there another catch?
> 
> Yes, and expect the user to configure their terminal to the font of the
> certain language.

Or they can set:

LANG=he
LC_MESSAGES=C

and not worry about those silly hebrew messages. 

(such relatively complex behaviour is a reason to use existing libraries,
rather than re-implementing this functionality)

> 
> Or, you can expect the user to run a Unicode terminal (latest Konsole
> and xterm can do it) and output in utf-8 (and then you can even have
> multiple languages on the same terminal).

I don't have a good experince with konsole. I could never get it to
display:

  konsole --help

properly :(

(from within bash in konsole)

(I have iso10646-1 fonts which I successfuly used for the user interface
of the same konsole). But my version of kde ir relativly ancient.

-- 
Tzafrir Cohen
mailto:tzafrir@technion.ac.il
http://www.technion.ac.il/~tzafrir


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il