xjdic

Langue: en

Autres versions - même langue

Version: MAY 2003 (openSuse - 09/10/07)

Section: 1 (Commandes utilisateur)

NAME

XJDIC - an electronic Japanese-English dictionary program (V2.4)

NB: this man page contains a summary of the information in the xjdic24.inf file.

SYNOPSIS

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.

DESCRIPTION

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.

COMMAND LINE OPTIONS

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]

display list of options and exit. AT&T System -E [CL,SA]
instruct the program that it is in EUC mode, and refrain from interpreting the 3-byte kanji of the JIS X 0212 set, which starts with a hex 8F, as Shift-JIS.
AT&T System -v [CL,SA]
disable the verb de-inflection function.
AT&T System -V [CL,SA]
disable the use of reverse-video in the display of matches.
AT&T System -c control_file [CL,SV,SA]
specify the path and name of a control file to be used instead of the default ".xjdicrc" file.
AT&T System -d dictionary_file [SV,SA]
specify a dictionary file to use (up to 9 may be specified.)
AT&T System -k kanji_file [SV,SA]
specify a kanji data file to use.
AT&T System -j j/e/s [CL,SA]
Specify the output coding for Japanese text (j=JIS, e=EUC, s=Shift-JIS)
AT&T System -P port_no [CL,SV]
instruct the client/server version to use UDP port nnnnn, instead of the default port (47512).
AT&T System -S server_address [CL]
instruct the client that the server is to be found at the specified network address.
AT&T System -C clipboard_file [CL,SA]
the name of the file to use as the clipboard.
AT&T System -K [SV]
prevent the server from establishing itself as a daemon.

KEYBOARD COMMANDS

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:

?

display a summary of the keyboard commands AT&T System
!
display the GNU GPL document. AT&T System
#
engage the romaji to katakana conversion feature for the subsequent input. AT&T System
@
engage the romaji to hiragana conversion feature for the subsequent input. AT&T System
&
toggle kana-input mode. AT&T System
/
toggle the display jukugo with a kanji in a non-initial position mode. AT&T System
go into kanji dictionary mode (see below.) AT&T System
|
toggle unedited output mode. AT&T System
=
switch the active dictionary to the next in the list. AT&T System
^
switch the active dictionary to the previous one in the list. AT&T System
_
select an active dictionary by number. AT&T System
$
specify a list of dictionary numbers to use in global-search mode. AT&T System
%
toggle global search mode. AT&T System
`
toggle multiple dictionary display within global search mode. AT&T System
*
display buffer-usage statistics (only for the stand-alone version with paged I/O) AT&T System
[
toggle exact-match mode. AT&T System
}
toggle reverse-video display of matched strings mode. AT&T System
+
toggle selection of priority keys in the dictionary. AT&T System
]
initiate search of the extension file (none available yet!). AT&T System
'
clear the current one-off filter (if any) and prompt for another. AT&T System
;
set/clear general filters (as specified in the control file.) AT&T System
{
enter clipboard mode (all search keys will now be taken from the clipboard file.) AT&T System
:
toggle verb-deinflection mode AT&T System
-
toggle long kanji display mode. AT&T System

Kanji Search Mode

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

(use the @ or # prefixes to key hiragana or katakana.) AT&T System
jxxxx
a hex JIS code for a kanji AT&T System
jhxxxx
a hex JIS code for a kanji from the JIS X 212-1990 supplementary kanji. AT&T System
jknnnn
a numeric kuten code for a kanji. AT&T System
jknnnn
a numeric kuten code for a kanji from the JIS X 212-1990 supplementary kanji. AT&T System
jsxxxx
a hex Shift-JIS code for a kanji. AT&T System
followed by one of the KANJIDIC codes, such as Snn, Bnn, Vnnnn, etc. AT&T System
m
followed by the English "sense" or "meaning" of the kanji. AT&T System
r
to initiate a display of the radicals and their numbers. AT&T System
l
to enter the multi-radical selection mode. AT&T System

Multi-Radical Mode

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

display the table of radical elements AT&T System
radical
add this element to the table. AT&T System
dn
remove the nth element from the table. AT&T System
sn
restrict the selection to kanji with n strokes AT&T System
s-n
restrict the selection to kanji with <= n strokes AT&T System
s+n
restrict the selection to kanji with >= n strokes AT&T System
s0
remove the kanji stroke restriction. AT&T System
c
clear the elements in the table AT&T System
l
force the display of currently matching kanji AT&T System
v kanji
display the elements of the specified kanji AT&T System
x
exit this mode. AT&T System

CONTROL FILE

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]

set up filter details (see the FILTERS section in the xjdic24.inf file.) AT&T System
omode e/j/s [SA,CL]
set the screen output codes to EUC, JIS or Shift-JIS AT&T System
kanamode [SA,CL]
set the initial default input mode to hiragana AT&T System
dicdir path_name [SA,SV,CL]
set the location of the dictionary and data files. The program will try this directory first, followed by the local operating directory. Affects all files except the clipboard and the control file itself. Note that this line should occur *before* any dicfile, etc. lines. AT&T System
dicfile path_name [SA,SV]
dictionary name (default: edict) AT&T System
kdicfile path_name [SA,SV]
kanji dictionary name (default: kanjidic) AT&T System
romfile path_name [SA,CL]
romaji conversion file (default: romkana.cnv) AT&T System
verbfile path_name [SA,CL]
conjugation file (default: vconj) AT&T System
radfile path_name [SA,CL]
radical/bushu no. file (default: radicals.tm) AT&T System
radkfile path_name [SA,CL]
radical/kanji file for the multi-radical search (default: radkfile) AT&T System
jverb on|off [SA,CL]
enable or disable the verb de-inflection function AT&T System
kdnoshow ABCDE... [SA,CL]
declaration of the KANJIDIC fields to be suppressed from the display. For example, "kdnoshow YMQ" will prevent the display of the Pin-Yin information and the Four-Corner and Morohashi indices. AT&T System
exlist and from but .... ....
declaration of common words of 3 or more letters to be excluded from the XJDXGEN generation of an .xjdx file. There can be more than one "exlist" line in the file. AT&T System
clipfile [SA,CL]
specify the name of a clipboard file to use. AT&T System
gnufile [SA,CL]
specify the name of GNU Public Licence file (default is "gnu_licence".) AT&T System
rvdisplay on | off [SA,CL]
specify the initial setting of the reverse video display of matches. (Default is ON) AT&T System
Note that some of these are also command-line options. If both are used, the control-file request takes precedence.

FILES

Apart from the .xjdicrc control file, XJDIC requires five other files:

radicals.tm

the list of bushu numbers and descriptive kanji AT&T System
               romkana.cnv
the list of romaji to kana mappings used in the input conversion routines. AT&T System
vconj
the verb/adjective inflections used to identify the dictionary forms of words prior to lookup. AT&T System
radkfile
the file of radicals used in the multi-radical kanji search function, and the kanji matching each radical. AT&T System
kanjstroke
file of kanji and their stroke-counts, extracted from the kanjidic file. AT&T System

ENVIRONMENT

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.

INPUT METHOD

As well as having its own romaji conversion facility, XJDIC can receive Japanese input from IM systems such as kinput2.

BUGS

Any spotted should be sent to the author.

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.

ACKNOWLEDGMENTS

Many, many people have assisted with xjdic since it first appeared as 1.0 in 1992. They are mentioned in the xjdic24.inf file.