From owner-svn-doc-all@FreeBSD.ORG Tue Feb 11 18:40:01 2014 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AA9EA456; Tue, 11 Feb 2014 18:40:01 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 88D67125C; Tue, 11 Feb 2014 18:40:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1BIe1YF026747; Tue, 11 Feb 2014 18:40:01 GMT (envelope-from dru@svn.freebsd.org) Received: (from dru@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1BIe1OP026746; Tue, 11 Feb 2014 18:40:01 GMT (envelope-from dru@svn.freebsd.org) Message-Id: <201402111840.s1BIe1OP026746@svn.freebsd.org> From: Dru Lavigne Date: Tue, 11 Feb 2014 18:40:01 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r43875 - head/en_US.ISO8859-1/books/handbook/l10n X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2014 18:40:01 -0000 Author: dru Date: Tue Feb 11 18:40:01 2014 New Revision: 43875 URL: http://svnweb.freebsd.org/changeset/doc/43875 Log: Finish section 22.2.2 Console Setup. Update table on available consoles. Sponsored by: iXsystems Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 16:55:42 2014 (r43874) +++ head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 18:40:01 2014 (r43875) @@ -342,7 +342,7 @@ me:\ example, to set the German language for the sh shell, these lines could be added to ~/.profile to set the shell for that - user only. Thse lines could also be added to + user only. These lines could also be added to /etc/profile or /usr/share/skel/dot.profile to set that shell for all users: @@ -365,7 +365,7 @@ me:\ ~/.xinitrc also depends upon the shell. The first example is for the sh shell and the second is for the csh - shell. + shell: LANG=de_DE.ISO8859-1; export LANG @@ -376,75 +376,59 @@ me:\ Console Setup - For all single C chars character sets, set the correct - console fonts in /etc/rc.conf for the - language in question with: + Several localized fonts + are available for the console. To see a listing of + available fonts, type + ls /usr/share/syscons/fonts. To configure + the console font, specify the + font_name, + without the .fnt suffix, + in /etc/rc.conf: font8x16=font_name font8x14=font_name font8x8=font_name - The font_name is taken from - /usr/share/syscons/fonts, - without the .fnt suffix. - - - sysinstall - keymap screenmap - The keymap and screenmap for the single C chars character - set can be set using sysinstall. Once - inside sysinstall, choose - Configure, then - Console. Alternatively, - add the following to /etc/rc.conf: + The keymap and screenmap + can be set by + adding the following to /etc/rc.conf: scrnmap=screenmap_name keymap=keymap_name keychange="fkey_number sequence" - The screenmap_name is taken - from /usr/share/syscons/scrnmaps, - without the .scm suffix. A screenmap + To see the list of available screenmaps, type + ls /usr/share/syscons/scrnmaps. Do + not include the .scm suffix when + specifying screenmap_name. A screenmap with a corresponding mapped font is usually needed as a workaround for expanding bit 8 to bit 9 on a VGA adapter's - font character matrix. This will move letters out of the + font character matrix so that letters are moved out of the pseudographics area if the screen font uses a bit 8 column. - If moused is enabled in - /etc/rc.conf, review the mouse cursor - information in the next paragraph. - - - moused - - By default, the mouse cursor of the &man.syscons.4; driver - occupies the 0xd0-0xd3 range in the character set. If the - language uses this range, move the cursor's range. To enable - this workaround for &os;, add the following line to - /etc/rc.conf: - - mousechar_start=3 - - The keymap_name in the above - example is taken from - /usr/share/syscons/keymaps, without the + To see the list of available keymaps, type + ls /usr/share/syscons/keymaps. When + specifying the keymap_name, do not include the .kbd suffix. When uncertain as to which keymap to use, &man.kbdmap.1; can be used to test keymaps without rebooting. - The keychange is usually needed to + The keychange entry is usually needed to program function keys to match the selected terminal type - because function key sequences cannot be defined in the key - map. + because function key sequences cannot be defined in the keymap. - Be sure to set the correct console terminal type in + Next, set the correct console terminal type in /etc/ttys for all virtual terminal - entries. Current pre-defined correspondences are: + entries. summarizes the available + terminal types.: + + + Defined Terminal Types for Character Sets - @@ -490,22 +474,27 @@ keychange="fkey_number sequ - +
+ + + moused + + + For languages with wide or multibyte characters, install a + console for that language from the &os; Ports Collection. The + available ports are summarized in . Once installed, refer to the + port's pkg-message or man pages for + configuration and usage instructions. - For languages with wide or multibyte characters, use the - correct &os; port in /usr/ports/language. - Some applications appear as serial terminals to the system. - Reserve enough terminals in /etc/ttys - for both Xorg and the pseudo-serial - console. Here is a partial list of applications for using - other languages in the console: + + Available Console From Ports Collection - Language - Location + Port Location @@ -516,19 +505,45 @@ keychange="fkey_number sequ + Chinese/Japanese/Korean + chinese/cce + + + + Japanese + chinese/kon2 + + + + Chinese/Japanese/Korean + chinese/zhcon + + + Japanese - japanese/kon2-16dot or - japanese/mule-freewnn + japanese/kon2-14dot - Korean - korean/han + Japanese + japanese/kon2-16dot - - +
+ + If moused is enabled in + /etc/rc.conf, additional configuration + may be required. + By default, the mouse cursor of the &man.syscons.4; driver + occupies the 0xd0-0xd3 range in the character set. If the + language uses this range, move the cursor's range. To enable + this workaround for &os;, add the following line to + /etc/rc.conf: + + mousechar_start=3 + +
Xorg Setup