1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
|
The file is a collection of users' frequently asked questions. If you
have any suggestion or any question not in the list, please email
twchiu2@phys.ntu.edu.tw.
(1) What is chdrv?
(2) Which is newest version of chdrv?
(3) What equipment is required by chdrv?
(4) How to implement new input method in chdrv?
(5) When I exit Chinese console, the system crashes. What's matter?
(6) How to install HBF font?
(7) Can I use GB code in chdrv?
(8) How to install font in chdrv? (*obsolete*)
(9) Can I run chdrv in non-Linux system?
(10) Can I use Mule in chdrv?
(11) Which editor can be use in chdrv?
(12) Can I input Chinese in a shell?
(13) Can I translate *.cit in cxterm to chdrv?
(14) How do I kill the daemon from memory?
(1) What is chdrv?
Ans: Chdrv is a Chinese Terminal Simulator. It can display Chinese without
X Window System. It is originally based on VGALIB, but many functions
have been reimplemented with ASM codes for efficiency.
(2) Which is newest version of chdrv?
Ans: The newest version is 1.0.12.
(3) What equipment is required by chdrv?
Ans: Because it is based on VGALIB, a VGA or super VGA monitor is required.
(4) How to implement new input method in chdrv?
Ans: The system renders a multi input method. It is driven by table.
The content of table is including TAG of input method, keymap, and
translation table. The detail structure is described in INSTALL.BIG5. The
file dayi.def is a self-explained example. There is a compiler for
translating *.def to *.tbl. After you complete this table, you must
register it in /etc/chinese.conf.
(5) When I exit Chinese console, the system crashes. What's matter?
Ans: This problem does NOT exist in the current version.
(6) How to install HBF font?
Ans: Chdrv has two styles for installing font: the internal style and the
HBF style. The internal is quicker, but you must setup style configuration
file by yourself. The HBF is about 10% slower than internal style, but
there is a large set of font style configuration files avaiable.
The configuation file can be changed by setting enviroment variable
CHFONT. But it is read when chdrv startup. This is to say that you can't
change font inline. If you want to use another font, you should kill
ttyserver from memory and restart.
(7) Can I use GB code in chdrv?
Ans: Yes, you can. The file hbffont is an example. You should have a
simple-style font file such as cclib.16 and the corresponding HBF style
file. And you must setup enviroment variable CHFONTDIR to the directory
where the GB font file is. The internal style can't support code system
other than BIG5. So you must use HBF for GB code.
* This item is now OBSOLETE, because cnprint is not distributed along
* with chdrv any more due to licensing problems
(8) How to install font in chdrv? (*Obsolete*)
Ans: 16x16 display font has been described in above. The 24x24 printed
font is setup by a shell-script setfont24. You should prepare some HBF font
file and style file and put style file in the same directory as setfont24.
The font file put in a directory setup by enviroment variable CHFONTDIR.
The print driver in 0.4pl1 is cnprint2.20. It generate PS file. So you
should setup gsprint according to your printer.
(9) Can I run chdrv in non-Linux system?
Ans : I hope so but it can't in the current version. I have done some
effort to seperate the system-dependent module. They are concentrated
in portable.c and portable.h. And there are some codes to deal with
virtual console in chdrv.c
(10) Can I use Mule in chdrv?
Ans: Yes. From version 0.5, it can do this, But you should set the screen
output as *eten-big5*. Use
(set-display-font *eten-big5*)
and press F11 to switch to mule mode in chdrv
(11) Which editor can be used in chdrv?
Ans: elvis, joe, mule and emacs with macro cemacs.el can be used.
(12) Can I input Chinese in a shell?
Ans: Yes. If you use bash, add the following lines to /etc/inputrc or
~/.inputrc:
set input-meta on
set output-meta on
Wrong/old Ans: NO, a patch to bash is required. I hear there is a 8-bit
clean tcsh shell avaiable.
(13) Can I translate *.cit in cxterm to chdrv?
Ans: The perl script tit2def.perl and tit2phone can support this.But it is not
as good as you think now.Some work by hand is required.
(14) How do I kill the daemon from memory?
Ans: It is not necessary, but if you do want to do this, 'chdrv -k' can do
this for you. In the current version(0.9p8), exit from each chinese
mode screen by 'exit' before such action is necessary. But it will be
fixed up in the next release. [It has been fixed now.]
|