I don't know how to do it. I have always had a special liking for the Linux text mode. I have been working on Chinese support for the past two days.
I have used zhcon before and can enter and browse Chinese characters, but it is displayed when I use w3m to access the Internet. I suspect that the use of framebuffer conflicts between zhcon and w3m. After all, zhcon has not been updated for many years. As follows:
So I searched online and found that the fbterm console using framebuffer technology has the ucimf plug-in, which can use the input method of the East Asian language.
Therefore, fbterm and ucimf dependencies and ucimf are installed. The installation period can display Chinese characters normally, and w3m has a good online experience. The font can also be set as beautiful as that in xwindows,
But the problem is that I cannot enter Chinese characters. I tried to configure the settings on the ucimf official website, but I still cannot. So I installed fbterm (from RPM source) and ucimf (source code package compiled on the official website) are deleted, a shell script is found online, modified to the latest version of the program, and installed. The content is as follows:
Code:
- # ----------------- Usermanual -----------------
- Http://ucimf.googlecode.com/files/UserManual.pdf wget-C
- Http://ucimf.googlecode.com/files/UserManual.txt wget-C
- # ----------------- Install --------------------
- CD
- Http://ucimf.googlecode.com/files/libucimf-2.2.9.tar.gz wget-C
- Tar-xvf libucimf-2.2.9.tar.gz
- CD libucimf-2.2.9/
- ./Configure -- prefix =/usr -- sysconfdir =/etc
- Make
- Make install
- CD
- Rm-RF Co., libucimf-2.2.9/
- Http://ucimf.googlecode.com/files/ucimf-openvanilla-2.10.6.tar.gz wget-C
- Tar-xvf ucimf-openvanilla-2.10.6.tar.gz
- CD ucimf-openvanilla-2.10.6/
- ./Configure -- prefix =/usr
- Make
- Make install
- CD
- Rm-RF Co., ucimf-openvanilla-2.10.6/
- Http://ucimf.googlecode.com/files/openvanilla-modules-0.8.0_13.tar.gz wget-C
- Tar-xvf openvanilla-modules-0.8.0_13.tar.gz
- CD openvanilla-modules-0.8.0_13/
- ./Configure -- prefix =/usr -- with-zh_CN
- Make
- Make install
- CD
- Rm-RF Co., openvanilla-modules-0.8.0_13/
- Http://fbterm.googlecode.com/files/fbterm-1.6.tar.gz wget-C
- Tar-xvf fbterm-1.6.tar.gz
- CD fbterm-1.6/
- ./Configure -- prefix =/usr
- Make
- Make install
- CD
- Rm-RF Co., fbterm-1.6/
- Http://ucimf.googlecode.com/files/fbterm_ucimf-0.2.6.tar.gz wget-C
- Tar-xvf fbterm_ucimf-0.2.6.tar.gz
- CD fbterm_ucimf-0.2.6/
- ./Configure -- prefix =/usr
- Make
- Make install
- CD
- Rm-RF Co., fbterm_ucimf-0.2.6/
- # ------------------- Run ----------------------
- # Lang = zh_CN.UTF-8 fbterm-I fbterm_ucimf
Some libraries were found to be missing when fbterm was installed, but they were not prompted during the previous RPM package installation. These libraries were downloaded and installed successfully.
If you do not configure ucimf, you can check the usermanual downloaded from this script.
You can also enter Chinese characters,
But occasionally the font display is rough, but sometimes it is better to exit fbterm again, and there is also a poor way back, the font is wenquanyi and other Kuan Zheng Hei 16.
I really don't know where the root cause of this occasional minor fault is .. ..
Students who want to try, the above text contains links to the official website of various software, you can check it yourself. If not, you can leave a message. I will try my best to help.