Reference

hanzim(1)

Hanzi Master

NAME

hanzim - Hanzi Master

SYNOPSIS

hanzim [options]...

DESCRIPTION

hanzim is a combination Chinese character learning aid and interactive dictionary.

This manual page briefly documents the hanzim command. Expanded documentation may be found in /usr/share/doc/hanzim/hanzim.doc.gz.

OPTIONS

A summary of options is included below. For a complete description, see the 'hanzim.doc' file referred to above.

-small

Set up the display for a small (640x480) screen.

-medium

Set up the display for a medium (800x600) screen.

-large

Set up the display for a large (1024x768 and above) screen. This is the default.

-simplified

Use Simplified Chinese characters at startup. This is the default.

-traditional

Use Traditional Chinese characters at startup.

-pinyin

Force use of Pinyin pronunciation display even when using Traditional Chinese characters. Default is to use Zhuyin Fuhao (Bopomofo) for Traditional, Pinyin for Simplified.

-bopomofo

Force use of Zhuyin Fuhao (Bopomofo) pronunciation display even when using Simplified Chinese characters. Default is to use Pinyin for Simplified, Zhuyin Fuhao (Bopomofo) for Traditional.

-hidepron

Deactivate display of pinyin in the lower text panels, and make the overall application window smaller. ('Ctrl-p' or 'Alt-p' will toggle this when running.)

-db dir

Specifies the location of data files. Default for Debian is environment variable HANZIM_LIB, which in turn overrides the compiled-in default.

-buildDB

A special option to rebuild the binary compounds database. This is run on install and should be re-run whenever the 'cidian' file is replaced (see hanzim.doc). Currently it does not work in conjunction with the '-db' option; if you need to rebuild a database in a different directory, just remove the file 'hcompound.dat' there and then run the program with the '-db' option only and NOT '-buildDB'.

-verbose

Print various diagnostic and descriptive information on startup.

-quiet

Don't print any startup information.

-debug

Operate in interactive (tclsh prompt) mode; implies -verbose.

-help

Print out a summary of the command-line options.

FILES

Requires the files "hanwin.tcl", "hanzim.fonts", "zidianf.gb", "zidianfl.b5", "cidianf.gb", "bushou.gb", "parts.gb" to be installed in an accessible directory specified by the -db command line option, the HANZIM_LIB environment variable, or a compiled-in default, in that order of preference.

SEE ALSO

hanzim.doc

AUTHOR

This manual page was written by Roger So <[email protected]>, for the Debian GNU/Linux system and subsequently modified by Adrian Robert <[email protected]> (the original author) for more general distribution with hanzim.