First, machine configuration
Before I start, I have to report the Love machine configuration: PIII 450 + 128M Ram + 20G
Harddisk + Dimond V770 + Dimond S90. The entire configuration compilation process took me 24 hours, which compiled kernel, the entire Qt+kde,unicon source spent a minimum of 22 hours. Therefore, fans of the machine if it is less than this configuration, you should imagine the time spent compiling these sources.
Two, about this article
I was successful in Redhat on my own machine, but I do not guarantee that all the friends who read this article can. This article is just a reference. This article requires packages and patches that you can download to my homepage http://www.linuxorb.net.
What is the Redhat after the Chinese-style?
Using the Unicon 3.0 provided by Turbolinux plus the GBK code page provided by the kernel, we can get a kernel that supports Chinese encoding, a thorough Chinese terminal, and the support of the Chinese filename under Xwindows.
Using glibc-2.2, we can get better Chinese locale support.
With XFree86 4.01, we can get more support for graphics cards and TrueType fonts.
The use of Qt-2.2.2 + codec patch + VIM patch can make KDE more perfect support for Chinese display and Chinese input.
With KDE-2.01, we were able to get a desktop environment that was prettier than win 98.
Use Cxterm to get Chinese xterm.
Iv. the question of the Chinese locale of RedHat 7.0
RedHat 7.0 adopted the glibc-2.1.96, the support for Chinese is already very good. We just need to modify/usr/lib/gconv/gconv-modules and join a line:
Alias gb2312-1980//euc-cn//
Export the LC_ALL environment variable to ZH_CN,ZH_CN. Gb2312,zh_cn. GBK can support Simplified Chinese. If you have made the above modifications, start to the GNOME environment to see if GNOME is able to support Chinese. The most obvious is that the GNOME desktop clock has become Chinese.
Five, recompile the kernel
The kernel used by RedHat 7.0 is 2.2.16,unicon 3.0 has kernel 2.2.17 and kernel 2.4.0test10, and I am using kernel 2.2.16 + kernel 2.2.17-patch. If you use kernel 2.4test10 + kernel 2.4test10-patch, the end result may be a little better. The installation methods are similar to those described in this article.
1, download unicon-3.0release.tar.gz, and unpack.
# CP Unicon-3.0release.tar.gz/tmp
# TAR-ZXVF Unicon-3.0release.tar.gz
2, to determine the installation of Kernel-source, if not, installation.
# RPM-UVH kernel-source*