diff --git a/ru_RU.KOI8-R/books/handbook/l10n/chapter.xml b/ru_RU.KOI8-R/books/handbook/l10n/chapter.xml index 9456fd3bc3..7a80d02f32 100644 --- a/ru_RU.KOI8-R/books/handbook/l10n/chapter.xml +++ b/ru_RU.KOI8-R/books/handbook/l10n/chapter.xml @@ -5,10 +5,15 @@ $FreeBSD$ $FreeBSDru: frdp/doc/ru_RU.KOI8-R/books/handbook/l10n/chapter.xml,v 1.20 2007/06/26 11:42:42 den Exp $ - Original revision: r30225 + Original revision: r53208 --> -<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="l10n"> - <info><title>����������� - I18N/L10N ������������� � ���������</title> +<chapter xmlns="http://docbook.org/ns/docbook" + xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" + xml:id="l10n"> + <info> + <title>����������� - ������������� � ��������� + <acronym>i18n</acronym>/<acronym>L10n</acronym></title> + <authorgroup> <author><personname><firstname>Andrey</firstname><surname>Chernov</surname></personname><contrib>����������� </contrib></author> </authorgroup> @@ -22,520 +27,426 @@ </authorgroup> </info> - - <sect1 xml:id="l10n-synopsis"> <title>������� �����</title> - <para>FreeBSD - ��� ����� �������������� ������, ������������ + <para>&os; - ��� �������������� ������, ������������ � ������������� �������� ��������� � ����� ������ ������ �����. - � ���� ����� �������������� � ������������ ������������������� - � ����������� FreeBSD, ������� ��������� ��-�������������� - ������������� ������ ���� ������. ���������� ����� �������� � - i18n ���������� - ��� �� ��������� ������, ��� � �� ������ - ����������, ��� ���, ��� ��� ��������, �� ����� ������ �������� - ������ �� ����� ����������� ��������� ������������.</para> + ������� &os; ������������ ����������� �� ������ �����, ��� + ��������� �������������, ������� � ������������ ������ �� + ������, �������� �� �����������. ����� ������� ����� + ����������� �������� ������, � ��� �����: ���������, + ��������, ��������, ���������, �����������, ������� � + �����������.</para> - <para>����� ��������� ���� �����, �� ������ �����:</para> - <itemizedlist> - <listitem><para>��� ������ ����� � ������������ ��������� ���������� - � ����������� ������������ ��������.</para></listitem> - <listitem><para>��� ���������� ������������ ��������� ��� ����� - ��������.</para></listitem> - <listitem><para>��� ��������� ���� ������� ��� �������� �� - ����������� ������.</para></listitem> - <listitem><para>��� ���������� ������������ X Window System � ������� - �������.</para></listitem> - <listitem><para>��� ����� �������������� ������������ �� �������� - i18n-����������� ����������.</para></listitem> - </itemizedlist> - - <para>����� ������� ���� ����� ��� �������::</para> - - <itemizedlist> - <listitem><para>����� ��� ���������� �������������� ���������� ��������� - ������������� (<xref linkend="ports"/>).</para></listitem> - </itemizedlist> - </sect1> - - <sect1 xml:id="l10n-basics"> - <title>������</title> - - <sect2> - <title>��� ����� I18N/L10N?</title> <indexterm> <primary>�������������������</primary> <see>�����������</see> </indexterm> <indexterm><primary>�����������</primary></indexterm> - <para>������������ ��������� ������������������� � ������ I18N, �� ����� - �������� ����� ������ � ��������� �������� �������������������. � - �������� L10N ������������ ��� �� ������� �� <quote>�����������</quote>. - ��������� ������������ I18N/L10N ������, ��������� � ���������� - ��������� ������������� ������������ ����� �� ������ ������.</para> + <para>������ ������������������� + (<literal>internationalization</literal>) ��������� �� + <acronym>i18n</acronym>, �� ����� �������� � ���������� �����. + ���������� <acronym>L10n</acronym> ���������� ���������� �� + ����� <literal>localization</literal>. + <acronym>i18n</acronym>/<acronym>L10n</acronym> ������, + ��������� � ���������� ��������� ������������� ������������ + ����� �� ������ ������.</para> - <para>I18N ���������� �������� � ����������� ������ I18N ����������� - ���������. ��� ��������� ������������� ������ ������� ����� � ���������� - ������������ ���� � ������� �� ������ �����. �� ������������ ����������� - ������������� ��������� ����� ����������.</para> - </sect2> + <para>� ���� ����� ����������� ����������� ������������������� � + ����������� &os;, ������� ��������� ����:</para> - <sect2> - <title>������ � ������ ������������ I18N/L10N?</title> + <itemizedlist> + <listitem> + <para>����� ���������� �������.</para> + </listitem> - <para>I18N/L10N ������������ ������, ����� �� ������ �����������, ������ - ��� ���������� ������ �� �������� �� ����������� ������.</para> - </sect2> + <listitem> + <para>��������� ������������ �������� ��� ��������.</para> + </listitem> - <sect2> - <title>����� ����� �������������� � ������� I18N?</title> + <listitem> + <para>����������� �������.</para> + </listitem> - <para>I18N � L10N �� �������� ������������ ��� FreeBSD. �� ������� ������ - � ��� ���� ����� ����� ������ ����������������� ������� ����, �������, �� - �� �������������: ���������, ��������, ��������, ���������, �����������, - �������, ����������� � ��.</para> - </sect2> + <listitem> + <para>����������� <application>Xorg</application>.</para> + </listitem> + + <listitem> + <para>����� <acronym>i18n</acronym>-����������� + ����������.</para> + </listitem> + + <listitem> + <para>���������� �� ��������� ��� ��������� ������.</para> + </listitem> + </itemizedlist> + + <para>����� ������� ���� ����� ��� ������� �����:</para> + + <itemizedlist> + <listitem><para>��� <link linkend="ports">���������� + �������������� ���������� ��������� + �������������</link>.</para></listitem> + </itemizedlist> </sect1> <sect1 xml:id="using-localization"> <title>������������� �����������</title> - <para>��� ���� ����� �������, I18N �� ���������� ��� FreeBSD � - ��������, �� ����, �����������. ���������� ����� ���������� - �������� FreeBSD, � �� ��� ������������.</para> - <indexterm><primary>locale</primary></indexterm> + <indexterm><primary>������</primary></indexterm> - <para>��������� ����������� ���������� �� ���� �������� ��������: - ��� �����, ��� ������ � ���������. ����� ����������� �������� �� ���� - ������ ��������� �������:</para> + <para>��������� ����������� ������� �� �ң� �����������: ��� + �����, ��� ������ � ���������. �� ���� ������ ����������� + �������� �������:</para> - <programlisting><replaceable>��������</replaceable>_<replaceable>���������</replaceable>.<replaceable>���������</replaceable></programlisting> + <programlisting><replaceable>��������</replaceable>_<replaceable>���������</replaceable>.<replaceable>���������</replaceable></programlisting> - <sect2> - <title>���� � ��� ������</title> - <indexterm><primary>language codes</primary></indexterm> - <indexterm><primary>country codes</primary></indexterm> + <indexterm><primary>���� �����</primary></indexterm> + <indexterm><primary>���� ������</primary></indexterm> - <para>����� ��������� FreeBSD (��� ����� ������ &unix;-�������, - �������������� I18N) �� ������������� �������������� �����, ������������ - ����� �������� ���� ����� ����� � ������ (���� ������ �������� - ���������� ����� ������ ������� ����� ���� ������ ����� ������������). � - ���� ��, ���-��������, SMTP/POP �������, ���-������� � �.�. ������ ���� - ����� � ����������� �� �����. ����� �������� ������� ����� - �����/������:</para> + <para><replaceable>��������</replaceable> � + <replaceable>���������</replaceable> ������������ ��� + ����������� ������ � ����������� �������� �����. <xref + linkend="locale-lang-country"/> �������� ��������� ������� + ��� <replaceable>��������</replaceable>_<replaceable>���������</replaceable>:</para> - <informaltable frame="none" pgwide="1"> - <tgroup cols="2"> - <thead> - <row> - <entry>��� �����/������</entry> - <entry>��������</entry> - </row> - </thead> + <table xml:id="locale-lang-country" frame="none" pgwide="1"> + <title>�������� ���� ����� � ������</title> - <tbody> - <row> - <entry>en_US</entry> - <entry>���������� - ����������� �����</entry> - </row> + <tgroup cols="2"> + <thead> + <row> + <entry>��������_���������</entry> + <entry>��������</entry> + </row> + </thead> - <row> - <entry>ru_RU</entry> - <entry>������� ��� ������</entry> - </row> + <tbody> + <row> + <entry>en_US</entry> + <entry>����������, ����������� �����</entry> + </row> - <row> - <entry>zh_TW</entry> - <entry>������������ ��������� ��� �������</entry> - </row> - </tbody> - </tgroup> - </informaltable> + <row> + <entry>ru_RU</entry> + <entry>�������, ������</entry> + </row> - </sect2> + <row> + <entry>zh_TW</entry> + <entry>������������ ���������, �������</entry> + </row> + </tbody> + </tgroup> + </table> - <sect2> - <title>���������</title> - <indexterm><primary>���������</primary></indexterm> - <indexterm><primary>ASCII</primary></indexterm> + <para>������ ������ ������� �������� �� �������:</para> - <para>��������� ����� ���������� �� ��������������� ASCII ���������, - ������� ���������� ��� ����������� 8 ���, ����������� ��� - ������������� ������������� �������� (����������� ��. � &man.multibyte.3;). - ������ ���������� �� ���������� ����� ��������� � �������� ��������� �� - �� ����������� �������. ����� ���������� ������ ���������� 8-������ - �������. � ����������� �� ����������, ������������ ����� - ������������� ���������� ���������� � ���������� ������������ ��� - ������������� ������������� ��������, ��� �� ������ ���������� ��� - ���������. ����� ����� ����������� ������� � ������������ ������� � - ����������� ��� ������������ ��������������, <link xlink:href="&url.base;/ru/ports/index.html">��������� ������ FreeBSD</link> - ������������� ��������� ������ ������ ��� ��������� ����������. �������� - ������������ �� I18N � ��������������� ����� FreeBSD.</para> + <screen>&prompt.user; <userinput>locale -a | more</userinput></screen> - <para>� ���������, ������������ ���������� ������ ����������� � ���������� - ������������ ����� ������, ��� ��������� ��� ��������� ��� - ������� ���������� ��������� configure/Makefile/�����������.</para> + <para>����� ���������� ������� ������:</para> - <para>������� ������� ��������� ����:</para> + <screen>&prompt.user; <userinput>locale</userinput></screen> - <itemizedlist> - <listitem> - <para>������ ��������, ������������ ���� ���� ��� ����������� ������� - (��. &man.multibyte.3;), ��������, - ISO8859-1, ISO8859-15, KOI8-R, CP437.</para> - </listitem> + <indexterm><primary>���������</primary></indexterm> + <indexterm><primary>ASCII</primary></indexterm> - <listitem> - <para>����������� ��� ������������ ���������, ��������, EUC, Big5.</para> - </listitem> - </itemizedlist> + <para>����������� ��� ������ ������ �������� ISO8859-1, + ISO8859-15, KOI8-R, CP437 ������� � &man.multibyte.3;. + ���������� ������ ������� �������� ��������� �� ����� <link + xlink:href="http://www.iana.org/assignments/character-sets">IANA + Registry</link>.</para> - <para>�� ������ ���������� ���������� ������ ������� �������� �� ����� - <link xlink:href="http://www.iana.org/assignments/character-sets">IANA Registry</link>.</para> + <para>��������� �����, ����� ��� ��������� ��� ��������, �� ����� + ���� ������������ � �������������� �������� + <acronym>ASCII</acronym>, � ��� ��� ��������� ����������� + �������� ��������� � �������������� ������������ ��� + �������������� ������������� ��������. ������ ����������� + �������� EUC � Big5. ������ ���������� ����� �������� + ��������� ������� � ����� ���������� �� �����������, � �� ����� + ��� ����� ������ �� ����������. � ����������� �� ����������, + ������������ ����� ������������� ���������� ���������� � + ���������� ������������ ��� �������������� ������������� + �������� ��� ���������� ��� ���������.</para> - <note> - <para>������ �����, &os; ���������� X11-����������� - ��������� ��� �����������.</para> - </note> + <note> + <para>�� &os; ������������ Xorg-����������� ���������.</para> + </note> - </sect2> - - <sect2> - <title>����������, ������������ I18N</title> - - <para>� ������� ������ � ������� FreeBSD � �������� ����������, - �������������� I18N, �������� ������������ <literal>I18N</literal> ��� - ������ �� �������������. �, ��� �� �����, �� ��� ���������� ������������ - ��������� ����.</para> - </sect2> + <para>� ����������� ����� ������� ��������������� ��������� + ������� ��������� ����������� � ������� &os;. � ��������� + ������� ��������� ����������� �� ������ � ���������� + ���������� � ���������� <acronym>i18n</acronym>.</para> <sect2 xml:id="setting-locale"> - <title>��������� �����������</title> + <title>��������� ����������� ��� ��������</title> - <para>������ ���������� �������������� �������� ����� ����������� � - ���������� <envar>LANG</envar> ����� ��������. ��� ����� ������� � - ���������������� <filename>~/.login_conf</filename> ����� ��� � - ����������������� ����� ���������������� �������� - (<filename>~/.profile</filename>, <filename>~/.bashrc</filename>, - <filename>~/.cshrc</filename>). ��� ���������� ������������� ��������� - ��������� ����������� ����� ��� <envar>LC_CTYPE</envar>, - <envar>LC_CTIME</envar>. �� �������������� �����������, ����������, - ����������� � ������������ FreeBSD �� ������� ��� �����.</para> + <para>��� �������� ����������� ������������ + ���������������� <filename>~/.login_conf</filename> ��� + ���������������� ���� ���������������� ��������: + <filename>~/.profile</filename>, + <filename>~/.bashrc</filename> ��� + <filename>~/.cshrc</filename>.</para> - <para>��� ������� ���������� ��������� ���������� ��������� � ����� - ���������������� ������:</para> + <para>������� ������ ��� ���������� ���������:</para> <itemizedlist> <listitem> - <indexterm><primary>POSIX</primary></indexterm> - - <para><envar>LANG</envar> ��� ��������� ������� &posix; - &man.setlocale.3;</para> + <para><envar>LANG</envar> ������ ������<indexterm> + <primary>POSIX</primary></indexterm></para> </listitem> <listitem> <indexterm><primary>MIME</primary></indexterm> - <para><envar>MM_CHARSET</envar>����� �������� MIME ��� - ����������</para> + <para><envar>MM_CHARSET</envar> ������ ����� �������� + <acronym>MIME</acronym> ��� ����������</para> </listitem> </itemizedlist> - <para>��� ��������� �������� ������������ �������� ������������, - ������������ ���������� ���������� � ������������ X11.</para> + <para>� ���������� � ���������� ���������������� �������� + ��� ���������� ����� ������� ������ � ������������ + ����������� ���������� � � ������������ + <application>Xorg</application>.</para> - <sect3> - <title>������ ��������� �����������</title> - <indexterm><primary>locale</primary></indexterm> - <indexterm><primary>login class</primary></indexterm> + <indexterm><primary>������</primary></indexterm> + <indexterm><primary>����� ������</primary></indexterm> - <para>���������� ��� ������ ��������� ����������� � ��� ������� ����. - ������ (�������������) ����������� � ������� ���������� � <link linkend="login-class">������ ������</link>, ������ ����� ����������� � - ������� ���������� ��������� � - <link linkend="startup-file">����������������� - �����</link> ��������� ��������.</para> + <para>���������� ��� ������� ��������� ����������� ���������� + ����������: <link linkend="login-class">����� ������</link>, + ������� �������� �������������, � <link + linkend="startup-file">���� �������������</link>. + � ��������� ���� �������� ����� ��������, ��� ������������ + ��� �������.</para> - <sect4 xml:id="login-class"> - <title>����� Login Classes</title> + <sect3 xml:id="login-class"> + <title>��������� ����� ������ ������</title> - <para>���� ����� ��������� ���������� ���������� ���������, - ����������� ��� ��������� ����������� � ������ �������� MIME, - ���������� ��� ����� ��������, ������ ����, ����� ��������� - ��������� ���� ���������� � ����������������� ���� ������ ��������. - <link linkend="usr-setup">��������� �� ������ ������������</link> ����� - ���� ������� ����� �������������, � <link linkend="adm-setup"> - ��������� �� ������ ��������������</link> ������� ���������� - �����������������.</para> + <para>������ ������ �������� �������������, ��������� � Σ� + ����������� ��� ������ ����������� � ������ �������� + <acronym>MIME</acronym> �������� ���������� ��������� + ������������� ��� ���� ��������. ��� ��������� ����� + ��������� ������������ ��� ����, � ����� ��� ����� ������� + � ���� ��������� ����������������� ��� ���� ������������� + �������.</para> - <sect5 xml:id="usr-setup"> - <title>��������� �� ������ ������������</title> + <para>� ���� ����������� ������� ��� ���������� �������� ��� + ��������� Latin-1 � <filename>.login_conf</filename> + ��������� �������� ���������� ������������:</para> - <para>��� ����������� ������ ����� <filename>.login_conf</filename> - � �������� �������� ������������, � ������� �������� ��� ���������� - ��� ��������� Latin-1:</para> - - <programlisting>me:\ + <programlisting>me:\ :charset=ISO-8859-1:\ :lang=de_DE.ISO8859-1:</programlisting> - <indexterm><primary>Traditional Chinese</primary><secondary>BIG-5 encoding</secondary></indexterm> - <para>��� ������ <filename>.login_conf</filename>, ������� ������ - ���������� ��� ������������� ���������� ����� � ��������� BIG-5. - �������� ��������, ��� �������� ������� ������ ����������, ������ - ��� ��������� ��������� ����������� ������������ ���������� - ��������� ����������� ��� �����, ������ � �����.</para> + <indexterm><primary>������������ ���������</primary> + <secondary>��������� BIG-5</secondary></indexterm> - <programlisting>#������������, ������� �� ����� ������������ -�������� ������� + <para>���� ��� <filename>~/.login_conf</filename>, � ������� + ���������� ������ ��� ������������� ���������� � ��������� + BIG-5. ����� ����� ������ ����������, ������ ��� ��������� + ��������� ����������� ������������ ���������� ��������� + ����������� ��� �����, ������ � �����:</para> + + <programlisting>#������������, ������� �� ����� ������������ �������� ������� #� ������� ������� �������, ����� ������� �������� ������ ���������� me:\ :lang=zh_TW.Big5:\ - :setenv=LC_ALL=zh_TW.Big:\ - :setenv=LC_COLLATE=zh_TW.Big5:\ - :setenv=LC_CTYPE=zh_TW.Big5:\ - :setenv=LC_MESSAGES=zh_TW.Big5:\ - :setenv=LC_MONETARY=zh_TW.Big5:\ - :setenv=LC_NUMERIC=zh_TW.Big5:\ - :setenv=LC_TIME=zh_TW.Big5:\ + :setenv=LC_ALL=zh_TW.Big5,LC_COLLATE=zh_TW.Big5,LC_CTYPE=zh_TW.Big5,LC_MESSAGES=zh_TW.Big5,LC_MONETARY=zh_TW.Big5,LC_NUMERIC=zh_TW.Big5,LC_TIME=zh_TW.Big5:\ :charset=big5:\ :xmodifiers="@im=gcin": #Set gcin as the XIM Input Server</programlisting> - <para>�� ������������� ����������� � ������� - <link linkend="adm-setup">��������� �� - ������ ��������������</link> � &man.login.conf.5;.</para> - </sect5> + <para>��� �������, ����������������� ����� ��������� + ����������� ��� ���� ������������� �������. ��������� + ���������� � <filename>/etc/login.conf</filename> + ������������ ��� ��������� ����������� � ������ �������� + <acronym>MIME</acronym>:</para> - <sect5 xml:id="adm-setup"> - <title>��������� �� ������ ��������������</title> - - <para>���������, ��� ����� ������ ������������ � - <filename>/etc/login.conf</filename> ������ ������ ����. - ���������, ��� ��� ��������� ������������ � - <filename>/etc/login.conf</filename>:</para> - - <programlisting><replaceable>language_name</replaceable>:<replaceable>accounts_title</replaceable>:\ - :charset=<replaceable>MIME_charset</replaceable>:\ - :lang=<replaceable>locale_name</replaceable>:\ + <programlisting><replaceable>��������_�����</replaceable>|<replaceable>��������� ��������</replaceable>:\ + :charset=<replaceable>���������_MIME</replaceable>:\ + :lang=<replaceable>��������_�����������</replaceable>:\ :tc=default:</programlisting> - <para>��������� ��� ���������� ������ � Latin-1, ��� ������ - ��������� ���:</para> + <para>����� �������, �� ���������� ������� � Latin-1 + ��� �� ��������� ���:</para> - <programlisting>german:German Users Accounts:\ + <programlisting>german|German Users Accounts:\ :charset=ISO-8859-1:\ :lang=de_DE.ISO8859-1:\ :tc=default:</programlisting> - <para>�������, ��� ����� <replaceable>russian</replaceable> - ������������ �� FreeBSD �� ���������.</para> + <para>�� ����������� �� ���� ���������� ����������� � + &man.login.conf.5;. �������, ��� ��� ��� ������������ + ����� <replaceable>russian</replaceable>.</para> - <para>����� ��������� �������� ������� ������� ��������� - �������:</para> + <para>����� ������� ��������� + <filename>/etc/login.conf</filename> �� ��������� ��������� + ������� ��� ���������� ���� ������:</para> - <screen>&prompt.root; <userinput>cap_mkdb /etc/login.conf</userinput></screen> + <screen>&prompt.root; <userinput>cap_mkdb /etc/login.conf</userinput></screen> - <para>��� ����, ����� ��������� � ����� - <filename>/etc/login.conf</filename> ����� �������������� - ��������.</para> + <sect4> + <title>������� ��� ����� ������ ������</title> - <bridgehead renderas="sect4">��������� ������ ������ � ������� - &man.vipw.8;</bridgehead> + <indexterm> + <primary><command>vipw</command></primary> + </indexterm> - <indexterm> - <primary><command>vipw</command></primary> - </indexterm> - <para>����������� <command>vipw</command> ��� ���������� ����� - ������������� � �������������� ������ � ������������, ����� ��� ���� - ������ �� ���:</para> + <para>� ���������� � ������� �������������� + <filename>/etc/login.conf</filename> ������� ��������� + ������, ������� ��������� ������ ������ ��� �������� + ����� �������������:</para> - <programlisting>user:password:1111:11:<replaceable>language</replaceable>:0:0:User Name:/home/user:/bin/sh</programlisting> + <para>���� ��� ���������� ����� ������������� + ������������ <command>vipw</command>, �� ����� ������ + ������, ������� <replaceable>����</replaceable>:</para> - <bridgehead renderas="sect4">��������� ������ ������ � ������� - &man.adduser.8;</bridgehead> + <programlisting>user:password:1111:11:<replaceable>����</replaceable>:0:0:User Name:/home/user:/bin/sh</programlisting> - <indexterm> - <primary><command>adduser</command></primary> - </indexterm> - <indexterm><primary>login class</primary></indexterm> - <para>����������� <command>adduser</command> ��� ���������� ����� - ������������� � �������� ���������:</para> + <indexterm> + <primary><command>adduser</command></primary> + </indexterm> + <indexterm><primary>����� ������</primary></indexterm> - <itemizedlist> - <listitem> - <para>���������� <literal>defaultclass = - <replaceable>����</replaceable></literal> � - <filename>/etc/adduser.conf</filename>. �������, ��� � ���� - ������ �� ������ ������ <literal>default</literal> ����� ��� - ���� ������������� ������ ������.</para> - </listitem> + <para>���� ��� ���������� ����� ������������� ������������ + <command>adduser</command>, �� ���� �� ��������� ����� + �������������� ������� ��� ���� ����� ������������� + ��� ������� ��� ��� ���������� ������������.</para> - <listitem> - <para>������ ������ ����������� � ������� ������ ������ ������ - ���, ����� &man.adduser.8; �������� �� ����: - <screen><prompt>Enter login class: default []: </prompt></screen> - </para> - </listitem> + <para>���� ��� ����� ������������ ���������� ����� ����, + ������� <literal>defaultclass=<replaceable>����</replaceable></literal> + � <filename>/etc/adduser.conf</filename>.</para> - <listitem> - <para>��� ���� ������ - ������������ ��������� ��� ������� - ������������ ������� �����, �������� �� ������ - ��������:</para> + <para>����� �������������� ��� ��������� ��� �������� + ������������, ������� ��������� ������ � ������� + ��������� ������:</para> - <screen>&prompt.root; <userinput>adduser -class <replaceable>����</replaceable></userinput></screen> - </listitem> - </itemizedlist> + <screen><prompt>Enter login class: default []: </prompt></screen> - <bridgehead renderas="sect4">��������� ������ ������ � ������� - &man.pw.8;</bridgehead> - <indexterm><primary><command>pw</command></primary></indexterm> - <para>���� ��� ���������� ����� ������������� �� ����������� - ������� &man.pw.8;, ���������� �� � ������ �����������:</para> + <para>��� ������� ţ � ������� &man.adduser.8;:</para> - <screen>&prompt.root; <userinput>pw useradd - <replaceable>���_������������</replaceable> -L <replaceable>����</replaceable></userinput></screen> + <screen>&prompt.root; <userinput>adduser -class <replaceable>����</replaceable></userinput></screen> - <bridgehead renderas="sect4">��������� ������ ������ � ������� - &man.chpass.1;</bridgehead> - <indexterm><primary><command>chpass</command></primary></indexterm> - <para>����� �������� ����� ������ � ������������� ������������, - �������������� �������� &man.chpass.1;. � ���������� - ��������� � ������� ����������������� � �������� ��� ������������, - �������� ��������� �������� �����, � �������� ���������.</para> + <indexterm> + <primary><command>pw</command></primary> + </indexterm> - <screen>&prompt.root; <userinput>chpass <replaceable>���_������������</replaceable></userinput></screen> - </sect5> + <para>���� ��� ���������� ����� ������������� ������������ + <command>pw</command>, ������� ������ ���:</para> + + <screen>&prompt.root; <userinput>pw useradd <replaceable>���_������������</replaceable> -L <replaceable>����</replaceable></userinput></screen> + + <indexterm> + <primary><command>chpass</command></primary> + </indexterm> + + <para>�������� ����� ������ � ������������� ������������ + ����� � ������� <command>chpass</command>, ������� ��� + ������������ ����� ��������:</para> + + <screen>&prompt.root; <userinput>chpass <replaceable>���_������������</replaceable></userinput></screen> </sect4> + </sect3> - <sect4 xml:id="startup-file"> - <title>����� ����������������� ������ ��������</title> + <sect3 xml:id="startup-file"> + <title>���� ������������� ��������</title> - <note> - <para>���� ����� �� �������������, ������ ��� �� ������� ������ - �������� ��� ������ ��������. ������ ����� ����������� - <link linkend="login-class">����� ������ ������</link>.</para> - </note> + <para>������ ������ �� �������������, ��������� ��� ������ + ������������ �������� ��������� ������ ������������, ��� + ���� � ������ �������� ������������ ����������� ���� + ������������ � ������ ���������. ��������, ����� ������ + �������� ���� � �������� <command>sh</command>, ��� + ������� ����� ���� �� �������� � + <filename>~/.profile</filename> ��� ��������� �������� + ���������� ������������. ����� �� ����� ���� �� �������� + � <filename>/etc/profile</filename> ��� + <filename>/usr/share/skel/dot.profile</filename>, ����� + ��������� �� ���� �������������:</para> - <indexterm><primary>MIME</primary></indexterm> - <indexterm><primary>locale</primary></indexterm> - <para>����� �������� ����������� � ����� �������� MIME, ������ - ���������� ��� ���������� ���������, ����������� ����, � - ����������������� ����� �������� <filename>/etc/profile</filename> - �/��� <filename>/etc/csh.login</filename>. ��� ������� �� ���������� - �������� ����:</para> + <programlisting><envar>LANG</envar>=de_DE.ISO8859-1; export <envar>LANG</envar> +<envar>MM_CHARSET</envar>=ISO-8859-1; export <envar>MM_CHARSET</envar></programlisting> - <para>� <filename>/etc/profile</filename>:</para> + <para>��� �� �����, ���� � ����� ������������ � ������������ + ��������� ���������� � �������� <command>csh</command>. + ��������� ��������� ����� ��������� ������� ������ � + <filename>~/.csh.login</filename>, + <filename>/etc/csh.login</filename> � + <filename>/usr/share/skel/dot.login</filename>:</para> - <programlisting><envar>LANG=de_DE.ISO8859-1; export LANG</envar> -<envar>MM_CHARSET=ISO-8859-1; export MM_CHARSET</envar></programlisting> + <programlisting>setenv <envar>LANG</envar> de_DE.ISO8859-1 +setenv <envar>MM_CHARSET</envar> ISO-8859-1</programlisting> - <para>��� � <filename>/etc/csh.login</filename>:</para> + <para>������������ � <filename>~/.xinitrc</filename> + ��������� ��� ��������� <application>Xorg</application> + ����� ������� �� ��������. ������ ������ ��� �������� + <command>sh</command>, � ������ ��� + <command>csh</command>:</para> - <programlisting><envar>setenv LANG de_DE.ISO8859-1</envar> -<envar>setenv MM_CHARSET ISO-8859-1</envar></programlisting> + <programlisting><envar>LANG</envar>=de_DE.ISO8859-1; export <envar>LANG</envar></programlisting> - <para>��� �������, �� ������ �������� ���������, ����������� ���� � - <filename>/usr/share/skel/dot.profile</filename> (������������� - ���������� � <filename>/etc/profile</filename> ����), ��� - <filename>/usr/share/skel/dot.login</filename> (������������� - ���������� � <filename>/etc/csh.login</filename> ����).</para> - - <para>��� X11:</para> - - <para>� <filename>$HOME/.xinitrc</filename>:</para> - - <programlisting><envar>LANG=de_DE.ISO8859-1; export LANG</envar></programlisting> - - <para>���:</para> - - <programlisting><envar>setenv LANG de_DE.ISO8859-1</envar></programlisting> - - <para>� ����������� �� ����� �������� (��. ����).</para> - - </sect4> + <programlisting>setenv <envar>LANG</envar> de_DE.ISO8859-1</programlisting> </sect3> </sect2> <sect2 xml:id="setting-console"> <title>��������� �������</title> - <para>��� ���� ������������ ������� ������, ������� ���������� - ���������� ������ � <filename>/etc/rc.conf</filename> ��� - ���������� �����:</para> + <para>��� ������� ������� ��������� �������������� �������. + ��� �� ��������� �������� + <command>ls /usr/share/syscons/fonts</command>. + ����� ��������� ���������� �����, + ������� � <filename>/etc/rc.conf</filename> + <replaceable>���_������</replaceable> ��� ���������� + <filename>.fnt</filename>:</para> <programlisting>font8x16=<replaceable>���_������</replaceable> font8x14=<replaceable>���_������</replaceable> font8x8=<replaceable>���_������</replaceable></programlisting> - <para>The <replaceable>���_������</replaceable> ������� �� �������� - <filename>/usr/share/syscons/fonts</filename>, - ��� �������� ���������� <filename>.fnt</filename>.</para> - - <indexterm> - <primary><application>sysinstall</application></primary> - </indexterm> <indexterm><primary>keymap</primary></indexterm> <indexterm><primary>screenmap</primary></indexterm> - <para>��������� ����� � ��������� ���������� �������� keymap � screenmap - ��� ����� ������������ ������� ������� ����� - <command>sysinstall</command> (<command>/stand/sysinstall</command> - � &os; ������ ����� ������, ��� 5.2). - � <application>sysinstall</application> �������� - <guimenuitem>Configure</guimenuitem>, ����� - <guimenuitem>Console</guimenuitem>. ��� �������� ��������� ������ � + <para>�������� keymap � screenmap ����� ������ � <filename>/etc/rc.conf</filename>:</para> - <programlisting>scrnmap=<replaceable>screenmap_name</replaceable> -keymap=<replaceable>keymap_name</replaceable> -keychange="<replaceable>fkey_number sequence</replaceable>"</programlisting> + <programlisting>scrnmap=<replaceable>��������_screenmap</replaceable> +keymap=<replaceable>��������_keymap</replaceable> +keychange="<replaceable>������������������ fkey_number</replaceable>"</programlisting> - <para><replaceable>screenmap_name</replaceable> ������� �� - �������� <filename>/usr/share/syscons/scrnmaps</filename>, ��� - �������� <filename>.scm</filename>. - Screenmap � ��������������� ������� ������ ������������ � �������� - ��������� ���� ��� ���������� 8 ��� �� 9 ��� � ����������������� - ������� VGA ��������, �������� ��� �������� ���� �� ���� ������� + <para>����� ����������� ��������� ������� screenmap, �������� + <command>ls /usr/share/syscons/scrnmaps</command>. �������� + <replaceable>screenmap</replaceable> ����������� ��� + ���������� <filename>.scm</filename>. ������� screenmap � + ��������������� ������� ������ ������������ � �������� + ��������� ���� ��� ���������� 8 ��� �� 9 ��� � ������� �������� + ������ �������� VGA. ��� ����� ��������� � ��������� ���� �� + ������� ����������������� �������, ���� ������������ 8-������ �����.</para> - <para>���� ������ ���� <application>moused</application> ������� - ����������� � <filename>/etc/rc.conf</filename> ��������� - ������:</para> + <para>����� ����������� ��������� ������� keymap, �������� + <command>ls /usr/share/syscons/keymaps</command>. �������� + <replaceable>keymap</replaceable> ����������� ��� ���������� + <filename>.kbd</filename>. ����� ��������� keymap ��� + ������������ �������, ����������� &man.kbdmap.1;.</para> -<programlisting>moused_enable="YES"</programlisting> + <para>������ <literal>keychange</literal> ������ ����� ��� + ������������� �������������� ������ ���������� ���� + ���������, ��������� ������������������ �������������� ������ + �� ����� ���� ���������� � keymap.</para> - <para>�������� ���������� � ������� ���� � ��������� ���������.</para> + <para>����� ����� ������� ���������� ���������� ��� ��������� + � <filename>/etc/ttys</filename> ��� ���� ����������� + ����������. <xref linkend="locale-charset"/> �������� + ��������� ���� ����������:</para> - <indexterm> - <primary><application>moused</application></primary> - </indexterm> - <para>�� ��������� ������� &man.syscons.4; �������� ��� ������� ���� - � ������� �������� �������� 0xd0-0xd3. ���� � ����� ����� - ������������ ���� ��������, ����������� ���� ��������, - ������� ��������� ������ � - <filename>/etc/rc.conf</filename>:</para> + <table xml:id="locale-charset" frame="none" pgwide="1"> + <title>���� ���������� ��� ������ ��������</title> - <programlisting>mousechar_start=3</programlisting> - - <para><replaceable>keymap_name</replaceable> ������� �� �������� - <filename>/usr/share/syscons/keymaps</filename>, ��� ���������� - <filename>.kbd</filename>. ���� �� �� ������ ����� ������� - ������������, ��������� &man.kbdmap.1; ��� ������������ ������� - ��� ������������.</para> - - <para><literal>keychange</literal> ������ ��������� ��� ������������� - �������������� ������ ���������� ���� ���������, ��������� - ������������������ �������������� ������ �� ����� ���� ���������� - � ��������� ����������.</para> - - <para>��������� �����, ��� ��� ���� ������� <literal>ttyv*</literal> - � <filename>/etc/ttys</filename> ���������� ���������� ��� ���������. - ��������� ���� ������������� ��������� ����������:</para> - - <informaltable frame="none" pgwide="1"> <tgroup cols="2"> <thead> <row> - <entry>������� �������</entry> + <entry>����� ��������</entry> <entry>��� ���������</entry> </row> </thead> @@ -577,23 +488,27 @@ keychange="<replaceable>fkey_number sequence</replaceable>"</programlisting> </row> </tbody> </tgroup> - </informaltable> + </table> - <para>��� ����������� ���������, � ����� ��� ������������� ���������, - ����������� ���� FreeBSD �� �������� - <filename>/usr/ports/<replaceable>language</replaceable></filename>. - ��������� ����� ������� ���������� �� �������, ���� ��� ������� - �������� ��� ���������������� ���������������, ������������� �� - ������ ��������������� ����������� ���������� ���������������� - � ��� X11 � ��� ���������������� ��������������. ��� �������� - ������ ���������� ��� ������������� ���� ��������� � �������:</para> + <indexterm> + <primary><application>moused</application></primary> + </indexterm> + + <para>��� ������ � ����������� ��� ������������� ���������� + ���������� ������� ��� ������� ����� �� ��������� ������ + &os;. <xref linkend="locale-console"/> �������� ��������� + �����. ����� ��������� �������� + <filename>pkg-message</filename> ��� �������� ����������� + �� ������������ � ������������� ������� �����.</para> + + <table xml:id="locale-console" frame="none" pgwide="1"> + <title>��������� ������� �� ��������� ������</title> - <informaltable frame="none" pgwide="1"> <tgroup cols="2"> <thead> <row> <entry>����</entry> - <entry>����������</entry> + <entry>������������ �����</entry> </row> </thead> @@ -604,330 +519,457 @@ keychange="<replaceable>fkey_number sequence</replaceable>"</programlisting> </row> <row> - <entry>��������</entry> - <entry><package>japanese/kon2-16dot</package> ��� - <package>japanese/mule-freewnn</package></entry> + <entry>Chinese/Japanese/Korean</entry> + <entry><package>chinese/cce</package></entry> </row> <row> - <entry>���������</entry> - <entry><package>korean/han</package></entry> + <entry>Chinese/Japanese/Korean</entry> + <entry><package>chinese/zhcon</package></entry> + </row> + + <row> + <entry>Japanese</entry> + <entry><package>chinese/kon2</package></entry> + </row> + + <row> + <entry>Japanese</entry> + <entry><package>japanese/kon2-14dot</package></entry> + </row> + + <row> + <entry>Japanese</entry> + <entry><package>japanese/kon2-16dot</package></entry> </row> </tbody> </tgroup> - </informaltable> + </table> + + <para>���� <application>moused</application> ������� + � <filename>/etc/rc.conf</filename>, ����� ������������� + �������������� ���������. �� ��������� ������� + &man.syscons.4; �������� ��� ������� ���� � ������� �������� + �������� <literal>0xd0</literal>-<literal>0xd3</literal>. + ���� � ����� ���� �������� ������������, ����������� �������� + ������� ����������� ���������� ��������� ������ � + <filename>/etc/rc.conf</filename>:</para> + + <programlisting>mousechar_start=3</programlisting> </sect2> <sect2> - <title>��������� X11</title> + <title>��������� Xorg</title> - <para>���� X11 �� �������� ������ ������� FreeBSD, �� �������� ���� - ��������� ���������� ��� ������������� FreeBSD. �� ��������� - ����������� ����������� � <link xlink:href="http://www.x.org/">��� - ����� &xorg;</link> ��� � ����� ���� ������� X11, ������� �� - �����������.</para> + <para><xref linkend="x11"/> ��������� ��������� ��������� � + ��������� <application>Xorg</application>. ��� ��������� + ����������� <application>Xorg</application> � ��������� + ������ &os; ������� �������������� ������ � ������ �����. + ��������� <acronym>i18n</acronym> ��� ��������� ����������, + ����� ��� ������ � ����, ����� ������ � + <filename>~/.Xresources</filename>, ����� ���� � ����������� + ����������� ������������ �� ��������� �����.</para> - <para>� <filename>~/.Xresources</filename>, �� ������ ������ - �������������� I18N ��������� ���������� (��������� �������, - ���� � �.�.).</para> + <indexterm><primary>X Input Method (XIM)</primary></indexterm> - <sect3> - <title>����������� �������</title> - <indexterm><primary>X11 True Type font server</primary></indexterm> - <para>���������� ������ <application>&xorg;</application> - (<package>x11-servers/xorg-server</package>) - ��� <application>&xfree86;</application> - (<package>x11-servers/XFree86-4-Server</package>), - ����� &truetype; ������ ��� ������������� �����. - ����� ��������� ����������� - �������� locale ����, ��������� � �.�. ������ ��������� �� - ��������������� �����.</para> - </sect3> + <para>�������� X Input Method (<acronym>XIM</acronym>) - ��� + �������� <application>Xorg</application> ��� ����� + ������������ ��������. <xref linkend="locale-xim"/> + ��������� ���������� ��� ������� �����, ������� ���������� + � ��������� ������ &os;. ����� �������� �������������� + ���������� Fcitx � Uim.</para> - <sect3> - <title>���� ��-������������ ��������</title> - <indexterm><primary>X11 Input Method (XIM)</primary></indexterm> - <para>�������� X11 Input Method (XIM) ��� ����� �������� ��� ���� - �������� X11. ��� ���������� X11 ������ ���� �������� ��� XIM - �������, ���������� ���� � �������� XIM Input. ���������� - ��������� XIM ��������, ��������� ��� ��������� ������.</para> - </sect3> + <table xml:id="locale-xim" frame="none" pgwide="1"> + <title>��������� ������ �����</title> + + <tgroup cols="2"> + <thead> + <row> + <entry>����</entry> + <entry>����� �����</entry> + </row> + </thead> + + <tbody> + <row> + <entry>���������</entry> + <entry><package>chinese/gcin</package></entry> + </row> + + <row> + <entry>���������</entry> + <entry><package>chinese/ibus-chewing</package></entry> + </row> + + <row> + <entry>���������</entry> + <entry><package>chinese/ibus-pinyin</package></entry> + </row> + + <row> + <entry>���������</entry> + <entry><package>chinese/oxim</package></entry> + </row> + + <row> + <entry>���������</entry> + <entry><package>chinese/scim-fcitx</package></entry> + </row> + + <row> + <entry>���������</entry> + <entry><package>chinese/scim-pinyin</package></entry> + </row> + + <row> + <entry>���������</entry> + <entry><package>chinese/scim-tables</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/ibus-anthy</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/ibus-mozc</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/ibus-skk</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/im-ja</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/kinput2</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/scim-anthy</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/scim-canna</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/scim-honoka</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/scim-honoka-plugin-romkan</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/scim-honoka-plugin-wnn</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/scim-prime</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/scim-skk</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/scim-tables</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/scim-tomoe</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/scim-uim</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/skkinput</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/skkinput3</package></entry> + </row> + + <row> + <entry>��������</entry> + <entry><package>japanese/uim-anthy</package></entry> + </row> + + <row> + <entry>���������</entry> + <entry><package>korean/ibus-hangul</package></entry> + </row> + + <row> + <entry>���������</entry> + <entry><package>korean/imhangul</package></entry> + </row> + + <row> + <entry>���������</entry> + <entry><package>korean/nabi</package></entry> + </row> + + <row> + <entry>���������</entry> + <entry><package>korean/scim-hangul</package></entry> + </row> + + <row> + <entry>���������</entry> + <entry><package>korean/scim-tables</package></entry> + </row> + + <row> + <entry>�����������</entry> + <entry><package>vietnamese/xvnkb</package></entry> + </row> + + <row> + <entry>�����������</entry> + <entry><package>vietnamese/x-unikey</package></entry> + </row> + </tbody> + </tgroup> + </table> </sect2> - +<!-- <sect2> <title>��������� ��������</title> - <para>��������� ������������ ������� ������� ������ �������������� - ���������� �� ���������� ������. �����������, ��� - �������������� ������� ������� ������� �������������� ���������. - �� ����������� ������������� <application>apsfilter</application>. - ����� ����, �� ������ ������������� �������� � ������ &postscript; ��� - PDF � ������� �������������� ��������������� ���� ��������.</para> + <para>��������� ������������ ������� ������� ����������������� + � ��������� �� ���������� ������. ��� ����������� ��� + ������������� ������� ������ � ���� ������ ��������� + �������������� ���������, ��������, � �������������� ������� + <application>apsfilter</application>. ������������� �������� + � ������ &postscript; PDF ����� � ������� �������������� + ��������������� ���� ��������.</para> </sect2> <sect2> <title>���� � �������� �������</title> - <para>�������� ������� FreeBSD (fast filesystem, FFS) ������������ - 8-������ �������, �� ����� ������������ � ����� �������������� - ������� �������� (��. &man.multibyte.3;), �� ������� ������� �� - �������� � �������� �������; �.�. �� ������ �� �������� � ������� - ������������ �������� � ������� �������. ���������� FFS ���� - �� ������������ ����������� ��� ����� ���������� ������� �������. - ������, ��� ��������� ����������� ��� ������������� ��������� ���� - ������������� �����, ���������� �� ��������� � FFS. ��� ����� - ���� ��������� �� ����������� ������� ��� ����������� ���� � - �� ������ �� �������� �� � ������ �������� �������. ����������� - � ������ �� ��������������� ������ �� ���������� ����������� - � �������.</para> + <para>�������� ������� &os; (<acronym>FFS</acronym>) �������� + � 8-������� ���������, ������� ţ ����� ������������ � ����� + �������������� ������� ��������. ��� �� �����, ��� �������� + ������� �� ������ � ���� ������� �������, ��������� ��� 8 ��� + �� ��������������, � �� �� �������� ������� �����������. + ���������� <acronym>FFS</acronym> �� ������������ ����������� + � ������������� ������� �������. ��� �� �����, ��� ��������� + ����������� ��� ������������� ��������� ���� ������������� + �����, ���������� �� ��������� � <acronym>FFS</acronym>. + ����������� � ������ �� ��������������� ������ �� ���������� + ����������� � �������.</para> <indexterm><primary>DOS</primary></indexterm> <indexterm><primary>Unicode</primary></indexterm> - <para>�������� ������� &ms-dos; � FreeBSD ����� ���� ��������� ��� - ��������� ������������� ����� &ms-dos;, �������� ��������� Unicode - � ��������� ������� �������� FreeBSD. ����������� � + <para>�������� ������� &ms-dos; �� &os; ����� ���� ��������� ��� + ��������� ������������� ����� &ms-dos;, �������� ��������� + Unicode � ��������� ������� �������� &os;. ����������� � &man.mount.msdosfs.8; �� �������������.</para> </sect2> +--> </sect1> <sect1 xml:id="l10n-compiling"> - <title>���������� I18N ��������</title> + <title>����� ���������� <acronym>i18n</acronym></title> - <para>������ ����� FreeBSD ���� ������� � ���������� I18N. ��������� - �� ��� �������� ��������� -I18N � ����� �����. ��� � ������ ������ - ��������� ����� ���������� ��������� I18N � �� ��������� � - ����������� ���������.</para> + <para><acronym>i18n</acronym> ���������� ������� � ����������� + ������ <acronym>i18n</acronym> � �����������. ��� ��������� + ������������� ������ ������� ����� � ���������� ������������ + ���� � ������� �� ����� �����.</para> - <indexterm> - <primary><application>MySQL</application></primary> - </indexterm> - <para>������, ��������� ����������, ����� ��� - <application>MySQL</application>, ������� �������� ��������� � - <filename>Makefile</filename>. ��� ������ �������� ������� - <filename>Makefile</filename> ��� ��������� ���������� - <application>configure</application> ��� ������ �� �������� - �������.</para> + <para>� <link + xlink:href="&url.base;/ru/ports/index.html">��������� ������ + &os;</link> ���������� ��������� ���������� �� ���������� + ���������� �������� � ����������� � ������������� + �������������� ��� ���������� ������. ����� ��������� ����� + ����� ����������, � �� �������� ���������� ������������ + <literal>i18n</literal>. ��� �� �����, ��� �� ������ + ������������ ������ ����.</para> + + <para>��������� ���������� ����� ���� ������� � ���������� + ����������. ������ ��� �������� ����� + <filename>Makefile</filename> ����� ��� ��������� ��������� + <application>configure</application>. ��� ��������� ���� + ���������� �������� ������������ <acronym>i18n</acronym> + ��� ���������������� ����� &os;.</para> </sect1> <sect1 xml:id="lang-setup"> - <title>����������� FreeBSD ��� ��������� ������������ ������</title> + <title>��������� ����������� ��� ��������� ������</title> + + <para>� ���� ������� ��������� ������� ����������� ������� &os; + �� ������� ����. � ���������� ���������� �������������� + ���������� ��� ����������� �� ������ �����.</para> <sect2 xml:id="ru-localize"> - <info><title>������� ���� (��������� KOI8-R)</title> + <info> + <title>������� ���� (��������� KOI8-R)</title> + <authorgroup> <author><personname><firstname>Andrey</firstname><surname>Chernov</surname></personname><contrib>������������� ����������� </contrib></author> </authorgroup> </info> <indexterm> - <primary>localization</primary> - <secondary>Russian</secondary> + <primary>�����������</primary> + <secondary>�������</secondary> </indexterm> - <para>�� �������������� ����������� � ��������� KOI8-R, ����������� � - �������� <link xlink:href="http://koi8.pp.ru/">KOI8-R References - (Russian Net Character Set)</link>.</para> + <para>� ���� ������� ��������� ���������, ����������� ��� + ����������� ������� &os; �� ������� ����. ��� ����� ������� + �������� ������ �� �������� ����������� � ������� + <link linkend="using-localization">������������� + �����������</link>.</para> - <sect3> - <title>��������� �����������</title> + <para>����� ������ ��� ������ ��� ����������� ��������, + �������� � <filename>~/.login_conf</filename> ������� + ������������ ��������� ������:</para> - <para>��������� � <filename>~/.login_conf</filename> ��������� - ������:</para> - - <programlisting>me:My Account:\ + <programlisting>me:My Account:\ :charset=KOI8-R:\ :lang=ru_RU.KOI8-R:</programlisting> - <para>���������� � ��������������� ��������� ���� ����� �� - ��������������� - <link linkend="setting-locale">�����������</link>.</para> - </sect3> + <para>����� ��������� �������, �������� � + <filename>/etc/rc.conf</filename> ����� ������:</para> - <sect3> - <title>��������� �������</title> - - <itemizedlist> - <listitem> - <para>�������� ��������� ������ - � <filename>/etc/rc.conf</filename>:</para> - - <programlisting>mousechar_start=3</programlisting> - </listitem> - - <listitem> - <para>����� ����, ����������� � <filename>/etc/rc.conf</filename> - ����� ���������:</para> - - <programlisting>keymap="ru.koi8-r" + <programlisting>keymap="ru.koi8-r" scrnmap="koi8-r2cp866" font8x16="cp866b-8x16" font8x14="cp866-8x14" -font8x8="cp866-8x8"</programlisting> +font8x8="cp866-8x8" +mousechar_start=3</programlisting> - </listitem> + <para>��� ������ ������ <literal>ttyv</literal> � + <filename>/etc/ttys</filename> ����������� + <literal>cons25r</literal> � �������� ���� ���������.</para> - <listitem> - <para>��� ������� ���������� <literal>ttyv*</literal> � ����� - <filename>/etc/ttys</filename>, ����������� - <literal>cons25r</literal> � �������� ���� ���������.</para> - </listitem> - </itemizedlist> + <indexterm><primary>��������</primary></indexterm> + <para>����� ��������� ������, ��������� ����������� �������� + ������ ��� ������������� �� KOI8-R � CP866, ��������� + ����������� ��������� ��� ������ ������������ � ���������� + ������� ��������� CP866. ��� ���� ���� � ������ &os; + ����ޣ� ������ �� ��������� + <filename>/usr/libexec/lpr/ru/koi2alt</filename>. ��� ��� + ������������� �������� � <filename>/etc/printcap</filename> + ����� ������:</para> - <para>���������� � ��������������� ��������� ���� ����� �� ��������� - ��������� <link linkend="setting-console">�������</link>.</para> - </sect3> - - <sect3> - <title>��������� ��������</title> - <indexterm><primary>��������</primary></indexterm> - <para>����������� ��������� ��� ������ ������������ � ���������� ������� - ��������� CP866, ��������� ����������� �������� ������ ��� - ������������� �� KOI8-R � CP866. ����� ������ ��������������� �� - ��������� � <filename>/usr/libexec/lpr/ru/koi2alt</filename>. - ������ ��� �������� � <filename>/etc/printcap</filename> ������ - ��������� �������������� ���:</para> - - <programlisting>lp|Russian local line printer:\ + <programlisting>lp|Russian local line printer:\ :sh:of=/usr/libexec/lpr/ru/koi2alt:\ :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:</programlisting> - <para>���������� � &man.printcap.5; �� ��������� ���������.</para> - </sect3> + <para>���������� � &man.printcap.5; �� ����� ��������� + ������������.</para> - <sect3> - <title>&ms-dos; FS � ������� ����� ������</title> + <para>����� ��������� ��������� ������� �������� �ͣ� ������ + ��� ������������ �������� ������ &ms-dos;, �������� � + ����������� � <filename>/etc/fstab</filename> ������ + <option>-L</option> � ��������� ������:</para> - <para>��������� ������ ������ � &man.fstab.5; �������� ��������� - ������� ���� ������ ��� ������������ �������� ������ &ms-dos;:</para> + <programlisting>/dev/ad0s2 /dos/c msdos rw,-Lru_RU.KOI8-R 0 0</programlisting> - <programlisting>/dev/ad0s2 /dos/c msdos rw,-Wkoi2dos,-Lru_RU.KOI8-R 0 0</programlisting> + <para>�� �������������� ����������� ����������� � �������� + ����������� &man.mount.msdosfs.8;.</para> - <para>�������� <option>-L</option> �������� ��� ������������ - �����������, � �������� <option>-W</option> ������ ������� - �������������. ��� ������������� ��������� <option>-W</option> - ���������, ��� ������ <filename>/usr</filename> ����������� ����� - �������� &ms-dos;, ��������� ������� ������������� ����������� - � �������� - <filename>/usr/libdata/msdosfs</filename>. �� ����� ��������� - ����������� ����������� � �������� ����������� - &man.mount.msdosfs.8;.</para> - </sect3> + <para>����� ��������� ������� ������ � + <application>&xorg;</application>, ���������� ����� + <package>x11-fonts/xorg-fonts-cyrillic</package>. ����� + ��������� ������ <literal>"Files"</literal> � + <filename>/etc/X11/xorg.conf</filename>. + <emphasis>�����</emphasis> ����� �������� + <literal>FontPath</literal> ������ ���� ��������� + ��������� ������:</para> - <sect3> - <title>��������� X11</title> + <programlisting>FontPath "/usr/local/lib/X11/fonts/cyrillic"</programlisting> - <orderedlist> - <listitem> - <para>��������� ������� <link linkend="setting-locale">��-X - ��������� �����������</link>.</para> - </listitem> + <para>�������������� ������������� ������ �������� � ��������� + ������.</para> - <listitem> - <para>���� �� ����������� <application>&xorg;</application>, - ���������� ����� <package>x11-fonts/xorg-fonts-cyrillic</package>.</para> + <para>��� ��������� ����� �� ������� ����� �������� ��������� + ������ � <filename>/etc/xorg.conf</filename>, ������ + <literal>"Keyboard"</literal>:</para> - <para>��������� ������ <literal>"Files"</literal> � ����� - <filename>/etc/X11/xorg.conf</filename>. ��������� ������ - ������ ���� ��������� <emphasis>�����</emphasis> ����� - �������� <literal>FontPath</literal>:</para> - - <programlisting>FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/misc" -FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/75dpi" -FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/100dpi"</programlisting> - - <para>���� �� ����������� ���������� � ������� �����������, - ��������� ������� ������ ��� 75 dpi � 100 dpi.</para> - - <note> - <para>��� ��������� �������������� ������������� ������� - ����������� �����.</para></note> - </listitem> - - <listitem> - <para>��� ��������� ����� �� ������� �����, �������� - ��������������� ������ � ������ - <literal>"Keyboard"</literal> ����� - <filename>xorg.conf</filename>:</para> - - <programlisting>Option "XkbLayout" "us,ru" + <programlisting>Option "XkbLayout" "us,ru" Option "XkbOptions" "grp:toggle"</programlisting> - <para>���������, ��� <literal>XkbDisable</literal> �������� - (���������������) � ���� �������.</para> + <para>���������, ��� � ���� ����� ��������������� + <literal>XkbDisable</literal>.</para> - <para>��� <literal>grp:caps_toggle</literal> �������������� - RUS/LAT ������ <keycap>Right Alt</keycap>, � ��� - <literal>grp:ctrl_shift_toggle</literal> - <keycombo action="simul"><keycap>Ctrl</keycap><keycap>Shift</keycap></keycombo>. - ������� ������� <keycap>CapsLock</keycap> ��� ��� �������� � ���������� - <keycombo action="simul"><keycap>Shift</keycap><keycap>CapsLock</keycap></keycombo> - (������ � ������ LAT). - ��� ��������� <literal>grp:toggle</literal> �������������� - RUS/LAT ����� ������ ������� <keycap>Alt</keycap>. ����� - <literal>grp:caps_toggle</literal> �� ��������������� �������� - �� �������� � <application>&xorg;</application>.</para> + <para>��� <literal>grp:toggle</literal> ����������� + <keycap>Right Alt</keycap>, ��� + <literal>grp:ctrl_shift_toggle</literal> - <keycombo + action="simul"><keycap>Ctrl</keycap><keycap>Shift</keycap></keycombo>. + ��� <literal>grp:caps_toggle</literal> ����������� + <keycap>CapsLock</keycap>. ������� ������� + <keycap>CapsLock</keycap> �ӣ �ݣ �������� � ������ LAT + � �������������� <keycombo + action="simul"><keycap>Shift</keycap><keycap>CapsLock</keycap></keycombo>. + <literal>grp:caps_toggle</literal> �� ��������������� + ������� �� �������� � + <application>&xorg;</application>.</para> - <para>���� �� ����� ���������� ���� ������� <quote>&windows;</quote>, - � ��������� ��-���������� ������� �������� ����������� � ������ - RUS, �������� ��������� ������ � ���� - <filename>xorg.conf</filename>:</para> + <para>���� �� ���������� ���� ������� <quote>&windows;</quote> + � ��������� ������������ ������� �������� �����������, + �������� � <filename>/etc/xorg.conf</filename> ��������� + ������:</para> - <programlisting>Option "XkbVariant" ",winkeys"</programlisting> + <programlisting>Option "XkbVariant" ",winkeys"</programlisting> - <note> - <para>���� �� ������� ����� ����� ����� �� �������� - � ����������������� ������������.</para> - </note> - </listitem> - </orderedlist> - <note> - <para>���������� �������������� ���������� ������ �������� ������� - <function>XtSetLanguageProc (NULL, NULL, NULL);</function> � ������ - ���������.</para> - <para>���������� � <link xlink:href="http://koi8.pp.ru/xwin.html">KOI8-R for X Window</link> �� - ����������� ������������ �� ����������� ���������� X11.</para> - </note> - </sect3> + <note> + <para>���� � ���������� XKB �� ������� ����� �� �������� + � ����������������� ������������. ���������� �������������� + ���������� ������ � ������ ��������� �������� ������� + <function>XtSetLanguageProc + (NULL, NULL, NULL);</function>.</para> + </note> + + <para>�� ����������� ������������ �� ����������� ���������� + <application>Xorg</application> ����������� � �������� <uri + xlink:href="http://koi8.pp.ru/xwin.html">http://koi8.pp.ru/xwin.html</uri>. + ��� ��������� ����� ����� ���������� �� KOI8-R �������� <uri + xlink:href="http://koi8.pp.ru/">http://koi8.pp.ru/</uri>.</para> </sect2> <sect2> - <title>����������� �� ������������ ��������� ��� �������</title> + <title>���������� ��� ������ ������</title> + + <para>� ���� ������� ���������� �������������� ���������� �� + ��������� ������ �������.</para> + <indexterm> <primary>�����������</primary> <secondary>������������ ���������</secondary> </indexterm> - <para>� ������� FreeBSD-Taiwan ���� Chinese HOWTO ��� - FreeBSD �� ������ - <uri xlink:href="http://netlab.cse.yzu.edu.tw/~statue/freebsd/zh-tut/">http://netlab.cse.yzu.edu.tw/~statue/freebsd/zh-tut/</uri>, - � ������� ������������ ������ ����� �� ���������. - �� ������ ������ ���������� <literal>FreeBSD Chinese HOWTO</literal> - �������� Shen Chuan-Hsing - <email>statue@freebsd.sinica.edu.tw</email>. - </para> - - <para>Chuan-Hsing Shen <email>statue@freebsd.sinica.edu.tw</email> - ������ <link xlink:href="http://netlab.cse.yzu.edu.tw/~statue/cfc/"> - Chinese FreeBSD Collection (CFC)</link>, ��������� FreeBSD-Taiwan - <literal>zh-L10N-tut</literal>. ������ � ������� �������� �� ������ - <uri xlink:href="ftp://freebsd.csie.nctu.edu.tw/pub/taiwan/CFC/">ftp://freebsd.csie.nctu.edu.tw/pub/taiwan/CFC/</uri>.</para> - </sect2> - - <sect2> - <title>����������� �� �������� ���� (��� ���� ISO 8859-1 - ������)</title> <indexterm> <primary>�����������</primary> <secondary>��������</secondary> + </indexterm> + <indexterm> + <primary>�����������</primary> + <secondary>���������</secondary> </indexterm> - - <para>Slaven Rezic <email>eserte@cs.tu-berlin.de</email> ������� - ������� �� ������������� umlauts � FreeBSD. ������� ������� - �� �������� � �������� �� ������ - <uri xlink:href="http://user.cs.tu-berlin.de/~eserte/FreeBSD/doc/umlaute/umlaute.html">http://user.cs.tu-berlin.de/~eserte/FreeBSD/doc/umlaute/umlaute.html</uri>.</para> - </sect2> - - <sect2> - <title>����������� �� �������� � ��������� �����</title> <indexterm> <primary>�����������</primary> <secondary>��������</secondary> @@ -936,18 +978,51 @@ Option "XkbOptions" "grp:toggle"</programlisting> <primary>�����������</primary> <secondary>���������</secondary> </indexterm> - <para>�� ����������� �� �������� �����������, ���������� � - <uri xlink:href="http://www.jp.FreeBSD.org/">http://www.jp.FreeBSD.org/</uri>, - � �� ����������� � ��������� ������������ � - <uri xlink:href="http://www.kr.FreeBSD.org/">http://www.kr.FreeBSD.org/</uri>.</para> - </sect2> - <sect2> - <title>��-������������ ������������ FreeBSD</title> + <variablelist> + <varlistentry> + <term>������������ ��������� ��� �������</term> - <para>��������� ������������� FreeBSD �������� ����� ������������ - FreeBSD �� ������ �����. ��� �������� �������� �� <link xlink:href="&url.base;/ru/index.html">�������� �����</link> ��� �� �������� - <filename>/usr/share/doc</filename>.</para> + <listitem> + <para>� ������� &os;-Taiwan ���� <uri + xlink:href="http://netlab.cse.yzu.edu.tw/~statue/freebsd/zh-tut/">&os; Chinese HOWTO</uri>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term>����������� �� ��������� ����</term> + + <listitem> + <para>������������� ������ �� ��������� ���������� �� + &os; ���� � ����������� ��������� ������������ <link + xlink:href="&url.doc.base;/el_GR.ISO8859-7/articles/greek-language-support/index.html">�����</link>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term>����������� �� �������� � ��������� �����</term> + + <listitem> + <para>��� ��������� ���������� � <uri + xlink:href="http://www.jp.FreeBSD.org/">http://www.jp.FreeBSD.org/</uri>, + � ��� ���������� � <uri + xlink:href="http://www.kr.FreeBSD.org/">http://www.kr.FreeBSD.org/</uri>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term>�������������� ������������ &os;</term> + + <listitem> + <para>������������� &os; �������� ��������� ����� + ������������ &os; �� ������ �����. ��� �������� + �������� �� ������� �� <link + xlink:href="&url.base;/index.html">����� &os;</link> + ��� �� �������� + <filename>/usr/share/doc</filename>.</para> + </listitem> + </varlistentry> + </variablelist> </sect2> </sect1> </chapter>