--- console-cyrillic-0.9.orig/scripts/dumppsf +++ console-cyrillic-0.9/scripts/dumppsf @@ -44,14 +44,14 @@ } } seek F,4,0; -} +} } for ($i=0;$i<$fontsize;$i++) { read F,$char,$charsize; print "Character: $i"; if ($unicode[$i]) { print " Unicode chars: ", - join(" ",(map {sprintf("U+%04X",$_)} @{$unicode[$i]})); + join(" ",(map {sprintf("U+%04X",$_)} @{$unicode[$i]})); } print "\n"; for $j (unpack "C*", $char) { @@ -60,8 +60,8 @@ } print "\n"; } -} - +} + =head1 NAME dumppsf converts psf file to readable ASCII file. @@ -75,7 +75,7 @@ This script takes psf font with unicode mapping as an argument, and produces text file where all characters from this font are represented graphically. It allows to preview Linux console font even there is no -Linux console around. +Linux console around. =head1 BUGS @@ -84,7 +84,7 @@ =head1 SEE ALSO -B(1), B(1), B(1), B(1), B(1) =head1 COPYRIGHT --- console-cyrillic-0.9.orig/debian/option-rwin_toggle.kmap +++ console-cyrillic-0.9/debian/option-rwin_toggle.kmap @@ -0,0 +1,2 @@ +keymaps 0-15 +keycode 126 = AltGr_Lock --- console-cyrillic-0.9.orig/debian/cyr-serbian.cpp +++ console-cyrillic-0.9/debian/cyr-serbian.cpp @@ -0,0 +1,292 @@ +/* This file should be preprocessed with cpp. It is based on the + system of macroses developed by Cyril Slobin . */ +#ifndef ENCODING +# include "iso8859-5.enc" +# define ENCODING iso8859-5 +#endif + +! This is Serbian Cyrillic keyboard translation table for Linux console +! driver. Right_Controll key is used for Cyrillic toggle, Right_Alt for +! temporary shift to Cyrillic. On extended 104-key keyboards, the +! System key is also used for toggle and Window keys for temporary +! shift. The arrangement of the Cyrillic letters is according to the +! keyboard mapping made by Milos Rancic . +! +! This keymap was generated for encoding ENCODING +! +! + +#define LEFT_SHIFT Shift +#define LEFT_CONTROL Control +#define LEFT_ALT Alt +#define LEFT_WINDOW AltGr +#define RIGHT_SHIFT Shift +#define RIGHT_CONTROL AltGr_Lock +#define RIGHT_ALT AltGr +#define RIGHT_WINDOW AltGr +#define SYSTEM_MENU AltGr_Lock + +#define CC(n, a, b) keycode n = a a a a b b b b Meta_##a Meta_##a Meta_##a Meta_##a Meta_##b Meta_##b Meta_##b Meta_##b +#define FUNC(n, a, b) keycode n = F##a F##b F##a F##b F##a F##b F##a F##b Console_##a Console_##a Console_##a Console_##a Console_##a Console_##a Console_##a Console_##a +#define LLRR(n, a, b, c, d) keycode n = +a +b +c +d Control_##a Control_##a Control_##a Control_##a Meta_##a Meta_##b Meta_##a Meta_##b Meta_Control_##a Meta_Control_##a Meta_Control_##a Meta_Control_##a +#define NONE(n) Keycode n = +#define PPPPC(n, a, b, c, d, e) keycode n = a b c d e e e e Meta_##a Meta_##b Meta_##a Meta_##b Meta_##e Meta_##e Meta_##e Meta_##e +#define PPRRC(n, a, b, c, d, e) keycode n = a b +c +d e e e e Meta_##a Meta_##b Meta_##a Meta_##b Meta_##e Meta_##e Meta_##e Meta_##e +#define SPEC(n, a) keycode n = a + +#define Meta_VoidSymbol VoidSymbol +#define Meta_Return Meta_Control_m + +CC(1, Escape, Escape) + +PPPPC(2, one, exclam, one, exclam, VoidSymbol) +PPPPC(3, two, at, two, quotedbl, nul) +PPPPC(4, three, numbersign, three, numbersign, Escape) +PPPPC(5, four, dollar, four, dollar, Control_backslash) +PPPPC(6, five, percent, five, percent, Control_bracketright) +PPPPC(7, six, asciicircum, six, ampersand, Control_asciicircum) +PPPPC(8, seven, ampersand, seven, slash, Control_underscore) +PPPPC(9, eight, asterisk, eight, parenleft, Delete) +PPPPC(10, nine, parenleft, nine, parenright, VoidSymbol) +PPPPC(11, zero, parenright, zero, equal, VoidSymbol) +PPPPC(12, minus, underscore, apostrophe, question, Control_underscore) +PPPPC(13, equal, plus, plus, asterisk, VoidSymbol) + +CC(14, Delete, BackSpace) +CC(15, Tab, Tab) + +LLRR(16, q, Q, cyr_lje, CYR_LJE) +LLRR(17, w, W, cyr_nje, CYR_NJE) +LLRR(18, e, E, cyr_ie, CYR_IE) +LLRR(19, r, R, cyr_er, CYR_ER) +LLRR(20, t, T, cyr_te, CYR_TE) +LLRR(21, y, Y, cyr_ze, CYR_ZE) +LLRR(22, u, U, cyr_u, CYR_U) +LLRR(23, i, I, cyr_i, CYR_I) +LLRR(24, o, O, cyr_o, CYR_O) +LLRR(25, p, P, cyr_pe, CYR_PE) + +PPRRC(26, bracketleft, braceleft, cyr_sha, CYR_SHA, Escape) +PPRRC(27, bracketright, braceright, bracketleft, bracketright, Control_bracketright) + +CC(28, Return, Return) + +SPEC(29, LEFT_CONTROL) + +LLRR(30, a, A, cyr_a, CYR_A) +LLRR(31, s, S, cyr_es, CYR_ES) +LLRR(32, d, D, cyr_de, CYR_DE) +LLRR(33, f, F, cyr_ef, CYR_EF) +LLRR(34, g, G, cyr_ghe, CYR_GHE) +LLRR(35, h, H, cyr_ha, CYR_HA) +LLRR(36, j, J, cyr_je, CYR_JE) +LLRR(37, k, K, cyr_ka, CYR_KA) +LLRR(38, l, L, cyr_el, CYR_EL) + +PPRRC(39, semicolon, colon, cyr_che, CYR_CHE, VoidSymbol) +PPRRC(40, apostrophe, quotedbl, cyr_tshe, CYR_TSHE, Control_g) +PPRRC(41, grave, asciitilde, grave, asciitilde, nul) + +SPEC(42, LEFT_SHIFT) + +PPPPC(43, backslash, bar, minus, underscore, Control_backslash) + +LLRR(44, z, Z, cyr_dje, CYR_DJE) +LLRR(45, x, X, cyr_dzhe, CYR_DZHE) +LLRR(46, c, C, cyr_tse, CYR_TSE) +LLRR(47, v, V, cyr_ve, CYR_VE) +LLRR(48, b, B, cyr_be, CYR_BE) +LLRR(49, n, N, cyr_en, CYR_EN) +LLRR(50, m, M, cyr_em, CYR_EM) + +PPRRC(51, comma, less, comma, semicolon, VoidSymbol) + +PPRRC(52, period, greater, period, colon, VoidSymbol) + control keycode 52 = Compose + control altgr keycode 52 = Compose + +PPRRC(53, slash, question, cyr_zhe, CYR_ZHE, Delete) + +SPEC(54, RIGHT_SHIFT) + +SPEC(55, KP_Multiply) + +SPEC(56, LEFT_ALT) + +CC(57, space, nul) + +SPEC(58, Caps_Lock) + +FUNC(59, 1, 11) +FUNC(60, 2, 12) +FUNC(61, 3, 13) +FUNC(62, 4, 14) +FUNC(63, 5, 15) +FUNC(64, 6, 16) +FUNC(65, 7, 17) +FUNC(66, 8, 18) +FUNC(67, 9, 19) +FUNC(68, 10, 20) + +SPEC(69, Num_Lock) + +SPEC(70, Scroll_Lock) + shift keycode 70 = Show_Memory + shift altgr keycode 70 = Show_Memory + control keycode 70 = Show_State + control altgr keycode 70 = Show_State + alt keycode 70 = Show_Registers + alt altgr keycode 70 = Show_Registers + +SPEC(71, KP_7) + alt keycode 71 = Ascii_7 + alt altgr keycode 71 = Ascii_7 + +SPEC(72, KP_8) + alt keycode 72 = Ascii_8 + alt altgr keycode 72 = Ascii_8 + +SPEC(73, KP_9) + alt keycode 73 = Ascii_9 + alt altgr keycode 73 = Ascii_9 + +SPEC(74, KP_Subtract) + +SPEC(75, KP_4) + alt keycode 75 = Ascii_4 + alt altgr keycode 75 = Ascii_4 + +SPEC(76, KP_5) + alt keycode 76 = Ascii_5 + alt altgr keycode 76 = Ascii_5 + +SPEC(77, KP_6) + alt keycode 77 = Ascii_6 + alt altgr keycode 77 = Ascii_6 + +SPEC(78, KP_Add) + +SPEC(79, KP_1) + alt keycode 79 = Ascii_1 + alt altgr keycode 79 = Ascii_1 + +SPEC(80, KP_2) + alt keycode 80 = Ascii_2 + alt altgr keycode 80 = Ascii_2 + +SPEC(81, KP_3) + alt keycode 81 = Ascii_3 + alt altgr keycode 81 = Ascii_3 + +SPEC(82, KP_0) + alt keycode 82 = Ascii_0 + alt altgr keycode 82 = Ascii_0 + +SPEC(83, KP_Period) + control alt keycode 83 = Boot + control alt altgr keycode 83 = Boot + +SPEC(84, Last_Console) + +NONE(85) + +PPPPC(86, less, greater, less, greater, VoidSymbol) + +FUNC(87, 11, 11) +FUNC(88, 12, 12) + +NONE(89) +NONE(90) +NONE(91) +NONE(92) +NONE(93) +NONE(94) +NONE(95) + +SPEC(96, KP_Enter) + +SPEC(97, RIGHT_CONTROL) + +SPEC(98, KP_Divide) + +CC(99, Control_backslash, Control_backslash) + +SPEC(100, RIGHT_ALT) + +SPEC(101, Break) +SPEC(102, Home) + +SPEC(103, Up) + +SPEC(104, PageUp) + shift keycode 104 = Scroll_Backward + shift altgr keycode 104 = Scroll_Backward + +SPEC(105, Left) + alt keycode 105 = Decr_Console + alt altgr keycode 105 = Decr_Console + +SPEC(106, Right) + alt keycode 106 = Incr_Console + alt altgr keycode 106 = Incr_Console + +SPEC(107, End) +SPEC(108, Down) + +SPEC(109, PageDown) + shift keycode 109 = Scroll_Forward + shift altgr keycode 109 = Scroll_Forward + +SPEC(110, Insert) + +SPEC(111, Remove) + control alt keycode 111 = Boot + control alt altgr keycode 111 = Boot + +SPEC(112, Macro) +SPEC(113, F13) +SPEC(114, F14) +SPEC(115, Help) +SPEC(116, Do) +SPEC(117, F17) +SPEC(118, KP_MinPlus) +SPEC(119, Pause) + +NONE(120) +NONE(121) +NONE(122) +NONE(123) +NONE(124) + +SPEC(125, LEFT_WINDOW) +SPEC(126, RIGHT_WINDOW) +SPEC(127, SYSTEM_MENU) + +string F1 = "\033[[A" +string F2 = "\033[[B" +string F3 = "\033[[C" +string F4 = "\033[[D" +string F5 = "\033[[E" +string F6 = "\033[17~" +string F7 = "\033[18~" +string F8 = "\033[19~" +string F9 = "\033[20~" +string F10 = "\033[21~" +string F11 = "\033[23~" +string F12 = "\033[24~" +string F13 = "\033[25~" +string F14 = "\033[26~" +string F15 = "\033[28~" +string F16 = "\033[29~" +string F17 = "\033[31~" +string F18 = "\033[32~" +string F19 = "\033[33~" +string F20 = "\033[34~" +string Find = "\033[1~" +string Insert = "\033[2~" +string Remove = "\033[3~" +string Select = "\033[4~" +string Prior = "\033[5~" +string Next = "\033[6~" +string Macro = "\033[M" +string Pause = "\033[P" --- console-cyrillic-0.9.orig/debian/changelog +++ console-cyrillic-0.9/debian/changelog @@ -0,0 +1,480 @@ +console-cyrillic (0.9-16.2ubuntu1) quantal; urgency=low + + * Resynchronise with Debian. Remaining changes: + - Neuter the init script, as cyr doesn't seem to be compatible with the + way console-setup sets up consoles in a Plymouth-safe way during boot. + You can probably still run it by hand after login. + + -- Colin Watson Fri, 10 Aug 2012 12:30:31 +0100 + +console-cyrillic (0.9-16.2) unstable; urgency=low + + * Non-maintainer upload. + * Fix pending l10n issues. Debconf translations: + - Danish (Joe Hansen). Closes: #632590 + + -- Christian Perrier Sun, 22 Jan 2012 08:14:03 +0100 + +console-cyrillic (0.9-16.1ubuntu1) precise; urgency=low + + * Resynchronise with Debian. Remaining changes: + - Neuter the init script, as cyr doesn't seem to be compatible with the + way console-setup sets up consoles in a Plymouth-safe way during boot. + You can probably still run it by hand after login. + + -- Colin Watson Sun, 13 Nov 2011 23:29:49 +0000 + +console-cyrillic (0.9-16.1) unstable; urgency=low + + * Non-maintainer upload. + * Drop versioned dependency on console-terminus: it is now virtual + and even the old version in squeeze was higher. (Closes: #629559) + + -- Philipp Kern Sun, 23 Oct 2011 14:40:36 +0200 + +console-cyrillic (0.9-16ubuntu2) oneiric; urgency=low + + * Depend on console-setup for now; console-setup-linux does not yet exist + in Ubuntu. + * Neuter the init script, as cyr doesn't seem to be compatible with the + way console-setup sets up consoles in a Plymouth-safe way during boot + (LP: #597673). You can probably still run it by hand after login. + + -- Colin Watson Mon, 22 Aug 2011 19:32:04 +0100 + +console-cyrillic (0.9-16ubuntu1) oneiric; urgency=low + + * Replace console-terminus dependency with console-setup-linux dependency + (Closes: #629559) + - update debian/control + + -- Bhavani Shankar Sun, 10 Jul 2011 01:04:41 +0530 + +console-cyrillic (0.9-16) unstable; urgency=low + + * Add kbd to Should-Start in the init script (a temporary solution). + Thanks to Michael Schutte, closes: #548100. + * Lintian cleaning: binary-arch-rules-but-pkg-is-arch-indep. + * Update Standards-Version to 3.8.1. + + -- Anton Zinoviev Fri, 06 Nov 2009 18:02:32 +0200 + +console-cyrillic (0.9-15.3) unstable; urgency=low + + * Non-maintainer upload. + * Fix pending l10n issues. Debconf translations: + - Spanish (César Gómez Martín). Closes: #524830 + - Italian (Luca Monducci). Closes: #525474 + + -- Christian Perrier Mon, 21 Sep 2009 07:31:25 +0200 + +console-cyrillic (0.9-15.2) unstable; urgency=low + + * Non-maintainer upload to fix pending l10n issues. + * Debconf translations: + - Galician. Closes: #481750 + - Portuguese. Closes: #488576 + - Czech. Closes: #495089 + - Finnish. Closes: #495270 + + -- Christian Perrier Sun, 17 Aug 2008 10:53:22 -0300 + +console-cyrillic (0.9-15.1) unstable; urgency=low + + * Non-maintainer upload to solve release goal. + * Add LSB dependency header to init.d scripts (Closes: #459878) + * Debconf translations: + - Add Portuguese from Bruno Queiros (Closes: #438681). + - Add Belarusian from Pavel Piatruk (Closes: #447112). + + -- Petter Reinholdtsen Mon, 17 Mar 2008 09:13:51 +0100 + +console-cyrillic (0.9-15) unstable; urgency=low + + * Add a note about VBERestore option for i810 driver in the README file. + Thanks to Dmitry Semyonov for the suggestion and the patch, + closes: #402143. + + -- Anton Zinoviev Sat, 13 Jan 2007 14:16:48 +0200 + +console-cyrillic (0.9-14) unstable; urgency=low + + * Invoke consolechars and setfont for all consoles. Thanks to Aptem + (bug reportedr) and Damyan Ivanov (submitter of a patch). + Closes: #380573. + * Change the dependency from console-tools|kbd to kbd|console-tools. + Thanks to Alastair McKinstry. Closes: #387128. + + -- Anton Zinoviev Sun, 24 Sep 2006 17:04:25 +0300 + +console-cyrillic (0.9-13) unstable; urgency=low + + * Update the versioned depends on console-terminus to require at least + 4.16-2. Thanks to Olleg Samoylov, closes: #350686. + * Updated German translation. Thanks to Daniel Knabl, + closes: #349307, #349373, #352230. + + -- Anton Zinoviev Sat, 11 Feb 2006 23:33:25 +0200 + +console-cyrillic (0.9-12) unstable; urgency=low + + * Updated for the new file names used by console-terminus. + * Updated German translation. Thanks to Daniel Knabl, closes: #330448 + * New Spanish and Swedish translations. Thanks to Daniel Nylander and + César Gómez Martín, closes: #342048, #334552. + + -- Anton Zinoviev Wed, 11 Jan 2006 21:43:53 +0200 + +console-cyrillic (0.9-11) UNRELEASED; urgency=low + + * cyr looks for the Terminus font using relative path. + + -- Anton Zinoviev Thu, 27 Oct 2005 20:57:58 +0300 + +console-cyrillic (0.9-10) unstable; urgency=low + + * Improvement and proofreading of the templates. Thanks go to Clytie + Siddall, closes: 310076. Unfuzzy the existing translations. I didn't + apply some of the proposals of Clytie Siddall because I didn't want to + create again work for the translators. + * Vietnamese translation: thanks to Clytie Siddall, closes: #310072. + * Updated German translateion. Thanks to Daniel Knabl, + closes: #326148. + * Updated README.eng and README.ru. Reencode README.ru from KOI8-R to + UTF-8. Thanks to Dmitry Rutsky, closes: #202086. + * Give cpp option -iquote instead of -I. + * Alternative dependency debconf | debconf-2.0. + * Updated Standards-Version: 3.6.2. + * Replace "-a" in if statements in the Debian scripts by "] && [" + + -- Anton Zinoviev Tue, 27 Sep 2005 11:39:22 +0300 + +console-cyrillic (0.9-9) unstable; urgency=low + + * Open the consoles before loading the font because otherwise the + kernels assumes there a 256 gliph font. Bug reported and patch + provided by Olleg Samoylov - thanks. Closes: #309623. + * Added Chech translation. Thanks to Martin Šín, closes: #306115. + * Correct a spelling error in the templates file. Unfuzzy + translations. Thanks to Luk Claes and Christian Perrier. + * Updated German translation, thanks to Daniel Knabl. + + -- Anton Zinoviev Sat, 25 Jun 2005 00:04:43 +0300 + +console-cyrillic (0.9-8) unstable; urgency=low + + * Updated translations only: + - Brasilian by Andre Luis Lopes, closes: #264094 + - Russian by Yuri Kozlov, closes: #268330 + - Ukrainian by Eugeniy Meshcheryakov, closes: #271333 + + -- Anton Zinoviev Wed, 19 Oct 2004 19:34:52 +0300 + +console-cyrillic (0.9-7) unstable; urgency=low + + * Updated French and Dutch translations. Thanks to Christian Perrier + and Luk Claes, closes: #249803, #250654. + * Correct two spelling errors in the templates file. Unfuzzy + translations. Thanks to Luk Claes, closes: #240793. + * The Kazakh letters are affected by the Caps Lock key. Thanks to + Baurjan Ismagulov, closes: #25462. + * Ask with with higher than medium priority about the Cyr/Lat switcher + * Ask about the keyboard before the font. + * When /etc/console-cyrillic doesn't exist use the $LANG variable to set + default values of the questions and ask them with lower priority. + This is in order to minimize the number of asked questions when the + package is installed by debian-installer. + + -- Anton Zinoviev Wed, 28 Jul 2004 09:14:52 +0300 + +console-cyrillic (0.9-6) unstable; urgency=low + + * Add versioned dependency on perl-base (5.8.3-2). + * The unused template console-cyrillic/wantcyr removed from the + templates file. + * The choices list of console-cyrillic/fontstyle made translatable in + the templates file. Everywhere use __Choices instead of _Choices. + * Replace everywhere Yugoslavia by Serbia and Montenegro. + * Add Bulgarian Debconf translation. + + -- Anton Zinoviev Thu, 6 May 2004 20:39:46 +0300 + +console-cyrillic (0.9-5) unstable; urgency=low + + * Removed the dependency on perl. It seams that perl-base is enough for + `cyr'. Add suggests for perl. + + -- Anton Zinoviev Tue, 4 May 2004 09:43:37 +0300 + +console-cyrillic (0.9-4) unstable; urgency=low + + * Recent loadkeys doesn't allow the Unicode symbols to be prefixed with + "+". Patch provided by Eugeniy Meshcheryakov removes the "+" (hence + the Caps Lock key doesn't work for Cyrillic letters in Unicode mode). + Thanks to Dan Korostelev (closes: #237505). + * Add the Ukrainian letter ghe with upturn to the Ukrainian keyboard + mappings. Thanks to Eugeniy Meshcheryakov (closes: #242925). Patch + was provided. + * Add Dutch translation. Thanks to Luk Claes (closes: #244232). + + -- Anton Zinoviev Sun, 2 May 2004 22:27:51 +0300 + +console-cyrillic (0.9-3) unstable; urgency=low + + * New French translation (closes: #213790). Thanks to Christian Perrier. + + -- Anton Zinoviev Thu, 30 Oct 2003 09:32:19 +0200 + +console-cyrillic (0.9-2) unstable; urgency=low + + * The Terminus font is removed from the package in favour of the new + package console-terminus. Thanks to Alex Verbovetsky, closes: #208824. + * French (closes: #207113) and new Brasilian (closes: #207961) debconf + translations. Thaks to Christian Perrier and Andre Luis Lopes. + * README.console-kazakh moved to /usr/share/doc/console-cyrillic (in the + previous version it was in /usr/share/doc). + + -- Anton Zinoviev Fri, 26 Sep 2003 09:31:12 +0300 + +console-cyrillic (0.9-1) unstable; urgency=low + + * New upstream version. Several ukrainian keyboard mappings. The + Debian package includes two of them provided by Igor Vlasenko. + * Incorporates files in the console-kazakh package by Timur Birsh + and Erzhan Saugabaev. New encoding rk1048, two Kazakh keyboard + layouts, versions of the `a', `b' and `antiq' fonts for encodings + pt154 and rt1048. + * cyr: new option --commands, kazakh keyboard layouts, rt1048 encoding. + * Applied patch to use po-gettext. Thanks to Christian Perrier, + closes: #205810. Build-Depends-Indep on po-gettext. + * Suggests libunicode-string-perl (was recommends). + * The upstream file README.eng is keeped under the same name (was README) + * Removed symlinks in /usr/doc. + * Updated README.Debian. + * The copyright file mentiones /usr/share/common-licenses. + * Standards-Version: 3.6.0. + + -- Anton Zinoviev Sun, 24 Aug 2003 22:38:39 +0200 + +console-cyrillic (0.8-15) unstable; urgency=low + + * It seams there is no easy way for /etc/init.d/console-cyrillic to + check if `perl' is installed or we have only `perl-base'. Thats why + the package now depends on perl rather than just to recommend it. + Closes: #170896 (thanks to Nikita V. Youshchenko). + * The package Build-Depends-Indep on perl instead of perl5. + + -- Anton Zinoviev Mon, 15 Jan 2003 21:28:17 +0200 + +console-cyrillic (0.8-14) unstable; urgency=low + + * Better support for the kbd console package. Doesn't suggest the + package console-tools. + * The package Build-Depends-Indep on console-data, thanks to Daniel + Schepler. Closes #168777. + * Used Build-Depends on sharutils instead of Build-Depends-Indep. + + -- Anton Zinoviev Mon, 12 Nov 2002 10:29:17 +0200 + +console-cyrillic (0.8-13) unstable; urgency=low + + * Added Brazilian Portuguese template translation. Closes: #144762. + * Added desctription to the template `change-config'. + * The backup dumppsf~ removed. + * Updated Standards-Version: 3.5.6.1. + * Created manpages: cyr(1) and mkvgafont(1). + + -- Anton Zinoviev Sun, 2 Jun 2002 21:20:12 +0300 + +console-cyrillic (0.8-12) unstable; urgency=low + + * Added new font: Terminus {normal,bold,bold_fb}x{cp1251,pt154,unicode}. + * Added new keyboard layout: Mongolian. + * Added new encoding: PT154. + * New file: Cyr_and_Lat.README + * Updated German translation of the templates, thanks to Sebastian Rittau. + * Reformated long description of the package, thanks to Nicolas + Bertolissio. Closes: #136037. + * Added Build-Depends-Indep on sharutils, thanks to Junichi Uekawa. + Closes: #141011. + + -- Anton Zinoviev Sat, 20 Apr 2002 20:28:03 +0300 + +console-cyrillic (0.8-11) unstable; urgency=low + + * Added new fonts: Thin and Sarge. + + -- Anton Zinoviev Fri, 26 Oct 2001 13:37:10 +0300 + +console-cyrillic (0.8-10) unstable; urgency=low + + * Added German translation and fixed a few typos in template file. + + -- Anton Zinoviev Wed, 4 Jul 2001 23:45:33 +0300 + +console-cyrillic (0.8-9) unstable; urgency=low + + * cyr: the option --save is forbidden for root. + * The initial question console-cyrillic/wantcyr (do you want Debconf to + configure /etc/console-cyrillic?) is removed and new question + console-cyrillic/bootsetup (do you want console-cyrillic to setup + Cyrillic at startup?) is added. Closes: #100384. + * If you don't want Cyrillic by console-cyrillic at boot-time you don't + have to remove /etc/console-cyrillic. You can set Bootsetup: NO. + * If you don't want /etc/console-cyrillic maintained by Debconf, you + don't need to dpkg-reconfigure console-cyrillic and answer NO to + console-cyrillic/wantcyr. You can set Debconf: NO in this file. + + -- Anton Zinoviev Tue, 3 Jul 2001 21:43:23 +0300 + +console-cyrillic (0.8-8) unstable; urgency=low + + * Added support for UTF-8. + + -- Anton Zinoviev Fri, 8 Jun 2001 19:52:57 +0300 + +console-cyrillic (0.8-7) unstable; urgency=low + + * Fixed a bug in the Serbian keymap (debian directory). CapsLock + zhe + didn't work. + * The option --font of `cyr' is mentioned in README.Debian. + + -- Anton Zinoviev Sun, 1 Apr 2001 22:45:45 +0300 + +console-cyrillic (0.8-6) unstable; urgency=low + + * Support for devfs filesystem in the script `cyr'. + * A debconf questions for virtual consoles. + * Fixed a grave bug in postinst: if the user chooses to preserve its + old configuration, then the configuration gets simply removed. + * Some debconf questions now have high priority. + + -- Anton Zinoviev Thu, 25 Jan 2001 13:11:34 +0200 + +console-cyrillic (0.8-5) unstable; urgency=low + + * Small change in the script `cyr' to support its non-Debian + users -- removed explicit usage of the directory + /usr/share/consolefonts. + * The Serbian keyboard is renamed from `yu' to `sr'. + * Fixed some bugs in the Ukrainian keyboard. + + -- Anton Zinoviev Thu, 25 Jan 2001 13:11:34 +0200 + +console-cyrillic (0.8-4) unstable; urgency=low + + * The script `cyr' has new option `--font'. The idea for supporting + non-standard fonts came from Andrey Chernomyrdin. + * New fonts: CAG, contributed by Andrey Chernomyrdin. + * The file README.Debian is updated to follow the changes made in + version (0.7-2) of the script `cyr'. + * New documentation file README.fonts. + + -- Anton Zinoviev Thu, 11 Jan 2001 13:11:34 +0200 + +console-cyrillic (0.8-3) unstable; urgency=low + + * The script `cyr' saves information in the proper conffile. In the + previous version it tried to save in the system conffile + /etc/console-cyrillic even when invoked as regular user. + * The words `Belarus' and `Belarusian' are spelled according to + Belarusian-HOWTO. The previous versions used `Belorussian', + `Belarussian', `Byelarussian' and other variants. + + -- Anton Zinoviev Wed, 27 Dec 2000 22:42:25 +0200 + +console-cyrillic (0.8-2) unstable; urgency=low + + * First upload to Debian. + + -- Anton Zinoviev Wed, 6 Dec 2000 11:14:39 +0200 + +console-cyrillic (0.8-1) unstable; urgency=low + + * New upstream version -- rearrangement of keyboard files, new keyboard + layout -- russian-ms. + * The script `cyr' supports the new layout russian-ms (name: ru_ms). + * DebConf support files also support it. + + -- Anton Zinoviev Tue, 3 Oct 2000 14:35:51 +0300 + +console-cyrillic (0.7-2) unstable; urgency=low + + * The name of the package is changed. + * Added Ukrainian keyboard. + * Serbian keyboard is renamed from sr to yu. + * Byelarussian keyboard is renamed from be to by. + * Added keymaps: option-caps_toggle.kmap option-clear.kmap + option-ctrl_alt_toggle.kmap option-ctrl_shift_toggle.kmap + option-lwin_switch.kmap option-lwin_toggle.kmap + option-menu_switch.kmap option-menu_toggle.kmap + option-rwin_switch.kmap option-rwin_toggle.kmap + option-shift_toggle.kmap option-switch.kmap option-toggle.kmap + option-win_switch.kmap + * The script `cyr' supports the new keymaps. + * The script `cyr' searches the programs `consolechars' and `kbd' not + only in /usr/bin, but also in /bin. This is because I use this + Debian-package to produce packages not only for Debian and in some + distributions these commands are in /bin. + * The package doesn't recommend `console-tools'. It just juggests it. + * The script cyr is rewriten in perl. It uses new format of the + configuration file and allows system-wide configuration file + /etc/console-cyrillic. + * The package allows setting up Cyrillic at boot time. The + customization is done by debconf. + + -- Anton Zinoviev Tue, 26 Sep 2000 16:17:10 +0300 + +console-tools-cyrillic (0.7-1) unstable; urgency=low + + * New upstream version -- contains byelarussian keyboard and more + fonts. + + -- Anton Zinoviev Mon, 10 Jul 2000 20:37:21 +0300 + +console-tools-cyrillic (0.6a-6) unstable; urgency=low + + * The error messages in the cyr script suggested the unexisting option + --list (fixes bug). + * Added Macedonian keyboard mapping. + + -- Anton Zinoviev Sat, 8 Jul 2000 14:51:10 +0300 + +console-tools-cyrillic (0.6a-5) unstable; urgency=low + + * The Byelarussian keyboard definition in the previous version was + generated with Serbian name so Byelarussian and Serbian Cyrillics + didn't work. Now this is fixed. + + -- Anton Zinoviev Sun, 11 Jun 2000 20:51:01 +0300 + +console-tools-cyrillic (0.6a-4) unstable; urgency=low + + * The documentation is moved to /usr/share/doc + * The rules file doesn't suppose that makeenc is executable. + + -- Anton Zinoviev Sun, 4 Jun 2000 20:51:01 +0300 + +console-tools-cyrillic (0.6a-3) unstable; urgency=low + + * Added Serbian and Byelarussian keyboard definition. + * The script `cyr' is always installed with 755 mode. (fixes bug) + * Added new style iso -- for fonts iso05.f??.psf.gz + * cyrillic-graph.fallback.gz is generated and used by the scrypt cyr. + * Changes in Bulgarian keyboard definitions. + * Changes in cyrillic.fallback + + -- Anton Zinoviev Sat, 3 Jun 2000 19:28:39 +0300 + +console-tools-cyrillic (0.6a-2) unstable; urgency=low + + * Small modification in `cyr' script to make possible its installation + in the /usr/local hierarchy. + + -- Anton Zinoviev Wed, 15 Mar 2000 08:25:12 +0200 + +console-tools-cyrillic (0.6a-1) unstable; urgency=low + + * Initial release. + + -- Anton Zinoviev Sat, 11 Mar 2000 17:47:28 +0200 --- console-cyrillic-0.9.orig/debian/option-menu_toggle.kmap +++ console-cyrillic-0.9/debian/option-menu_toggle.kmap @@ -0,0 +1,2 @@ +keymaps 0-15 +keycode 127 = AltGr_Lock --- console-cyrillic-0.9.orig/debian/rules +++ console-cyrillic-0.9/debian/rules @@ -0,0 +1,158 @@ +#!/usr/bin/make -f + +# This software may be used, modified, copied, distributed, and sold, +# in both source and binary form. This why under no circumstances is +# the author responsible for the proper functioning of this software, +# nor does the author assume any responsibility for damages incurred +# with its use. USE AT YOUR OWN RISK ! + +SHELL = /bin/bash + +package = console-cyrillic +byte_encodings = cp1251 ibm866 iso-8859-5 koi8-r koi8-u mac-cyrillic mik pt154 +encodings = unicode rk1048 $(byte_encodings) + +kazakh=debian/binary/console-kazakh-0.2b + +debian/binary.tar.gz.uu: + $(checkdir) + cd debian && tar cf - binary | gzip -9 | uuencode binary.tar.gz >binary.tar.gz.uu + +build: + $(checkdir) + uudecode -o debian/binary.tar.gz debian/binary.tar.gz.uu + tar zxf debian/binary.tar.gz -C debian + +clean: + $(checkdir) + -rm -rf *~ debian/tmp debian/*~ debian/po/*~ debian/files* debian/substvars + -rm -rf debian/binary + -rm -f debian/binary.tar.gz + +binary-indep: checkroot build + $(checkdir) + -rm -rf debian/tmp + install -d debian/tmp/DEBIAN + cp debian/{postinst,postrm} debian/tmp/DEBIAN + cp debian/{config,conffiles} debian/tmp/DEBIAN + po2debconf debian/templates >debian/tmp/DEBIAN/templates + chmod +x debian/tmp/DEBIAN/{postinst,postrm,config} + install -d debian/tmp/etc/init.d + cp debian/init.d debian/tmp/etc/init.d/console-cyrillic + chmod +x debian/tmp/etc/init.d/console-cyrillic + install -d debian/tmp/usr/share/doc/$(package) + cp debian/copyright debian/tmp/usr/share/doc/$(package) + cp debian/changelog debian/tmp/usr/share/doc/$(package)/changelog.Debian + gzip -9v debian/tmp/usr/share/doc/$(package)/changelog.Debian + cp debian/README debian/tmp/usr/share/doc/$(package)/README.Debian + cp debian/Cyr_and_Lat.README debian/tmp/usr/share/doc/$(package)/ + cp debian/README.ru debian/tmp/usr/share/doc/$(package)/README.ru + cp debian/README.eng debian/tmp/usr/share/doc/$(package)/README.eng + install -d debian/tmp/usr/share/doc/$(package)/dosemu + cp x-window/vga.bdf debian/tmp/usr/share/doc/$(package)/dosemu/ + cp debian/mik.bdf debian/tmp/usr/share/doc/$(package)/dosemu/ + sed '/README.en/d' $(kazakh)/README.ru >debian/tmp/usr/share/doc/${package}/README.console-kazakh + install -d debian/tmp/usr/share/doc/$(package)/windows + set -e; \ + for enc in $(byte_encodings); do \ + trcs -f koi8-r -t $${enc} windows.txt >debian/tmp/usr/share/doc/$(package)/windows/$${enc}; \ + done + iconv -f koi8-r -t utf-8 windows.txt >debian/tmp/usr/share/doc/$(package)/windows/utf-8 + install -d debian/tmp/usr/share/console-cyrillic + set -e; \ + for enc in $(encodings); do \ + bash debian/makeenc $$enc debian/tmp/usr/share/console-cyrillic/ru-$${enc}.kmap;\ + done + set -e; \ + for enc in $(encodings); do \ + bash debian/makeenc $$enc debian/tmp/usr/share/console-cyrillic/ru_ms-$${enc}.kmap;\ + done + set -e; \ + for enc in $(encodings); do \ + bash debian/makeenc $$enc debian/tmp/usr/share/console-cyrillic/by-$${enc}.kmap;\ + done + set -e; \ + for enc in $(encodings); do \ + bash debian/makeenc $$enc debian/tmp/usr/share/console-cyrillic/bg_bds-$${enc}.kmap;\ + done + set -e; \ + for enc in $(encodings); do \ + bash debian/makeenc $$enc debian/tmp/usr/share/console-cyrillic/bg_phon-$${enc}.kmap;\ + done + set -e; \ + for enc in $(encodings); do \ + bash debian/makeenc $$enc debian/tmp/usr/share/console-cyrillic/sr-$${enc}.kmap;\ + done + set -e; \ + for enc in $(encodings); do \ + bash debian/makeenc $$enc debian/tmp/usr/share/console-cyrillic/mk-$${enc}.kmap;\ + done + set -e; \ + for enc in $(encodings); do \ + bash debian/makeenc $$enc debian/tmp/usr/share/console-cyrillic/ua-$${enc}.kmap;\ + done + set -e; \ + for enc in $(encodings); do \ + bash debian/makeenc $$enc debian/tmp/usr/share/console-cyrillic/ua_ms-$${enc}.kmap;\ + done + set -e; \ + for enc in $(encodings); do \ + bash debian/makeenc $$enc debian/tmp/usr/share/console-cyrillic/mn-$${enc}.kmap;\ + done + set -e; \ + for enc in $(encodings); do \ + bash debian/makeenc $$enc debian/tmp/usr/share/console-cyrillic/kaz_gost-$${enc}.kmap;\ + done + set -e; \ + for enc in $(encodings); do \ + bash debian/makeenc $$enc debian/tmp/usr/share/console-cyrillic/kaz_alt-$${enc}.kmap;\ + done + cp debian/option-*.kmap debian/tmp/usr/share/console-cyrillic + cp acm/* debian/tmp/usr/share/console-cyrillic + cp sfm/* debian/tmp/usr/share/console-cyrillic + cp debian/cyrillic.fallback debian/tmp/usr/share/console-cyrillic/cyrillic.fallback + echo '# This file is combination between cyrillic.fallback and graph.fallback' >debian/tmp/usr/share/console-cyrillic/cyrillic-graph.fallback + cat debian/cyrillic.fallback >>debian/tmp/usr/share/console-cyrillic/cyrillic-graph.fallback + zcat /usr/share/consoletrans/graph.fallback.gz >>debian/tmp/usr/share/console-cyrillic/cyrillic-graph.fallback + cp debian/*.screenmap debian/tmp/usr/share/console-cyrillic + cp psf/* debian/tmp/usr/share/console-cyrillic + cp debian/binary/*.psf debian/tmp/usr/share/console-cyrillic + cp debian/binary/*.acm debian/tmp/usr/share/console-cyrillic + cp $(kazakh)/acm/rk1048.acm debian/tmp/usr/share/console-cyrillic + cp $(kazakh)/sfm/*.sfm debian/tmp/usr/share/console-cyrillic + cp $(kazakh)/psf/*.psf debian/tmp/usr/share/console-cyrillic + gzip -9v debian/tmp/usr/share/console-cyrillic/*.acm + gzip -9v debian/tmp/usr/share/console-cyrillic/*.sfm + gzip -9v debian/tmp/usr/share/console-cyrillic/*.fallback + cp debian/*.trans debian/tmp/usr/share/console-cyrillic + install -d debian/tmp/usr/bin + cp scripts/* debian/tmp/usr/bin + cp debian/cyr debian/tmp/usr/bin + chmod +x debian/tmp/usr/bin/cyr + install -d debian/tmp/usr/share/man/man1 + pod2man scripts/displayfont >debian/tmp/usr/share/man/man1/displayfont.1 + pod2man scripts/dumppsf >debian/tmp/usr/share/man/man1/dumppsf.1 + pod2man scripts/makeacm >debian/tmp/usr/share/man/man1/makeacm.1 + pod2man scripts/raw2psf >debian/tmp/usr/share/man/man1/raw2psf.1 + cp debian/cyr.1 debian/tmp/usr/share/man/man1/cyr.1 + cp debian/mkvgafont.1 debian/tmp/usr/share/man/man1/mkvgafont.1 + gzip -9v debian/tmp/usr/share/man/man1/*.1 + dpkg-gencontrol -isp + chown -R root.root debian/tmp + chmod -R go=rX,u=rwX debian/tmp + dpkg --build debian/tmp .. + +binary-arch: checkroot build + +define checkdir + test -f windows.txt -a -f debian/rules +endef + +binary: binary-indep binary-arch + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary binary-arch binary-indep clean checkroot + --- 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