diff --git a/ru_RU.KOI8-R/articles/euro/article.sgml b/ru_RU.KOI8-R/articles/euro/article.sgml new file mode 100644 index 0000000000..f59bad7a22 --- /dev/null +++ b/ru_RU.KOI8-R/articles/euro/article.sgml @@ -0,0 +1,366 @@ +<!-- + The FreeBSD Russian Documentation Project + + $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/euro/article.sgml,v 1.6 2005/06/12 06:08:53 gad Exp $ + + Original revision: 1.10 +--> + +<!DOCTYPE ARTICLE PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ +<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN"> +%articles.ent; +]> + +<article lang="ru"> + <articleinfo> + <title>������ ���� �� <systemitem + class="osname">FreeBSD</systemitem></title> + + <authorgroup> + <author> + <firstname>Aaron</firstname> + + <surname>Kaplan</surname> + + <affiliation> + <address> + <email>aaron@lo-res.org</email> + </address> + </affiliation> + </author> + </authorgroup> + + <copyright> + <year>2002</year> + <year>2003</year> + <holder>The FreeBSD Documentation Project</holder> + </copyright> + + <pubdate role="rcs">$FreeBSD$</pubdate> + + <legalnotice id="trademarks" role="trademarks"> + &tm-attrib.freebsd; + &tm-attrib.general; + </legalnotice> + + <abstract> + <para>� ���� ��������� ����� ������� ������� ������ ��� ������ ������ � + ����� �������� <keycap>Euro</keycap> �� ����� ����� ����������, ������� + �� ������ � ������ 2002 ���� ��� �������� �� ����� ����� ������. + ������� �� ���������������� �� ����� ������ ��������, �����, ��� + ���������� ����������� ������� �� �������. ����������� ������� + ��������� ��������� ���������� �������� ���� + <application>X11</application>.</para> + + <para>����� �������� ���������� ���� �������� �� Oliver Fromme, Tom + Rhodes � ������ ������. �������! ��� ��� ���� ������ �� �� + ����!</para> + </abstract> + </articleinfo> + + <sect1> + <title>�� ���� �������</title> + + <para>���� �� ��� ���������� ���� �������� ��� ������ � <ulink + url="&url.books.handbook/l10n.html">������������</ulink>, ��� ��� + ������� �� ����������� �� <systemitem + class="osname">FreeBSD</systemitem>, �� ��� ����� �������������� ������ + ��������� �����, ������� ������� ��� ������ �������� � ����:</para> + + <variablelist> + <varlistentry> + <term>ISO8859-15</term> + + <listitem> + <para>��� ��������� ���������������� ������ ������ ������������� + ������ �������� ISO8859-1. � ���� ������� ������ ����. + ������������ ��� ������� ���������� ��������� <envar>LANG</envar> � + <envar>LC_CTYPE</envar>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><filename>iso15-8x16.fnt</filename></term> + + <listitem> + <para>����� &man.vidcontrol.1; ��� �������</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><filename>/usr/share/syscons/keymaps/*.iso.kbd</filename></term> + + <listitem> + <para>������������ ���������, ��������������� ������ �����. ������� + ���� �� ��� � �������� �������� ��� ��������� + <literal>keymap</literal> �� ����� + <filename>rc.conf</filename>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><envar>LC_CTYPE</envar></term> + + <listitem> + <para>������������ ��� �������� ����������� ���� �������� ��� ����� + �����������.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><literal>XkbLayout "<replaceable>lang</replaceable>(euro)"</literal></term> + + <listitem> + <para>�������� ��������� <application>XFree86</application>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><filename>/usr/X11R6/lib/X11/fonts/*/fonts.alias</filename></term> + <listitem> + <para>����������� ��������� ���� ������ ��� X11 � ���� + <literal>-*-..-*-iso8859-15</literal></para> + </listitem> + </varlistentry> + </variablelist> + </sect1> + + <sect1> + <title>����� ���������</title> + + <para>� ����������� �������� �� ����� ����� ���������� � ������� + <emphasis>ISO8859-15</emphasis>. ��� ����������� ����������� ������� � + <systemitem class="osname">FreeBSD</systemitem> 4.5. � ����� ������ + ������� ����������� ������������ ���� <emphasis>ISO_8859-15</emphasis> + ��� <emphasis>DIS_8859-15</emphasis>.</para> + + <para>���� �� ����������� ����� ������ ������ <systemitem + class="osname">FreeBSD</systemitem>, ����������� ���������� � �������� + <filename>/usr/share/locale/</filename>, ����� ������������ ���������� �� + ������������.</para> + </sect1> + + <sect1> + <title>�������</title> + + <sect2> + <title>��������� ������ ��� �������</title> + + <para>� ����������� �� ���������� ����� ������� � ţ ������� ��� ����� + ������ ���� �� ����� ����� � <filename>rc.conf</filename>:</para> + + <programlisting>font8x16="iso15-8x16.fnt" # �� /usr/share/syscons/fonts/* +font8x14="iso15-8x14.fnt" +font8x8="iso15-8x8.fnt"</programlisting> + + <para>��� �����ģ� � ������ ������ ISO8859-15, ���������� ����� ��� + Latin-9. ISO8859-15 �������� ��������� ISO8859-1. �� ������ ������� + ������� ����� ����, ��������� �� ������ ����: ��� ���������� �������� + ����� 164. � ISO8859-1 �� ������� ������ � �������� ��������� �� + �����. ����� �� ���������� <quote>������������� �������� ������</quote>. � + ISO8859-15 ����� ���������� ������ �������� ������ ����. ���� ��� ���, + �� ������ ����� ��� ����� ���������.</para> + + <warning> + <para>�� ������ ��������� ����� ��������� ������������ ��������� � + ������������� ������� ��� <literal>iso15-8x16.fnt</literal>. ������ + �������� ISO8859-1, ���� �������� �������� � ������.</para> + </warning> + + <note> + <para>����� ������� ����� ������ ��������� ��������� ���������� + ���������� ����� ��������� ����֣�����. ��� ���������� � ���� ����, + ��� ��� ������������ ������������� ������� ������/������ ��������, + ������, ��� ANSI 850. ����� �� �������� ����� ��������� + <application>sysinstall</application>. ������ � ����������� + ������� ��� �� ����� �������� �������� � ������ �� ���������.</para> + </note> + + <para>��������� ����� �� ������ ���� ������������� ���� ������� ��� ����, + ����� ��������� �������� � ����, ���� (�������) ��������� �� ��������, + ������� ���������� ��� ������ ������ �������:</para> + + <screen>&prompt.user; <userinput>vidcontrol -f <replaceable>iso15-8x16.fnt</replaceable></userinput></screen> + + <para>��� �������� ����, ��� �� ������ �����, ��������� ����� �������� + ������ �� ����� <command><anchor id="awk-test">awk</command>:</para> + + <programlisting>#!/usr/bin/awk -f +BEGIN { + for(i=160;i<180;i++) + printf"%3d %c\n",i,i +}</programlisting> + + <para>� ���������� ���� ���� ������ ���� � ������� 164.</para> + </sect2> + + <sect2> + <title>��������� ����� ���������� �� ������������� ����</title> + + <para>����������� ������������ ��������� ��� ������ ���� ��������� + ���������. ������� �������: ���� � ��� �������� ���������� � ���� + ������� � ��������� ��������, �� �� ������ ���������� ���� ������, ��� + ��� ���������� ��� ���������� �����-�� ���������� ������ (� + �������: <keycombo action=simul><keycap>Alt Gr</keycap> + <keycap>e</keycap></keycombo>) � ������ � ���������� ��������� 164. + ���� �� ������������� � ����������, ����� ����� ��������� � �������� + <filename>/usr/share/syscons/keymaps/*.kbd</filename>. ������ ������ + ��������� ���������� ������ � &man.keyboard.4;. ������� + &man.kbdcontrol.1; ����� �������������� ��� �������� ���������������� + ������������ ���������.</para> + + <para>����� ������ ���������� ������������ ��������� ��� ������ ���� + ������� � ����� <filename>/etc/rc.conf</filename> ����� �������:</para> + + <programlisting>keymap="<replaceable>german.iso</replaceable>" # or another map</programlisting> + + <para>��� ������� ����, ���� ���, ������ �����, ��� ��� ���� �������� �� + ����� ��������� (� <application>sysinstall</application>). ���� ��� �� + ���, ���� ���������������, ���� ��������� ����� ������������ ��������� + ����������� &man.kbdcontrol.1;.</para> + + <para>��� �������� ��������� ����������, ������������� �� ������ ������� + � � ����������� �� ���� � ������� <emphasis>������ ����� + �����</emphasis> ���������� ������� ������� <keycap>Euro</keycap>. + ���� ��� �� ��������, ��������� ��������� �� ������ ����� + &man.send-pr.1; ���� ���������, ��� �� ������������� ������� ���������� + ��������� ����������.</para> + + <note> + <para>�� ���� ����� ������� Euro �ݣ �� �������� � + <application>bash</application> ��� + <application>tcsh</application>.</para> + </note> + </sect2> + + <sect2> + <title>����������� ���������� ���������</title> + + <para>��������� ���������� (<application>bash</application>, <application>tcsh</application>) ���������� � ���������� + &man.readline.3;, �������, � ���� �������, ���������� ���������� + ��������� <envar>LC_CTYPE</envar>. <envar>LC_CTYPE</envar> ������ ���� + ������ �� ������� ������� ��������. � �������, ��� ����� ���������� + �������� ������:</para> + + <programlisting>export LC_CTYPE=<replaceable>de_DE</replaceable>.ISO8859-15</programlisting> + + <para>� ��� <filename>.bash_profile</filename> (<application>bash</application>), ���:</para> + + <programlisting>setenv LC_CTYPE <replaceable>de_DE</replaceable>.ISO8859-15</programlisting> + + <para>� ��� ���� <filename>.login</filename> (tcsh). ������� ��, + <replaceable>de_DE</replaceable> ������ ���� �������� �� ��, ��� + ������������� ������ �����. ����� ��������� ������ � ��������, ������� + � ������� ����� � ���������, ��� ������� ���� ��������. ������ + ����������� ���������� ���������� ������ ������������ ������� ����. + ������ ��� ������������������ ��������, �����, ���, ��������, + <application>pine</application>, ����� ������������� �������������� + ���� �� �� ���������.</para> + + <note> + <para>������������� ��������� <filename>.login</filename> � + <filename>.bash_profile</filename> �������� ������� ���������� + ��������� ����� �������� &man.login.conf.5;. ���� ������ ����� + ������������ � ���������� ������� ����� � ������� ������������ + ������������� (� �������, ���������, ����������, � ��� �����) + <emphasis>� ����� �����</emphasis>.</para> + </note> + </sect2> + </sect1> + + <sect1> + <title>��������� X11</title> + + <para>�������� <filename>/etc/XF86Config</filename> ��������� + �������:</para> + + <programlisting>Option "XkbLayout" "<replaceable>de</replaceable>(euro)"</programlisting> + + <para>� �����, �������� <replaceable>de</replaceable> �� ��, ��� + ������������� ������ �����. � ����� ������� ���������� ������ ���� + ��������� ���������. ��� � � ������� � �������, ������ ���� ������ + ���������� �����. � ������ <application>KDE</application> ��������� � + <application>KDE control center</application> -> + Personalization -> Country & Language -> Charset � ������� ��� + �� <literal>ISO8859-15</literal>. �������� �� ���� ������ ���� ��������� + ��� <application>kmail</application> � ������ ����������.</para> + + <para>������ ������� �������� �������� ��������� ����� ������ + <filename>fonts.alias</filename>. ������� ��������, ��� ����� + <literal>fixed</literal> ������ ���� ������� �� ���������� ����� + ��������: ���� ������ + <filename>/usr/X11R6/lib/X11/fonts/misc/fonts.alias</filename> �������� + �������� ���:</para> + + <programlisting>! $Xorg: fonts.alias,v 1.3 2000/08/21 16:42:31 coskrey Exp $ +fixed -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-15 +variable -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-15 +(...)</programlisting> + + <para>��� � � �������� � �������, � ������������������ ����������� �ӣ �ݣ + ����� �������� ������������ ������ ISO8859-1 � �� ����� ������ &man.xrdb.1;. + ����� �� ������� �������� �������� <application>xterm</application>. + ��� �������, ���������� �������� ��������������� ���������������� ���� �� + �������� <filename>/usr/X11R6/lib/X11/app-defaults</filename>, ������� + ���������� �����. ���������������� ��� �� ������� + <application>xterm</application>.</para> + + <screen>&prompt.root; cd /usr/X11R6/lib/X11/app-defaults/ +&prompt.root; vi XTerm</screen> + + <para>�������� ����� ������ � ������ �����:</para> + + <programlisting>*font: -misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso8859-15</programlisting> + + <para>� �������, ������������� X � ���������, ��� ������ ����� ����������, + �������� ���������ģ���� <link linkend="awk-test">������ �� awk</link>. + ��� �������� ���������� ������ ���������� ������������ ��������� � + ��������� ������.</para> + </sect1> + + <sect1> + <title>�������� ��������</title> + + <para>�������, ����� ����� ��� �������� �������. ����� ����, �� ������� + ���� ����� ��� �����, ���� �� � ��� ������� ��� ��������� �������� + �������:</para> + + <itemizedlist> + <listitem> + <para>�������� ��������������� ������� ��������� <application>XFree86</application>: + <filename role="package">x11/xkeycaps</filename></para> + </listitem> + + <listitem> + <para>��������� � <application>GNOME</application></para> + </listitem> + + <listitem> + <para>��������� � <application>XFCE</application></para> + </listitem> + + <listitem> + <para>��������� ��� <application>(X)Emacs</application></para> + </listitem> + + <listitem> + <para>�������� UTF-8</para> + </listitem> + + <listitem> + <para>�������� <application>libiconv</application> ��� ������������ + ������� �������������� ����� ISO8859-15 � UTF-{8,16} ������ + ����������</para> + </listitem> + </itemizedlist> + </sect1> +</article> + +<!-- + Local Variables: + mode: sgml + sgml-indent-data: t + sgml-omittag: nil + sgml-always-quote-attributes: t + End: +-->