--- console-cyrillic-0.9.orig/debian/8859-5_to_uni.trans +++ console-cyrillic-0.9/debian/8859-5_to_uni.trans @@ -0,0 +1,256 @@ +0x00 U+0000 # NULL +0x01 U+0001 # START OF HEADING +0x02 U+0002 # START OF TEXT +0x03 U+0003 # END OF TEXT +0x04 U+0004 # END OF TRANSMISSION +0x05 U+0005 # ENQUIRY +0x06 U+0006 # ACKNOWLEDGE +0x07 U+0007 # BELL +0x08 U+0008 # BACKSPACE +0x09 U+0009 # HORIZONTAL TABULATION +0x0a U+000a # LINE FEED +0x0b U+000b # VERTICAL TABULATION +0x0c U+000c # FORM FEED +0x0d U+000d # CARRIAGE RETURN +0x0e U+000e # SHIFT OUT +0x0f U+000f # SHIFT IN +0x10 U+0010 # DATA LINK ESCAPE +0x11 U+0011 # DEVICE CONTROL ONE +0x12 U+0012 # DEVICE CONTROL TWO +0x13 U+0013 # DEVICE CONTROL THREE +0x14 U+0014 # DEVICE CONTROL FOUR +0x15 U+0015 # NEGATIVE ACKNOWLEDGE +0x16 U+0016 # SYNCHRONOUS IDLE +0x17 U+0017 # END OF TRANSMISSION BLOCK +0x18 U+0018 # CANCEL +0x19 U+0019 # END OF MEDIUM +0x1a U+001a # SUBSTITUTE +0x1b U+001b # ESCAPE +0x1c U+001c # FILE SEPARATOR +0x1d U+001d # GROUP SEPARATOR +0x1e U+001e # RECORD SEPARATOR +0x1f U+001f # UNIT SEPARATOR +0x20 U+0020 # SPACE +0x21 U+0021 # EXCLAMATION MARK +0x22 U+0022 # QUOTATION MARK +0x23 U+0023 # NUMBER SIGN +0x24 U+0024 # DOLLAR SIGN +0x25 U+0025 # PERCENT SIGN +0x26 U+0026 # AMPERSAND +0x27 U+0027 # APOSTROPHE +0x28 U+0028 # LEFT PARENTHESIS +0x29 U+0029 # RIGHT PARENTHESIS +0x2a U+002a # ASTERISK +0x2b U+002b # PLUS SIGN +0x2c U+002c # COMMA +0x2d U+002d # HYPHEN-MINUS +0x2e U+002e # FULL STOP +0x2f U+002f # SOLIDUS +0x30 U+0030 # DIGIT ZERO +0x31 U+0031 # DIGIT ONE +0x32 U+0032 # DIGIT TWO +0x33 U+0033 # DIGIT THREE +0x34 U+0034 # DIGIT FOUR +0x35 U+0035 # DIGIT FIVE +0x36 U+0036 # DIGIT SIX +0x37 U+0037 # DIGIT SEVEN +0x38 U+0038 # DIGIT EIGHT +0x39 U+0039 # DIGIT NINE +0x3a U+003a # COLON +0x3b U+003b # SEMICOLON +0x3c U+003c # LESS-THAN SIGN +0x3d U+003d # EQUALS SIGN +0x3e U+003e # GREATER-THAN SIGN +0x3f U+003f # QUESTION MARK +0x40 U+0040 # COMMERCIAL AT +0x41 U+0041 # LATIN CAPITAL LETTER A +0x42 U+0042 # LATIN CAPITAL LETTER B +0x43 U+0043 # LATIN CAPITAL LETTER C +0x44 U+0044 # LATIN CAPITAL LETTER D +0x45 U+0045 # LATIN CAPITAL LETTER E +0x46 U+0046 # LATIN CAPITAL LETTER F +0x47 U+0047 # LATIN CAPITAL LETTER G +0x48 U+0048 # LATIN CAPITAL LETTER H +0x49 U+0049 # LATIN CAPITAL LETTER I +0x4a U+004a # LATIN CAPITAL LETTER J +0x4b U+004b # LATIN CAPITAL LETTER K +0x4c U+004c # LATIN CAPITAL LETTER L +0x4d U+004d # LATIN CAPITAL LETTER M +0x4e U+004e # LATIN CAPITAL LETTER N +0x4f U+004f # LATIN CAPITAL LETTER O +0x50 U+0050 # LATIN CAPITAL LETTER P +0x51 U+0051 # LATIN CAPITAL LETTER Q +0x52 U+0052 # LATIN CAPITAL LETTER R +0x53 U+0053 # LATIN CAPITAL LETTER S +0x54 U+0054 # LATIN CAPITAL LETTER T +0x55 U+0055 # LATIN CAPITAL LETTER U +0x56 U+0056 # LATIN CAPITAL LETTER V +0x57 U+0057 # LATIN CAPITAL LETTER W +0x58 U+0058 # LATIN CAPITAL LETTER X +0x59 U+0059 # LATIN CAPITAL LETTER Y +0x5a U+005a # LATIN CAPITAL LETTER Z +0x5b U+005b # LEFT SQUARE BRACKET +0x5c U+005c # REVERSE SOLIDUS +0x5d U+005d # RIGHT SQUARE BRACKET +0x5e U+005e # CIRCUMFLEX ACCENT +0x5f U+005f # LOW LINE +0x60 U+0060 # GRAVE ACCENT +0x61 U+0061 # LATIN SMALL LETTER A +0x62 U+0062 # LATIN SMALL LETTER B +0x63 U+0063 # LATIN SMALL LETTER C +0x64 U+0064 # LATIN SMALL LETTER D +0x65 U+0065 # LATIN SMALL LETTER E +0x66 U+0066 # LATIN SMALL LETTER F +0x67 U+0067 # LATIN SMALL LETTER G +0x68 U+0068 # LATIN SMALL LETTER H +0x69 U+0069 # LATIN SMALL LETTER I +0x6a U+006a # LATIN SMALL LETTER J +0x6b U+006b # LATIN SMALL LETTER K +0x6c U+006c # LATIN SMALL LETTER L +0x6d U+006d # LATIN SMALL LETTER M +0x6e U+006e # LATIN SMALL LETTER N +0x6f U+006f # LATIN SMALL LETTER O +0x70 U+0070 # LATIN SMALL LETTER P +0x71 U+0071 # LATIN SMALL LETTER Q +0x72 U+0072 # LATIN SMALL LETTER R +0x73 U+0073 # LATIN SMALL LETTER S +0x74 U+0074 # LATIN SMALL LETTER T +0x75 U+0075 # LATIN SMALL LETTER U +0x76 U+0076 # LATIN SMALL LETTER V +0x77 U+0077 # LATIN SMALL LETTER W +0x78 U+0078 # LATIN SMALL LETTER X +0x79 U+0079 # LATIN SMALL LETTER Y +0x7a U+007a # LATIN SMALL LETTER Z +0x7b U+007b # LEFT CURLY BRACKET +0x7c U+007c # VERTICAL LINE +0x7d U+007d # RIGHT CURLY BRACKET +0x7e U+007e # TILDE +0x7f U+007f # DELETE +0x80 U+0080 # +0x81 U+0081 # +0x82 U+0082 # +0x83 U+0083 # +0x84 U+0084 # +0x85 U+0085 # +0x86 U+0086 # +0x87 U+0087 # +0x88 U+0088 # +0x89 U+0089 # +0x8a U+008a # +0x8b U+008b # +0x8c U+008c # +0x8d U+008d # +0x8e U+008e # +0x8f U+008f # +0x90 U+0090 # +0x91 U+0091 # +0x92 U+0092 # +0x93 U+0093 # +0x94 U+0094 # +0x95 U+0095 # +0x96 U+0096 # +0x97 U+0097 # +0x98 U+0098 # +0x99 U+0099 # +0x9a U+009a # +0x9b U+009b # +0x9c U+009c # +0x9d U+009d # +0x9e U+009e # +0x9f U+009f # +0xa0 U+00a0 # NO-BREAK SPACE +0xa1 U+0401 # CYRILLIC CAPITAL LETTER IO +0xa2 U+0402 # CYRILLIC CAPITAL LETTER DJE +0xa3 U+0403 # CYRILLIC CAPITAL LETTER GJE +0xa4 U+0404 # CYRILLIC CAPITAL LETTER UKRAINIAN IE +0xa5 U+0405 # CYRILLIC CAPITAL LETTER DZE +0xa6 U+0406 # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I +0xa7 U+0407 # CYRILLIC CAPITAL LETTER YI +0xa8 U+0408 # CYRILLIC CAPITAL LETTER JE +0xa9 U+0409 # CYRILLIC CAPITAL LETTER LJE +0xaa U+040a # CYRILLIC CAPITAL LETTER NJE +0xab U+040b # CYRILLIC CAPITAL LETTER TSHE +0xac U+040c # CYRILLIC CAPITAL LETTER KJE +0xad U+00ad # SOFT HYPHEN +0xae U+040e # CYRILLIC CAPITAL LETTER SHORT U +0xaf U+040f # CYRILLIC CAPITAL LETTER DZHE +0xb0 U+0410 # CYRILLIC CAPITAL LETTER A +0xb1 U+0411 # CYRILLIC CAPITAL LETTER BE +0xb2 U+0412 # CYRILLIC CAPITAL LETTER VE +0xb3 U+0413 # CYRILLIC CAPITAL LETTER GHE +0xb4 U+0414 # CYRILLIC CAPITAL LETTER DE +0xb5 U+0415 # CYRILLIC CAPITAL LETTER IE +0xb6 U+0416 # CYRILLIC CAPITAL LETTER ZHE +0xb7 U+0417 # CYRILLIC CAPITAL LETTER ZE +0xb8 U+0418 # CYRILLIC CAPITAL LETTER I +0xb9 U+0419 # CYRILLIC CAPITAL LETTER SHORT I +0xba U+041a # CYRILLIC CAPITAL LETTER KA +0xbb U+041b # CYRILLIC CAPITAL LETTER EL +0xbc U+041c # CYRILLIC CAPITAL LETTER EM +0xbd U+041d # CYRILLIC CAPITAL LETTER EN +0xbe U+041e # CYRILLIC CAPITAL LETTER O +0xbf U+041f # CYRILLIC CAPITAL LETTER PE +0xc0 U+0420 # CYRILLIC CAPITAL LETTER ER +0xc1 U+0421 # CYRILLIC CAPITAL LETTER ES +0xc2 U+0422 # CYRILLIC CAPITAL LETTER TE +0xc3 U+0423 # CYRILLIC CAPITAL LETTER U +0xc4 U+0424 # CYRILLIC CAPITAL LETTER EF +0xc5 U+0425 # CYRILLIC CAPITAL LETTER HA +0xc6 U+0426 # CYRILLIC CAPITAL LETTER TSE +0xc7 U+0427 # CYRILLIC CAPITAL LETTER CHE +0xc8 U+0428 # CYRILLIC CAPITAL LETTER SHA +0xc9 U+0429 # CYRILLIC CAPITAL LETTER SHCHA +0xca U+042a # CYRILLIC CAPITAL LETTER HARD SIGN +0xcb U+042b # CYRILLIC CAPITAL LETTER YERU +0xcc U+042c # CYRILLIC CAPITAL LETTER SOFT SIGN +0xcd U+042d # CYRILLIC CAPITAL LETTER E +0xce U+042e # CYRILLIC CAPITAL LETTER YU +0xcf U+042f # CYRILLIC CAPITAL LETTER YA +0xd0 U+0430 # CYRILLIC SMALL LETTER A +0xd1 U+0431 # CYRILLIC SMALL LETTER BE +0xd2 U+0432 # CYRILLIC SMALL LETTER VE +0xd3 U+0433 # CYRILLIC SMALL LETTER GHE +0xd4 U+0434 # CYRILLIC SMALL LETTER DE +0xd5 U+0435 # CYRILLIC SMALL LETTER IE +0xd6 U+0436 # CYRILLIC SMALL LETTER ZHE +0xd7 U+0437 # CYRILLIC SMALL LETTER ZE +0xd8 U+0438 # CYRILLIC SMALL LETTER I +0xd9 U+0439 # CYRILLIC SMALL LETTER SHORT I +0xda U+043a # CYRILLIC SMALL LETTER KA +0xdb U+043b # CYRILLIC SMALL LETTER EL +0xdc U+043c # CYRILLIC SMALL LETTER EM +0xdd U+043d # CYRILLIC SMALL LETTER EN +0xde U+043e # CYRILLIC SMALL LETTER O +0xdf U+043f # CYRILLIC SMALL LETTER PE +0xe0 U+0440 # CYRILLIC SMALL LETTER ER +0xe1 U+0441 # CYRILLIC SMALL LETTER ES +0xe2 U+0442 # CYRILLIC SMALL LETTER TE +0xe3 U+0443 # CYRILLIC SMALL LETTER U +0xe4 U+0444 # CYRILLIC SMALL LETTER EF +0xe5 U+0445 # CYRILLIC SMALL LETTER HA +0xe6 U+0446 # CYRILLIC SMALL LETTER TSE +0xe7 U+0447 # CYRILLIC SMALL LETTER CHE +0xe8 U+0448 # CYRILLIC SMALL LETTER SHA +0xe9 U+0449 # CYRILLIC SMALL LETTER SHCHA +0xea U+044a # CYRILLIC SMALL LETTER HARD SIGN +0xeb U+044b # CYRILLIC SMALL LETTER YERU +0xec U+044c # CYRILLIC SMALL LETTER SOFT SIGN +0xed U+044d # CYRILLIC SMALL LETTER E +0xee U+044e # CYRILLIC SMALL LETTER YU +0xef U+044f # CYRILLIC SMALL LETTER YA +0xf0 U+2116 # NUMERO SIGN +0xf1 U+0451 # CYRILLIC SMALL LETTER IO +0xf2 U+0452 # CYRILLIC SMALL LETTER DJE +0xf3 U+0453 # CYRILLIC SMALL LETTER GJE +0xf4 U+0454 # CYRILLIC SMALL LETTER UKRAINIAN IE +0xf5 U+0455 # CYRILLIC SMALL LETTER DZE +0xf6 U+0456 # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I +0xf7 U+0457 # CYRILLIC SMALL LETTER YI +0xf8 U+0458 # CYRILLIC SMALL LETTER JE +0xf9 U+0459 # CYRILLIC SMALL LETTER LJE +0xfa U+045a # CYRILLIC SMALL LETTER NJE +0xfb U+045b # CYRILLIC SMALL LETTER TSHE +0xfc U+045c # CYRILLIC SMALL LETTER KJE +0xfd U+00a7 # SECTION SIGN +0xfe U+045e # CYRILLIC SMALL LETTER SHORT U +0xff U+045f # CYRILLIC SMALL LETTER DZHE --- console-cyrillic-0.9.orig/debian/Cyr_and_Lat.README +++ console-cyrillic-0.9/debian/Cyr_and_Lat.README @@ -0,0 +1,48 @@ +I've got several questions about how to use both Cyrillic and +non-ASCII Latin letters the console. Generally, you have two +possibilities -- to use Unicode, or to change between two encodings. + +If you want to change between two 8-bit encodings (Cyrillic and +Latin), then you can use the script `cyr' to setup the Cyrillic +encoding. You can also create the following script `lat' to setup the +Latin encoding: + +#!/bin/sh + +# Put here your preferences: +FONT=/usr/share/console-cyrillic/ter-114b.psf +ENCODING=iso15 +KEYBOARD=de-latin1 + +case `tty` in +/dev/tty[0-9]*|/dev/vc/*) + unicode_stop >/dev/null 2>&1 + if which consolechars >/dev/null 2>&1; then + consolechars -f $FONT + consolechars --sfm $ENCODING + consolechars --acm $ENCODING + else + setfont $FONT + setfont -m trivial + fi + loadkeys $KEYBOARD >/dev/null 2>&1 + /bin/echo -e -n "\\033(K" > `tty` + ;; +esac + +You are advised to use font with similar look for Latin and Cyrillic. +For instance you can use ter-c14b.psf (ter-slav-bold) for Cyrillic and +ter-i14b.psf for Latin. + +If you want to use Unicode, then give to `cyr' the option `-e unicode' +and some font that contains both Cyrillic and non-ASCII letters. For +instance you can use the font style `ter-uni-bold'. If you want to +switch to Latin, then you don't need to change the font, but maybe you +will want to use different keyboard layout. Note that the Cyrillic +keyboards can generate Latin letters if they are in Latin mode. +However they use the `qwerty' layout even if your keyboard is not a +`qwerty' one. + + +-- +Anton Zinoviev --- console-cyrillic-0.9.orig/debian/README +++ console-cyrillic-0.9/debian/README @@ -0,0 +1,30 @@ +A long time ago - and yet perhaps it wasn't such a very long time ago +- when the package console-setup did not yet exist, there was a +package called console-cyrillic that people used to configure Cyrillic +on the console. This package had its own script in /etc/init.d in +order to setup the console and it had very good support for +configuration through Debconf. + +Then the new era of console-setup came. People no longer needed +console-cyrillic in order to have Cyrillic. And yet, this package +provided some interesting fonts so some people continued to use it. +Therefore, now this package exists only as a collection of fonts and +keyboard layouts. Both the script in /etc/init.d and the Debconf +configuration are removed. + +NOTE: This package does not attempt to remove the configuration script +in /etc/init.d leaved by an older version. If you don't need this +script, you have to remove it yourself. + +If you want to use a font included in this package, put a line like +the following in /etc/default/console-setup: + +FONT=/usr/share/console-cyrillic/alt-antiq-8x16.psf + +If you want to use a keyboard layout included in this package, put a +line like the following in /etc/default/keyboard: + +KMAP=/usr/share/console-cyrillic/mk-unicode.kmap + +-- +Anton Zinoviev --- console-cyrillic-0.9.orig/debian/README.Debian.old +++ console-cyrillic-0.9/debian/README.Debian.old @@ -0,0 +1,158 @@ + ----------------------------------------------------- + ----------------------------------------------------- + CYRILLIC ON LINUX CONSOLE FOR DEBIAN + ----------------------------------------------------- + ----------------------------------------------------- + + + 1. THE SCRIPT `CYR' + +The package console-cyrillic (upstream author: Victor Wagner + ) gives you easy and powerful +"cyrillization" of the Linux console. It is recommended that you +install also the package console-tools. + +For fast Cyrillic use the script `cyr'. Try `cyr --help' for usage +summary. First time you invoke `cyr' in this way: + +cyr sr alt_shift_toggle -e iso-8859-5 -s arab -f14 --save + +This sets Cyrillic on console with Serbian keyboard, working encoding +ISO-8859-5, and 14-point font `arab'. The keyboard is toggled between +Cyrillic and Latin alphabets by Alt+Shift combination. The option +`--save' says `cyr' to save this combination as default for the next +invoking. + +After this saving it is enough just to run `cyr' without parameters. +Or you can use a command like + +cyr -ecp1251 + +to work with your default keyboard and font but with CP1251. Or to +play with + +cyr -s lenta + +and see how look other supported Cyrillic fonts. + +If you want to use `cyr' with non-standard font use a command like + +cyr --font=/usr/share/consolefonts/lat2-14.psf.gz + + + 2. SUPPORTED KEYBOARD MAPPINGS + +All keyboard mappings in the package are based on the system of +macroses developed by Cyril Slobin . The package +contains the following keyboard mappings: + +a) bg_bds + +The Cyrillic letters in this mapping are arranged according to the +State Standard of Bulgaria. + +b) bg_phon + +The Cyrillic letters in this mapping are arranged according to their +phonetic transliteration with Latin Letters. Bulgarian Apple II +clonings used KOI-7 and this made the phonetic keyboard even more +popular than the standard "BDS" keyboard. + +c) by + +This is a Belarusian Cyrillic keyboard mapping. + +d) kaz_gost and kaz_alt + +These are Kazakh keyboard mappings. In the first the key \| produces +the symbols \ and |. In the second this key produces the Russian +letter IO. + +e) mk + +This is a Macedonian keyboard mapping. + +f) mn + +This is a Mongolian keyboard mapping. + +g) ru + +This is a Russian keyboard mapping by Cyril Slobin . +All Cyrillic letters are on their proper places. + +h) ru_ms + +This is a Russian keyboard mapping by Victor Wagner . +It follows the layout of the Russian keyboard in MS Windows. + +i) sr + +This is a Serbian Cyrillic keyboard mapping. The arrangement of the +Cyrillic letters is according to the keyboard mapping made by Milos +Rancic . Note that the Cyrillic `ZH' is on +the key , the Cyrillic `DJ' is on the key . In Cyrillic +mode the symbols `-' and `_' are on the key <\ |> and the symbols `[' +and `]' are on the key <] }>. + +j) ua + +This is an Ukrainian keyboard mapping by Igor Vlasenko +. + +k) ua_ms + +This is an Ukrainian keyboard mapping by Igor Vlasenko +. It follows the layout of the Ukrainian +keyboard in MS Windows. + + + 3. SUPPORTED CYRILLIC ENCODINGS + +In the terminology of the script `cyr', only the font styles `c', +`lenta', `pln', `sans', `uni', `ter-slav-*' and `ter-uni-*' contain +all letters, needed for all Slavic Cyrillic languages. If you use +some other style (i.e. some other font) some of the Cyrillic letters +will be approximated with other symbols. The font styles `ter-asia-*', +`ter-uni-*' `a-asia', `b-asia' and `antiq-asia' support the Asian +Cyrillic languages. + +The supported Cyrillic encodings by console-cyrillic are: +Apple-Cyrillic, CP1251 (MS-CYR), IBM866 (DOS-CYR-RU, CP866), +ISO-8859-5, KOI8-R, KOI8-U, MIK (DOS-CYR-BG) and PT154 (ASIAN-CYR) +and RK1048. + + + 4. CYRILLIC AT RUN-TIME + +Very often when you switch to X Window and back to Linux console the +Cyrillic on console becomes broken. Actually this depends on the +videocard and the X server you use. For most videocards it is better to +setup Cyrillic before the X server is started. This package allows you +this. To reconfigure it use the command + +dpkg-reconfigure console-cyrillic + +Other chipsets might require specific video driver options in order to +restore all console settings correctly. For example, if you selected any +font size other than 16 for console, it is necessary to add the +following line into "Device" section of xorg.conf when using i810 driver +with some integrated graphics controllers: + + Option "VBERestore" "true" + +Please, read 'man i810' (or 'man ') for additional +information and, more importantly, for warnings on using the options. + + + 5. ADDITIONAL INFORMATION + +The files *.kmap are keyboard maps. The file cyrillic.fallback.gz is +a SFM fallback table that gives approximations of some symbols and +letters in the Cyrillic encodings with other symbols and letters. The +file cyrillic-graph.fallback.gz gives approximations also for the +pseudographic symbols. Most of the other data files are explained in +the files README.eng and README.ru + +-- +Anton Zinoviev --- console-cyrillic-0.9.orig/debian/README.eng +++ console-cyrillic-0.9/debian/README.eng @@ -0,0 +1,184 @@ +This package contains cyrillic fonts and map tables for +Linux console. These fonts are intended to use with consolechars utility +(Debian console-tools package). + +ALL PROGRAMS AND DATA FILES IN THIS PACKAGE ARE PUBLIC DOMAIN. + +All fonts are based on code page 866 (GOST alternate encoding), becouse +usage of any other cyrillic encoding causes horizontal line-drawing +characters look like dashed lines in VGA text mode. It is hardware +feature of VGA and its much simplier to use kernel mapping tables to +avoid it then any attempt to overcome this problem by playing with +video mode. + +Just combine font of appropriate size with acm map of encoding you are +using like: + +consolechars -f 866_8x16.psf -m koi8-r.acm + +CONSOLE FONTS + +This package contain following sets of fonts + +UniCyr_8x*.psf - Fonts, developed by Vadim Zhitnikov. Contain all letters which + can be in cp866, cp1251, iso8859-5 and all printable symbols + from koi8-r. + +866_8x??.psf - based on MS-DOS cp866 as registred by Microsoft with IANA (?) + These fonts can be useful for Ukrainians and + Belorussians, although I've not provided acm files for + koi8-u and other non-Russian cyrillic encodings + (give me place, where I can download their STANDARD + definition) +alt_8x??.psf - based on alt-8x?? fonts in kbd package. + These fonts contain exactly same set of characters + as koi8-r encoding and are reccommended for Russians. + +Cyr_a8x??.psf - based on Cyr-a8x?? fonts in kbd package, which was here + since earliest days of Linux. These fonts + lacks cyrillic letter YO (U+0451,U+0401) but contain some math + symbols (as U+2265) which are used in koi8-r encoding. + Obvoisly, my sfm map Cyr_a.sfm maps YO to IE, so texts + containing YO would + still readable. + +UniCyrX*.pcf - yet another attempt to fit as much letters of different + alphabets as possible into 256-character space. + Contributed by + Dmitry Yu. Bolkhovityanov" + +Additionaly, there are some fonts, available only for VGA console (8x16) + + alt-antiq-8x16, developed by Alexis Makarenko (submitted by + Eugene Osintsev ) with + the same encoding as alt*, but different shape; + alt-sans-8x16 and alt-lenta-8x16, developed by + Vadim Zhitnikov and Eugene Osintsev; + alt-b-8x16 and alt-c-8x16 - fonts of unknown origin. + +Directory sfm in this package contains screen font maps used in these +fonts in text format. + +Directory acm contains application character maps for all widespread +encoding of Russian language. They are all derived from data from +ftp.unicode.org, except koi8-r, which is derived from RFC-1489. +and koi8-u which was got from one of sites, devoted to cyrillic +charsets. + +CONSOLE KEYBOARD MAPS + +Directory keymap contains keyboard layout generation system, +developed by Cyril Slobin . + +What is contained in this directory is not ready +to use console map, but rather parts, from which keyboard map for any +encoding should be assembled by C preprocessor. + + cpp cyr-russian.cpp |loadkeys + +Produces a keymap for koi8-r encoding +If you wish to use some other encoding, you should specify appropriate +.enc file to cpp before map itself +For example: + + cat cp866.enc cyr-russian.cpp|cpp |loadkeys + + +It is better than keymaps in kbd package, becouse it thoroughly defines +all special keys in all modes of keyboard. + +Each keyboard layout is assembled from three parts - standard macros +(from macros.inc) encoding (*.enc) and key defininiton (cyr-*.cpp). + +By default these layouts use Right Control key as cyrillic/latin switch +and Right Alt for temporary switch (while key is pressed). + +On Windows keyboards system menu key acts as alternate locking switch +and windows keys as alternate temporary switches. + +You can define following symbols to alter this behavoir: + +-DALTSWITCH - reverses functions of Right Control and Right Alt. + I use this variant, becouse it is compatible with my Xkb settings +-DWINONLY - makes Right Control and Alt equivalent to left ones, and + leaves only Windows keys for mode switching. + +By default, BackSpace key generates Delete (ASCII 127) symbol and +^H (ASCII 8) is generated by Ctrl-Backspace. Use +-DBACKSPACE to revert this behavoir. + +Following keyboards are included + +keyboard layout default author + encoding +cyr-russian.cpp Russian koi8-r Cyril Slobin + (old IBM PC) +cyr-russian-ms.cpp Russian koi8-r Victor Wagner + (MS-Windows) +cyr-belorussian.cpp Belorussian cp1251 Alexander Mikhailian +cyr-bulgarian-bds.cpp Bulgarian cp1251 Anton Zinoviev +cyr-bulgarian-phon.cpp Bulgarian cp1251 Anton Zinoviev + (Phonetic) +cyr-serbian.cpp Serbian iso8859-5 Anton Zinoviev +cyr-ukrainian.cpp Ukrainian koi8-u Victor Wagner +cyr-ukrainian1.cpp Ukrainian koi8-u Igor Vlasenko +cyr-ukrainian-ms.cpp Ukrainian koi8-u Igor Vlasenko +cyr-ukrainian-ms-like1 Ukrainian koi8-u Attribution lost +cyr-ukrainian-ms-like2 Ukrainian koi8-u Attribution lost + +Keymap cyr-ukrainian was developed by me without actual knowledge +of Ukrainian language. Better to use keymaps from Igor Vlasenko. +At least he was able to test them. + +Note that his keymaps support additional preprocessor defines. See +comments in these files. + +Note that "Default encoding" means only "encoding to be used if no one +specified explicitely on cpp command line" + +DOSEMU RUSSIFICATION + +Directory bdf contain font vga.bdf which uses cp866 encoding and +can be used to read Russian letters in xdos. +(derived from 866_8x16.psf). +For keyboard russification of DOSEMU I'll reccommend patch by +Youriy Kaminsky , +available from http://www.ice.ru/~vitus/misc/dosemu-0.98.5.my.ptch.gz + +SCRIPTS + +Directory scripts contain scripts I've used to create these fonts +and maps. For some reason, psfaddtable utility from consoletools +refuses to read psf type 0 (256 chars without unicode table) font files +and I have to make my own tool. Script raw2psf gets raw font file as +its first argument and (optionally) unicode map +(ether sfm in text format or file +from ftp.unicode.org (catdoc charset map)) and produces psf font of +type 0 or 2. + +Script makeacm takes same map as above and produces acm map. +Perl module Unicode::String is required. get it from CPAN if you don't +have it already installed + +Script dumppsf converts psf (or raw font) file to some textual representation, +which can be used to view it. If, eventually I would write backward converter, +you would be able to use vi or emacs to edit console fonts visually + +Script displayfont (written by Cyril Slobin) allows to view current font +on the screen. + +Script mkvgafont is shell script converts raw console font to +X-Window font, suitable for DOSEMU + +All perl scripts have pod documentation embedded into it. +Do perldoc