Changes in chapter09/usage.xml [39b5bb6:909f284]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter09/usage.xml
r39b5bb6 r909f284 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 33 33 uses a run levels scheme. There are seven run levels, numbered 0 to 6. 34 34 (Actually, there are more run levels, but the others are for special cases and are 35 generally not used. See <ulink role='man' 36 url='&man;init.8'>init(8)</ulink> for more details.) 35 generally not used. See <filename>init(8)</filename> for more details.) 37 36 Each one of the seven corresponds to actions the computer is supposed to 38 37 perform when it starts up or shuts down. The default run level is 3. Here are the … … 49 48 <note> 50 49 <para> 51 Classically, run level 2 above was defined as <quote>multi-user52 mode without networking,</quote>but this was only the case53 many years ago when multiple users could connect to a system via54 serial ports. In today's environment it makes no sense, and55 we now say it is <quote>reserved.</quote>50 Classically, run level 2 above was defined as 51 "multi-user mode without networking", but this was only the case 52 many years ago when multiple users could connect to a system via 53 serial ports. In today's environment it makes no sense, and 54 we now say it is "reserved". 56 55 </para> 57 56 </note> … … 343 342 doubt, look in the <filename class="directory">/usr/share/keymaps</filename> 344 343 and <filename class="directory">/usr/share/consolefonts</filename> directories 345 for valid keymaps and screen fonts. Read the <ulink role='man' 346 url='&man;loadkeys.1'>loadkeys(1)</ulink> and <ulink role='man' 347 url='&man;setfont.8'>setfont(8)</ulink> manual pages to determine the 348 correct arguments for these programs.</para> 344 for valid keymaps and screen fonts. Read the <filename>loadkeys(1)</filename> and 345 <filename>setfont(8)</filename> manual pages to determine the correct 346 arguments for these programs.</para> 349 347 350 348 <para>The <filename>/etc/sysconfig/console</filename> file should contain lines 351 of the form: <envar>VARIABLE=value</envar>. The following variables are recognized:</para>349 of the form: VARIABLE="value". The following variables are recognized:</para> 352 350 <variablelist> 353 351 … … 357 355 <para>This variable specifies the log level for kernel messages sent 358 356 to the console as set by <command>dmesg -n</command>. Valid levels are 359 from <literal>1</literal> (no messages) to <literal>8</literal>. The default level is <literal>7</literal>, which is quite verbose.</para>357 from "1" (no messages) to "8". The default level is "7".</para> 360 358 </listitem> 361 359 </varlistentry> … … 366 364 <para>This variable specifies the arguments for the 367 365 <command>loadkeys</command> program, typically, the name of the keymap 368 to load, e.g., < literal>it</literal>. If this variable is not set, the366 to load, e.g., <quote>it</quote>. If this variable is not set, the 369 367 bootscript will not run the <command>loadkeys</command> program, 370 368 and the default kernel keymap will be used. Note that a few keymaps … … 385 383 is not completely satisfactory and a small adjustment has to be made. E.g., 386 384 to include the Euro sign into a keymap that normally doesn't have it, 387 set this variable to < literal>euro2</literal>.</para>385 set this variable to <quote>euro2</quote>.</para> 388 386 </listitem> 389 387 </varlistentry> … … 394 392 <para>This variable specifies the arguments for the 395 393 <command>setfont</command> program. Typically, this includes the font 396 name, < literal>-m</literal>, and the name of the application character394 name, <quote>-m</quote>, and the name of the application character 397 395 map to load. E.g., in order to load the <quote>lat1-16</quote> font 398 396 together with the <quote>8859-1</quote> application character map 399 397 (appropriate in the USA), 400 398 <!-- because of the copyright sign --> 401 set this variable to < literal>lat1-16 -m 8859-1</literal>.399 set this variable to <quote>lat1-16 -m 8859-1</quote>. 402 400 In UTF-8 mode, the kernel uses the application character map to 403 401 convert 8-bit key codes to UTF-8. Therefore … … 411 409 <term>UNICODE</term> 412 410 <listitem> 413 <para>Set this variable to < literal>1</literal>, <literal>yes</literal>, or414 < literal>true</literal> in order to put the411 <para>Set this variable to <quote>1</quote>, <quote>yes</quote>, or 412 <quote>true</quote> in order to put the 415 413 console into UTF-8 mode. This is useful in UTF-8 based locales and 416 414 harmful otherwise.</para> … … 433 431 434 432 <itemizedlist> 435 <listitem>436 <para>437 We'll use <literal>C.UTF-8</literal> as the locale for interactive438 sessions in the Linux console in <xref role=','439 linkend='ch-config-locale'/> so we should set440 <literal>UNICODE</literal> to <literal>1</literal>. And the console441 fonts shipped by the <application>Kbd</application> package442 containing the glyphs for all characters from the program messages443 in the <literal>C.UTF-8</literal> locale are444 <filename>LatArCyrHeb*.psfu.gz</filename>,445 <filename>LatGrkCyr*.psfu.gz</filename>,446 <filename>Lat2-Terminus16.psfu.gz</filename>, and447 <filename>pancyrillic.f16.psfu.gz</filename> in448 <filename class='directory'>/usr/share/consolefonts</filename> (the449 other shipped console fonts lack glyphs of some characters like the450 Unicode left/right quotation marks and the Unicode English dash).451 So set one of them, for example452 <filename>Lat2-Terminus16.psfu.gz</filename> as the default console453 font:454 </para>455 456 <!-- We are using 'nodump' for the generic setting, but not for an457 example (see below). This is deliberate to keep the458 compatibility with jhalfs. -->459 <screen role='nodump'><userinput>cat > /etc/sysconfig/console << "EOF"460 <literal># Begin /etc/sysconfig/console461 462 UNICODE="1"463 FONT="Lat2-Terminus16"464 465 # End /etc/sysconfig/console</literal>466 EOF</userinput></screen>467 468 </listitem>469 433 470 434 <listitem> … … 561 525 characters, or two ASCII characters are composed together. However, in 562 526 UTF-8 mode it is a problem; e.g., for the Greek language, where one 563 sometimes needs to put an accent on the letter α.527 sometimes needs to put an accent on the letter <quote>alpha</quote>. 564 528 The solution is either to avoid the use of UTF-8, or to install the 565 529 X window system, which doesn't have this limitation, in its input
Note:
See TracChangeset
for help on using the changeset viewer.