diff options
Diffstat (limited to 'en_US.ISO8859-1/articles/euro/article.sgml')
-rw-r--r-- | en_US.ISO8859-1/articles/euro/article.sgml | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/en_US.ISO8859-1/articles/euro/article.sgml b/en_US.ISO8859-1/articles/euro/article.sgml index e5057bfc97..e52d0d63a2 100644 --- a/en_US.ISO8859-1/articles/euro/article.sgml +++ b/en_US.ISO8859-1/articles/euro/article.sgml @@ -7,7 +7,7 @@ <article lang='en'> <articleinfo> - <title>The Euro symbol on + <title>The Euro symbol on <systemitem class="osname">FreeBSD</systemitem></title> <authorgroup> @@ -29,7 +29,7 @@ <year>2003</year> <holder>The FreeBSD Documentation Project</holder> </copyright> - + <legalnotice id="trademarks" role="trademarks"> &tm-attrib.freebsd; &tm-attrib.general; @@ -46,7 +46,7 @@ will first focus on the more important parts like being able to correctly display the symbol on the console. Later sections will deal with configuring particular programs like - <application>X11</application>. + <application>X11</application>. </para> <para>Lots of helpful input came from Oliver Fromme, Tom Rhodes and @@ -59,16 +59,16 @@ <sect1> <title>The Euro in a nutshell</title> - <para>If you already feel comfortable with - <ulink url="&url.books.handbook;/l10n.html">localization</ulink> as - described in the <systemitem class="osname">FreeBSD</systemitem> - Handbook you might be only interested in the following facts which - will get you started quickly:</para> + <para>If you already feel comfortable with + <ulink url="&url.books.handbook;/l10n.html">localization</ulink> as + described in the <systemitem class="osname">FreeBSD</systemitem> + Handbook you might be only interested in the following facts which + will get you started quickly:</para> <variablelist> <varlistentry> <term>ISO8859-15</term> - + <listitem> <para>This is a slight modification of the commonly used ISO8859-1 character map. It includes the Euro symbol. Used for the @@ -89,8 +89,8 @@ <term><filename>/usr/share/syscons/keymaps/*.iso.kbd</filename></term> <listitem> - <para>Appropriate keyboard maps depending on your language. Set your - <literal>keymap</literal> entry in <filename>rc.conf</filename> to + <para>Appropriate keyboard maps depending on your language. Set your + <literal>keymap</literal> entry in <filename>rc.conf</filename> to one of these.</para> </listitem> </varlistentry> @@ -124,7 +124,7 @@ <sect1 id="general"> <title>A general remark</title> - + <para>In the following sections we will often refer to <emphasis>ISO8859-15</emphasis>. This is the standard notation starting with <systemitem class="osname">FreeBSD</systemitem> 4.5. In older @@ -132,23 +132,23 @@ <emphasis>ISO_8859-15</emphasis> or <emphasis>DIS_8859-15</emphasis>. </para> - <para>If you are using an older version of - <systemitem class="osname">FreeBSD</systemitem>, be sure to take a + <para>If you are using an older version of + <systemitem class="osname">FreeBSD</systemitem>, be sure to take a look at <filename>/usr/share/locale/</filename> in order to find out which naming convention is in place.</para> </sect1> <sect1 id="console"> <title>The console</title> - + <sect2> <title>Setting up your console font</title> <para>Depending on your console resolution and size you will need one of the following lines in <filename>rc.conf</filename>:</para> - <programlisting>font8x16="iso15-8x16.fnt" # from /usr/share/syscons/fonts/* -font8x14="iso15-8x14.fnt" + <programlisting>font8x16="iso15-8x16.fnt" # from /usr/share/syscons/fonts/* +font8x14="iso15-8x14.fnt" font8x8="iso15-8x8.fnt"</programlisting> <para>This will effectively select the ISO8859-15 also known as Latin-9 @@ -200,8 +200,8 @@ BEGIN { combination is necessary (e.g.: <keycombo action="simul"><keycap>Alt Gr</keycap><keycap>e</keycap></keycombo>) to decimal value 164. If running into problems, the best way to check is to take a look at - <filename>/usr/share/syscons/keymaps/*.kbd</filename>. The format of - the key mapping files is described in &man.keyboard.4;. + <filename>/usr/share/syscons/keymaps/*.kbd</filename>. The format of + the key mapping files is described in &man.keyboard.4;. &man.kbdcontrol.1; can be used to load a custom keymap.</para> <para>Once the correct keyboard map is selected, it should be added to @@ -210,13 +210,13 @@ BEGIN { <programlisting>keymap="<replaceable>german.iso</replaceable>" # or another map</programlisting> <para>As stated above, this step has most probably already been taken - by you at installation time (with - <application>sysinstall</application>). If not, either reboot or + by you at installation time (with + <application>sysinstall</application>). If not, either reboot or load the new keymap via &man.kbdcontrol.1;.</para> - <para>To verify the keyboard mapping, switch to a new console and at + <para>To verify the keyboard mapping, switch to a new console and at the login prompt, <emphasis>instead of logging</emphasis> in, try to - type the <keycap>Euro</keycap> key. If it is not working, either + type the <keycap>Euro</keycap> key. If it is not working, either file a bug report via &man.send-pr.1; or make sure you in fact chose the right keyboard map.</para> @@ -226,13 +226,13 @@ BEGIN { <application>tcsh</application>.</para> </note> </sect2> - + <sect2> <title>Fixing the environment variables</title> - <para>The shells (<application>bash</application>, <application>tcsh</application>) revert to the &man.readline.3; library - which in turn respects the <envar>LC_CTYPE</envar> environment - variable. <envar>LC_CTYPE</envar> must be set before the shell is + <para>The shells (<application>bash</application>, <application>tcsh</application>) revert to the &man.readline.3; library + which in turn respects the <envar>LC_CTYPE</envar> environment + variable. <envar>LC_CTYPE</envar> must be set before the shell is completely running. Luckily it suffices to add the line:</para> <programlisting>export LC_CTYPE=<replaceable>de_DE</replaceable>.ISO8859-15</programlisting> @@ -250,11 +250,11 @@ BEGIN { however.</para> <note> - <para>An alternative to modifying <filename>.login</filename> and + <para>An alternative to modifying <filename>.login</filename> and <filename>.bash_profile</filename> is to set the environment variables through the &man.login.conf.5; mechanism. This approach has the advantage of assigning login classes to certain users (e.g. - French users, Italian users, etc) <emphasis>in one + French users, Italian users, etc) <emphasis>in one place</emphasis>.</para> </note> </sect2> @@ -294,14 +294,14 @@ variable -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-15 <filename>/usr/X11R6/lib/X11/app-defaults</filename> and add the correct font. Let us demonstrate this with <application>xterm</application>.</para> - + <screen>&prompt.root; cd /usr/X11R6/lib/X11/app-defaults/ &prompt.root; vi XTerm</screen> <para>Add the following line to the beginning of the file:</para> <programlisting>*font: -misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso8859-15</programlisting> - + <para>Finally, restart X and make sure, fonts can be displayed by executing the above <link linkend="awk-test">awk script</link>. All major applications should respect the keyboard mapping and the font @@ -310,7 +310,7 @@ variable -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-15 <sect1 id="problems"> <title>Open problems</title> - + <para>Of course, the author would like to receive feedback. In addition, at least let me know if you have fixes for one of these open problems:</para> @@ -320,7 +320,7 @@ variable -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-15 <para>Describe alternative way of setting up <application>Xorg</application>: <filename role="package">x11/xkeycaps</filename></para> </listitem> - + <listitem> <para>Settings in <application>GNOME</application></para> </listitem> |