man chdrv (Commandes) - A Chinese console with input capability
NAME
chdrv - A Chinese console with input capability
SYNOPSIS
chdrv
[-k]
DESCRIPTION
Chdrv is a program to let you view Chinese (both Big5 and GB code) on a Linux virtual console. Just type 'chdrv' to launch it. It will find a free console for error logging and another free one for the actual chdrv session. Please edit /etc/chdrv/chinese.conf to enable GB or Big5.
During a chdrv session, you can use the following function keys to perform various operations:
- F1
- Switch to different Chinese virtual console
- F9 or CTRL-SPACE
- Switch between English/Number input mode and Chinese input mode
- F10 or CTRL-ALT-[1-9]
- Select a Chinese input method
- F11
- Switch between Normal and EUC code
- F12 or SHIFT-SPACE
- Switch between Full-width and half-width characters
- SHIFT-ALT-[a-z] Macros, as defined in chdrv.mac
Option
If -k is supplied, it will kill a running chdrv session if one exists, otherwise it will launch a new session.
Environment variables
- CHFONT
- The configuration file that specifies the fonts you will use. For users who want to use GB fonts, you should first set CHFONT to /etc/chdrv/gbfont.
- CHDRV_LOG
- Which console for logging error messages, such as /dev/tty8.
- CHDRV_MACRO
- The location of the macro data file.
FILES
- /etc/chdrv/config
- One of the main configuration files. The usage of this file should be self-explanatory.
- /etc/chdrv/kcfont and /etc/chdrv/gbfont
- Files specifying fonts for Big5 and GB.
- /etc/chdrv/multitab
- Input method designation table.
- /etc/chdrv/chdrv.mac
- Macros data file, format is the same as ETen.
- /etc/chdrv/termcapG
- Termcap file for chdrv.
- /var/run/chdrv.pid
- The PID of the running chdrv session.
SEE ALSO
For more complete information, please refer to the documentation files under /usr/doc, particularly the file MANUAL.DOC.
AUTHOR
The original author is Yu-Chung Wang <wangy@ece.uci.edu>. This manual page was written by Anthony Wong <ypwong@debian.org>, for the Debian GNU/Linux system (but may be used by others).