# Extract the file tar xfz unicon-3.0.2-release.tar.gz cd unicon-3.0.2 from the Unicon source package # patch the kernel source code 1. patch Method for linux kernel source code: copy the corresponding patch file from the unicon-3.0.2/kernel-patches directory to your linux kernel source code directory (for example:/usr/src/linux ). cp kernel-patches/unicon-kernel-2.2.17-1.patch.gz/usr/src/linux # The unicon patch to the linux kernel source code. for example: cd/usr/src/linux gzip-dc unicon-kernel-2.2.17-1.patch.gz | patch-p1 2. configure the kernel compilation option cd/usr/src/linux make menuconfig and select "Code Maturity level options "select" Prompt for development and/or incomplete code/drivers "Press" Exit "to Exit this option select" Console Driver "select" Support Frame Buffer Devices "select" Unicon Support" select "vesa vga Graphics Console" and press "Exit" to Exit this option and select other options you want to compile. save the configuration options and exit. 3. recompile the kernel and install the new kernel .... for more information, see Kernel-HOWTO or/usr/src/linux/README. 4. download and install the pth library. The pth library is the GNU portable thread library. you can get it from ftp://ftp.gnu.org/pub/gnu/pth. the source code compilation method is as follows: tar xfz pth -1.3.7.tar.gz pth-1.3.7. /configure -- prefix =/usr make install or you can install pth from the GNU/Linux CD. 5. install the unicon step cd unicon-3.0.2. /configure -- prefix =/usr make install make data; may take a long time... make data-install # restart your computer and enter the framebuffer mode. rebootLILO: linux vga = 771; 771 represents 800x600x8-bit (256) color mode; 791 represents 1024x768x16-bit (65536) color mode; for more information, see/usr/src/linux/Documentation/fb/vesafb.txt. usage = ==# Install the unikey module insmod unikey # support gb/gbk insmod encode-gbk # insmod encode-gb is only used to support GB2312. # support big5 insmod encode-big5 # Load direct. uni. Execute this command for each console terminal. loadunimap/usr/lib/unicon/direct. uni # Run unicon loading input method. unicon -- gb # You can add the following statements to/etc/rc. d/rc. local # So that unicon can be automatically started when the system is started. # ------------------------------------- insmod unikey insmod encode-gb loadunimap/usr/lib/unicon/direct. uni # The following statement uses other words Supported. # insmod encode-gbk # insmod encode-big5 # insmod encode-jis # insmod encode-kscm if [-x/usr/bin/unicon]; then echo "Starting Unicon3... "/usr/bin/unicon -- gb>/dev/null 2> & 1 fi # ---------------------------------------- if you cannot enter Chinese characters in the bash command line, you can edit it in your home directory. add the following content to the inputrc file: set input-meta on set convert-meta off set output-meta on. If you do not need any input method, use only the display part of Unicon, you do not need to run the unicon command, Just load the Unico N kernel module, and switch to the corresponding display encoding. for example, insmod unikey insmod encode-gbk loadunimap/usr/lib/unicon/direct. uni uniconctrl -- gbk the above command sets the current console to display the Chinese GBK encoding. uniconctrl is a code switching tool in the command line mode. uniconcfg is a menu-based encoding switching tool. you can also load multiple font modules and set different encoding display for different consoles. if you have any questions, please send a mail to unicon@turbolinux.com.cn to wish you good luck! Hope you like Unicon