Subject: Re: Cyrillic support
To: Maxim Khmurenko <maxim.khmurenko@a4vision.com>
From: None <ww@styx.org>
List: port-macppc
Date: 03/12/2002 10:49:12
On Mon, Mar 11, 2002 at 05:15:23PM +0300, Maxim Khmurenko wrote:
> somebody, help me with cyrillic support. or just tell me how to enable
> support for foreign language ( fonts, keymaps, screenmaps and etc.)

You should already have the fonts if you have installed X. Running

	xlsfonts | grep koi8

should list the available fonts. If they don't show up you might
have a problem with your X installation. There are also some
extra fonts in

ftp://ftp.styx.org/users/ww/cyrillic

There is a program called xruskb that will allow you to toggle 
between keymaps. I could have sworn that it used to be in
pkgsrc, but I guess I am mistaken. In any case, the current
version is

ftp://ftp.yars.free.net/pub/software/unix/X11/xruskb-1.15.2.tar.gz

Then, all that remains is to tell the programs that you're using
to use the KOI-8 fonts. The method varies by program. For example
with emacs, I had to put

Emacs.default.attributeFont: -*-courier-medium-r-*--10-*-*-*-*-*-koi8-r
Emacs.italic.attributeFont:  -*-courier-medium-i-*--10-*-*-*-*-*-koi8-r
Emacs*menubar*Font:          -*-helvetica-bold-r-*--12-*-*-*-*-*-koi8-r

in ~/.Xdefaults. A similar approach works for things like xterm. 
With Netscape I believe there's a default encoding menu option.

http://www.cs.toronto.edu/~mes/pub/cyril.html has a bunch of 
pointers to more information, and the linux cyrillic howto is
also helpful.

Cheers,
-w