Linux console, Chinese display, Chinese Input

Source: Internet
Author: User
In the Linux console, Chinese characters are displayed, and Chinese characters are displayed. For details, refer to Linux general technology-Linux technology and application information. I. Preface
Linux was initially developed around the ASCII coding system and does not consider non-English users. As a result, it has a high usage threshold, especially for Asian users, because of the special characteristics of hieroglyphics (including Chinese, Korean, and Japanese, CJK for short), it is more difficult to localize Linux. In this context, ejoy and others initiated the zhcon project. The goal of this project is "to provide a convenient and easy-to-use Chinese language environment for Chinese Linux users, especially for beginners and developers who need to release linux Chinese applications ."

Ii. Installation
The latest version is 0.2.6. The source code and RPM package of zhcon can be downloaded from http://zhcon.sourceforge.net. In Sourceforger web site http://sourceforge.net/project/showfiles.php? On group_id = 27400, there are two files to be downloaded: zhcon-0.2.5.tar.gz and zhcon-0.2.5-to-0.2.6.diff.gz.

1. decompress the zhcon-0.2.5.tar.gz file first:
[Root @ localhost zhcon] # tar zxvf zhcon-0.2.5.tar.gz
Decompress the package and get a zhcon-0.2.5. This directory contains all source code and man manuals for the zhcon-0.2.5 version.

2.then decompress zhcon-0.2.5-to-0.2.6.diff.gz:
[Root @ localhost zhcon] # gzip-d zhcon-0.2.5-to-0.2.6.diff.gz
Decompress the package to get the zhcon-0.2.5-to-0.2.6.diff file, which is actually a patch file.

3. patch the zhcon-0.2.5-to-0.2.6.diff file to the source code of the zhcon-0.2.5:
[Root @ localhost zhcon] # patch-p0 <zhcon-0.2.5-to-0.2.6.diff
Perform this step in the parent directory of the Directory zhcon-0.2.5.

In this way, the original version 0.2.5 of zhcon is upgraded to version 0.2.6. The next step is to install the three steps fixed on the UNIX platform:

[Root @ localhost zhcon] #./configure -- prefix =/usr/local/zhcon

[Root @ localhost zhcon] # make

[Root @ localhost zhcon] # make install

Iii. Application

1. To display Chinese characters in the console, type the following command:
[Root @ localhost zhcon] #/usr/local/zhcon/bin/zhcon -- utf8

You can.

2. To use the Chinese Input Method in the console:
Use Ctrl + space or Ctrl + 2 to enable or disable the intelligent PinYin Input Method
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.