Lynx+CCE+Recompily kernel
I want to browse Internet pages via lynx, but now lynx do not support gb2312 directly. So, I did a very interesting test, resolve this issue fairly well.
1. Test Environment
CentOS 3.5, no install X-Window
cce rpm package
2. Recompily kernel to increase the running speed(because it has PIII and only 128MB memory).
# cd /usr/src/linux-2.4.21-32.EL
# vi Makefile
Here, in the line 4, change the EXTRAVERSION to “EXTRAVERSION=-32.ELhx”
# make mrproper
# make oldconfig
# make menuconfig
remove the unuseful components
# make dep
# make bzImage
# make modules
# cp /usr/src/linux-2.4.21-32.EL/arch/i386/boot/bzImage /boot/vmlinuz-linux-2.4.21-32.ELhx
# make modules_install
# mkinitrd /boot/initrd-2.4.21-32.ELhx.img 2.4.21-32.ELhx
# cp /usr/src/linux-2.4.21-32.EL/System.map /boot/System.map-2.4.21-32.EL
# cp /usr/src/linux-2.4.21-32.EL/.config /boot/.config-2.4.21-32.ELhx
Final step, add corresponding lines in /boot/grub/grub.conf. Then reboot.
3. The new kernel starts up very quickly, That’s what I want. Download cce and install this rpm file.
# rpm -ivh cce-xxx.rpm
Then execute “cce” in the command line, and type “lynx www.tom.com”, a famous Chinese site.
Yeah!I got it, all Chinese characters display very beautifully. cce also supports Chinese input, but what types can not be recognized by human for mess code set.
PS: copy cce package from windows to my Linux, and issue “rpm -ivh”, it said the md5sum failed. Download cce in linux, and installed successfully. It seems there’s different md5 checking code in Windows and Linux. I can not confirm.