chdrv(1)

chdrv1

A chinese console with input capability

Usage

chdrv [-k]

Overview

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

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.

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).

From chdrv 1.0.13-0.1 in Debian 2.2 (Potato). Parsed by carta from the page's man source.