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