Reference

chdrv(1)

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/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 /usr/lib/chinese/gbfont.

CHDRV_LOG

Which console for logging error messages, such as /dev/tty8.

CHDRV_MACRO

The location of the macro data file.

FILES

/usr/lib/chinese/config

One of the main configuration files. The usage of this file should be self-explanatory.

/usr/lib/chinese/kcfont and /usr/lib/chinese/gbfont

Files specifying fonts for Big5 and GB.

/etc/multitab

Input method designation table.

/etc/chdrv.mac

Macros data file, format is the same as ETen.

/etc/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 <[email protected]>. This manual page was written by Anthony Wong <[email protected]>, for the Debian GNU/Linux system (but may be used by others).