Installation and Use of zhcon0.2.6, a Chinese software for linux Terminals-general Linux technology-Linux technology and application information. For more information, see the following. There are two files to be downloaded: zhcon-0.2.5.tar.gzand zhcon-0.2.5-to-0.2.6.diff.gz.
: Http://sourceforge.net/project/showfiles.php? Group_id = 27400
Windows download (first decompress WinRAR get two files): http://www.namipan.com/d/zhcon0... 49149f7f1932c784c00
Download two files to the/root directory (You can also download the files to your favorite directory ).
1.decompress and decompress the zhcon-0.2.5.tar.gz file:
[Root @ dhwch] # tar zxvf zhcon-0.2.5.tar.gz
Decompress the package and get a zhcon-0.2.5 directory under the/root directory.
[Root @ dhwch] # cd zhcon-0.2.5
[Root@zhcon-0.2.5] # zcat ../zhcon-0.2.5-to-0.2.6.diff.gz | patch-p1
Or:
Unzip zhcon-0.2.5-to-0.2.6.diff.gz:
[Root @ dhwch] # 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 patch file and use the following command to patch the file to the source code of the zhcon-0.2.5:
[Root @ dhwch] # patch-p0 <zhcon-0.2.5-to-0.2.6.diff
Upgrade zhcon of version 0.2.5 to version 0.2.6.
[Root @ dhwch zhcon-0.2.5] #./configure
[Root @ dhwch zhcon-0.2.5] # make
[Root @ fig zhcon-0.2.5] # make install
In this way, zhcon is installed on the Chinese console. To use zhcon, you only need to enter the following command in the console:
[Root @ dhwch zhcon-0.2.5] # zhcon
You can.
The man manual of zhcon says that the configuration file zhcon. conf is located in the/etc directory.
In version 0.2.6, zhcon. conf is located in the/usr/local/etc/directory.
The font resources used by zhcon are located in the/usr/local/lib/zhcon/directory.
Instructions for use:
Use Ctrl +. (period) to switch the Chinese and English Punctuation status.
Use the CTRL +, (comma) Key to switch the full/half-width state.
The CTRL-ALT-H key can be used whenever the system is running to activate the Help window to view the hotkey definition.
Configuration File
When the system starts, search for the. zhconrc file in the user's home directory. If not, use the settings in $ prefix/lib/zhcon. conf.
You can customize zhcon by customizing the content in zhcon. conf/. zhconrc.
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.