Sender: Albin (Aile Bin), News District: Linux
Title: Linux Elective Class: The installation of the Chinese character terminal!
Sending station: Bihai Youth (Sun Apr 25 23:33:26 1999), transfer
Copyright Notice:
This article is the Linux elective course of Dalian University of Technology. You are welcome to reprint, but it is forbidden to use this material.
Any commercial or profitable event. Please keep this copyright statement when you reprint.
Author: He Binwu, hbwork @ dlut.edu.cn, Network Center of Dalian University of Technology, April 1999.
URL: ftp://ftp.dlut.edu.cn/pub/people/albin/
-------------------------------------------------- ----------------------------
Chinese character terminal installation under redhat / mandrake linux
main content:
Configuration X
XCIN and CRXVT installation
Netscape Show Chinese characters
Error handling
1. First configure your X Server to support the 800x600, 16 BITS Color display mode, the specific method is as follows:
Perform the following command under the character terminal:
#Superprobe
This command is to detect your display card. If your display card is not detected, prepare to upgrade your xfree86
Or use AX4.1. This part is not described much, please refer to the articles related to the BBS Linux version. If you
Installing AX4.1, ignore the contents of the X configuration section below.
#Xconfigurator
Related configurations based on the prompt, if you get the relevant server information after the display card is selected
If you refer to the contents of the rest of the fault.
Important parameters are to determine your monitor resolution (see the specification of the monitor), for most displays you can
To select 800x600 @ 72 Hz or 800x600 @ 60Hz, the scan frequency can be selected 50-90.
Also configure your X display mode, you can only select 800x600 16Bits Mode, of course if your monitor is enough.
Big enough, the graphics card is also sufficient, you can set a bigger (but first confirm that your monitor can support
You choose the resolution, otherwise you will be responsible for yourself, don't say that I didn't tell you! As my X configuration is
S3 Virge / DX 4MB memory, Sun 17 "display, I set up the resolution of 1280x1024 @ 76 Hz).
After the configuration is started, X Look, you can work properly.
#startx
2. Get XA XCIN, compile and install.
The input method of XA Xin and the interface are better than CXTERM, and the system resource consumption is also less than CXTERM, from the following URL.
Get the source code (the following assumes that you are using Bash, and the content after # is comment, no need to enter!):
FTP: //ftp.dlut.edu.cn/pub/people/saka/xa xcin-redhat.tgz
Take a look at the available space of each file system with a DF -K command, I suggest you download compilation
Use your own directory, do not operate in the system directory such as /, / etc / usr, / var, etc.
To use root, it is best to enter system operation with ordinary users.
After obtaining the source code, expand and compile
$ PWD # Confirm the correct directory! Develop a good habit.
$ tar -zxvf xa xcin-redhat.tgz
$ cd xcin *
$. / configure
Configure according to the prompt (I can't remember the specific), as if you choose S, you can continue, but ask you
Linux installation and development pack and x develepment library; if your resolution is high, such as 1024x768, you can modify the font of XCIN and CRXVT when configured, the default Chinese font is Hanzigb16st, English is
8x16, you can change to Hanzigb24st and 12x24, then S continues to configure, after the configuration is completed
Perform the following:
$ Make # If Make does not have any errors, you can install:
% su
#make install
#exit
$ Echo $ PATH
Look at there is / usr / local / bin in the display result; if you do not do your operation:
$ PATH = / usr / local / bin: $ path; Export Path
Modify / etc / profile, join / usr / local / bin in the PATH row, so you don't have to enter the system next time
Modify the PATH variable.
Startup method:
(1) Implementing / USR / local / bin / crxvt &, / usr / local / bin / xcin &,
If your Path path already contains / usr / local / bin, you can perform CRXVT & CRXVT &
And XCIN &, but remember XCIN & Just use it once, and CRXVT is performed every window.
once.
(2) If you use KDE, you can add the corresponding startup icon in the desktop or taskbar, and its operation and Windows
95 is almost the same, so you can click the corresponding icon directly to start the Chinese environment under the KDE.
(3) If you use the FVWM95 Series Window Manager, you can join the corresponding to the startup menu and pop-up menu.
Submenu, please refer to the relevant documentation for details. (Remember how to change :-()
Switching Chinese input method:
Use CTRL SPACE to switch in CRXVT, Ctrl Shift switch Chinese input method, Shift Space switch
Full angle / half angle, exactly the same as Windows 95.
3. Display Chinese in Netscape
For usual HTML text, you can select Simplified Chinese characters in View-> Encoding in Netscape,
For the Frame or script output, you need to install XA, XA is already in the XA Xcin-redhat.tgz you expand
Generated, with XCIN in the same directory, compile XA, call Netscape with XA. Methods as below:
Compile
$ CD XA-1 *
$ PWD # Remember the directory name, here you want to use
$ Make
There is a VI modified script program XA, change the directory name in LD_PROLOAD to the output of the PWD above.
Execute Netscape:
$. / xa netscape
This method runs Netscape, the title section, and the pressing button cannot be displayed correctly, but the other parts should be normal.
4. Error handling
(1) Display the corresponding X Server when the XConfigurator selection display card is executed
Solution:
Find related X Server from the FTP server or CD, install it with RPM. If the display card is ATI Mach64,
The corresponding X Server is:
Mandrake 5.3:
ftp://ftp.dlut.edu.cn/pub/linux/mandrake-5.3/redhat/rpms/xfree86-mach64-3.3.3.1-2.i386.rpm
ftp://ftp.dlut.edu.cn/pub/linux/redhat/redhat-5.2/i386/redhat/rpms/xfree86-mach64-3.3.2.3-25.i386.rpm
Of course, you can also find the corresponding RPM package with the search engine on the Master FTP server.
Then install:
# rpm -i xfree86-mach64-3.3.3.1-2.i386.rpm
Then re-run the Xconfigurator configuration X.
(2) The system is displayed when performing XConfigurator:
Bash: XConfigurator: Command Not Found
cause of issue:
First, there is no containment / usr / x11r6 / bin in your path variable, and another can be you just not.
XConfigurator.
Solution:
If it is the first reason, refer to the description of the previous modified PATH variable portion (recommended to use this method) or run directly
# / usr / x11r6 / bin / xconfigurator
If it is the second reason, it is obtained by RPM, which is now installed with rpm -i xconfig * .I386.rpm
RedHat 5.2
FTP: //ftp.dlut.edu.cn/pub/linux/redhat/redhat-5.2/i386/redhat/rpms/xconfigurator-3.82-1.i386.rpm
Mandrake-5.3
FTP: //ftp.dlut.edu.cn/pub/linux/mandrake-5.3/redhat/rpms/xconfigurator-3.89-4.i386.rpm
(3) The following error occurs when compiling:
$ Make
Bash: make: Command Not Found!
Solution:
// Faint. There is no choice of C development and development libraries at the time of installation.
The system, don't forget to select these two parts when reinstalling the X Development.
X11 / xlib.h can't open files (specific error information is not clear)
You are not installed in the X Development section, find from the FTP server related to the directory or CD
Xfree86-deb - *. I386.rpm, install this RPM with rpm
Then re-execute Make
(4) Compile, there is no problem, but the following error occurs when performing XCIN and CRXVT:
XCIN: Color Brown Not Defected (Specific Error Information may not be accurate)
CRXVT: Coloar Red3 Not Defeed
cause of issue:
Your x display mode is 256 colors, switch to 16-bit color with Ctrl Alt , if not, re-
Configure X is 16-bit color.
-
[M [1; 33M ※ Source:. Bihai Youth bbs.dlut.edu.cn. [From: apple.dlut.edu.c] [M