Text mode (CLI), Knoppix, russian

2003-02-02 Thread Hans Schou

Hi

I have tried to run the Debian distribution called Knoppix with 
language set up for russian. The GUI looks fine but when I turn over 
to text mode it still has latin screen font and keyboard driver.

Can someone guide me to how I install or set up my system so it as 
perfect as it can be. Also I want lynx to show cyrillic characters 
too. What do I do with Pine? Is there anything special I should do 
with 'vi'?

If possible I would like the information in english, as I don't 
understand russian yet.

best regards/hans
-- 
Hamletsgade 4 - 201, DK-2200 København N, Phone: +45 3582 9079
Schou Industries ApS  http://schou.dk/CVR: 26 13 44 39
--
Betal for fri software, eller få støtte til dit projekt!
http://frisoftware.dk/ - mød dem på http://linuxforum.dk/



Re: Text mode (CLI), Knoppix, russian

2003-02-02 Thread Andrey Kiselev
On Sun, Feb 02, 2003 at 04:11:53PM +0100, Hans Schou wrote:
> I have tried to run the Debian distribution called Knoppix with 
> language set up for russian. The GUI looks fine but when I turn over 
> to text mode it still has latin screen font and keyboard driver.

Try

apt-get install console-cyrillic

This package contains cyrillic console fonts and keyboard mappings.
UniCyr font probably be the best choice for you.

> perfect as it can be. Also I want lynx to show cyrillic characters 
> too. What do I do with Pine? Is there anything special I should do 
> with 'vi'?

You should select cyrillic font for your xterm, it is enough for most
terminal applications. Try one of the fonts contained in xfonts-cyrillic,
xfonts-bolkhov-75dpi and xfonts-bolkhov-misc packages.
Note that for lynx you should explicitly specify encoding:

CHARACTER_SET:koi8-r
ASSUME_CHARSET:koi8-r
ASSUME_LOCAL_CHARSET:koi8-r

-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517



Re: Text mode (CLI), Knoppix, russian

2003-02-02 Thread Hans Schou
On Sun, 2 Feb 2003, Andrey Kiselev wrote:

> apt-get install console-cyrillic

I'll try that...

> This package contains cyrillic console fonts and keyboard mappings.
> UniCyr font probably be the best choice for you.

OK, I tried the UniCyr - which does not look good to me. I'm working 
on designing braille table for blind russian users. I thought I should 
use 
  setfont koi8r-8x8
to get the fonts look right. After loading the font I edit this file:
http://www.sslug.dk/~chlor/braille/text.ru.txt
The mapping should be koi8 but it looks wrong with UniCyr.

Á C1 193 (   1)01 B+2801 U+0430 cyrillic small letter a
Ä C4 196 (   145  )0B B+2819 U+0434 cyrillic small letter de
Is the above a cyrillic a and d?

Should I use ISO-8859-5 instead?
ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-5.TXT
Here is "cyrillic small a" 0xD0 and not 0xC1 as above.

Can someone explain this?
Which standard will a blind text mode user use?

> You should select cyrillic font for your xterm,

xterm is not an issue for blind people. Not at this time though.

If you are courious about blind table, you can see them here.
http://www.sslug.dk/~chlor/braille/?t1=ru&c=14
The blind driver is here http://mielke.cc/brltty/

best regards/hans
-- 
Hamletsgade 4 - 201, DK-2200 København N, Phone: +45 3582 9079
Schou Industries ApS  http://schou.dk/CVR: 26 13 44 39
--
Betal for fri software, eller få støtte til dit projekt!
http://frisoftware.dk/ - mød dem på http://linuxforum.dk/



Re: Text mode (CLI), Knoppix, russian

2003-02-03 Thread Andrey Kiselev
On Sun, Feb 02, 2003 at 10:23:26PM +0100, Hans Schou wrote:
> to get the fonts look right. After loading the font I edit this file:
> http://www.sslug.dk/~chlor/braille/text.ru.txt
> The mapping should be koi8 but it looks wrong with UniCyr.
> 
> ? C1 193 (   1)01 B+2801 U+0430 cyrillic small letter a
> ? C4 196 (   145  )0B B+2819 U+0434 cyrillic small letter de
 ^^^
> Is the above a cyrillic a and d?

No we see, that Pine requires special tuning to work with koi8-r
encoding :-) I'm not a Pine user, so I don't know how to fix this.
But I have looked at link above, this is really table in koi8-r
encoding, so you should use koi8-r everywhere.

> Should I use ISO-8859-5 instead?
> ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-5.TXT
> Here is "cyrillic small a" 0xD0 and not 0xC1 as above.

There is a mess with different cyrillic encodings. We have several
incompatible ones. ISO-8859-5 was used in commercial Unix systems,
but in the free unices KOI8-R was used instead. Now ISO-8859-5
practically unused and you may safely forget about it. Another widely
spreaded encodings are CP1251, used in MS Windows systems, and CP866,
used in MS DOS (and all of this codepages are incompatible with each
other!).

> Can someone explain this?
> Which standard will a blind text mode user use?

Your software will be used on Linux systems, so koi8-r should be
supported in any case. Probably you should make codepage selection
process easy configurable to get possibility select any one.


-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517