XJDIC(1) | XJDIC | XJDIC(1) |
XJDIC - an electronic Japanese-English dictionary program (V2.4)
NB: this man page contains a summary of the information in the xjdic24.inf file.
xjdic [ options ]
- The XJDIC stand-alone program, or client which allows a user to
connect to the xjdserver via a network.
xjdserver [ options ]
- The XJDIC server, which carries out dictionary searches on behalf of
clients.
xjdxgen [ options ] dictionary_file
- creates the .xjdx index file for dictionary files.
XJDIC is an electronic Japanese-English dictionary program designed to operate in the X11 window environment. In particular, it must run in an "xterm" environment which has Japanese language support such as provided by "kterm" or internationalized xterm, aixterm, etc.
It is based on JDIC and JREADER which were developed to run under MS-DOS on IBM PCs or clones.
XJDIC functions as:
(a) an English to Japanese dictionary (eiwa jiten), searching for and displaying entries for key-words entered in English;
(b) a Japanese to English dictionary (waei jiten), searching for and displaying entries for keywords or phrases entered in Japanese (kanji, hiragana or katakana);
(c) a Japanese-English Character dictionary (kanei jiten), capable of selecting kanji characters by JIS code, radical, stroke count, Nelson Index number or reading, and displaying compounds containing that kanji.
XJDIC is typically run in a window of its own. The user can then use it as a free-standing on-line dictionary. It can also be used as an accessory when reading or writing text in another window (e.g. reading the "fj" Japanese news groups.) Strings of text, either English or Japanese, can be moved to and from XJDIC using X11's mouse "cut-and-paste" operations.
All the Japanese displayed by XJDIC is in kana and kanji, so if you cannot read at least hiragana and katakana, this is not the program for you. The author has no intention whatsoever of producing a version using romanized Japanese.
Each option begins with a separate "-" identifier. Options are tagged: CL, SA or SV according to whether they are applicable to the Client, Stand-alone or Server versions. Many of the options can also be set in the .xjdicrc file.
-h [CL,SV,SA]
-E [CL,SA]
-v [CL,SA]
-V [CL,SA]
-c control_file [CL,SV,SA]
-d dictionary_file [SV,SA]
-k kanji_file [SV,SA]
-j j/e/s [CL,SA]
-P port_no [CL,SV]
-S server_address [CL]
-C clipboard_file [CL,SA]
-K [SV]
XJDIC operates by entering text strings of English or Japanese, upon which the matching dictionary entries are displayed. As well, a range of single-character control commands are available to modify the program operation.
The commands are:
?
!
#
@
&
/
\
|
=
^
_
$
%
`
*
[
}
+
]
'
;
{
:
-
Kanji Search Mode is entered using the `´ command. In this mode, keys are entered which match against fields in the Kanji database.
The keys are:
kana
jxxxx
jhxxxx
jknnnn
jknnnn
jsxxxx
followed by one of the KANJIDIC codes, such as Snn, Bnn, Vnnnn, etc.
m
r
l
This is a sub-mode with the kanji selection mode. Radical elements are entered, and the kanji which match that combination of elements are either displayed, or their number reported.
The commands in the mode are:
r
radical
dn
sn
s-n
s+n
s0
c
l
v kanji
x
Configuration of the XJDIC system is accomplished via the use of the .xjdicrc(1) file, or the file specified in the -c option.
The control-file contains a number of directives which establish the working dictionaries and files, and also set some of the operating modes.
The control file directives are:
filt [SA,CL]
omode e/j/s [SA,CL]
kanamode [SA,CL]
exactmatch [SA,CL]
dicdir path_name [SA,SV,CL]
dicfile path_name [SA,SV]
kdicfile path_name [SA,SV]
romfile path_name [SA,CL]
verbfile path_name [SA,CL]
radfile path_name [SA,CL]
radkfile path_name [SA,CL]
jverb on|off [SA,CL]
kdnoshow ABCDE... [SA,CL]
exlist and from but .... ....
clipfile [SA,CL]
gnufile [SA,CL]
rvdisplay on | off [SA,CL]
Note that some of these are also command-line options. If both are used, the control-file request takes precedence.
Apart from the .xjdicrc control file, XJDIC requires five other files:
radicals.tm
romkana.cnv
vconj
radkfile
kanjstroke
The file .xjdicrc(1) defines the locations of the files above. The programs all seek this file in the current working directory, the HOME directory, or in the directory specified by the XJDIC environment variable.
As well as having its own romaji conversion facility, XJDIC can receive Japanese input from IM systems such as kinput2.
Any spotted should be sent to the author.
Jim Breen <jwb@dgs.monash.edu.au>. This man page initially created by William F. Maton <wmaton@enterprise.ic.gc.ca> with material taken from xjdic24.inf, and extended by Jim.
Many, many people have assisted with xjdic since it first appeared as 1.0 in 1992. They are mentioned in the xjdic24.inf file.
MAY 2003 | UNIX |