XJDIC(1)
π XJDIC(1) β the electronic Japanese-English dictionary program π
okay so this is the manual page for XJDIC, section 1 of the manual, and it's genuinely a whole era. It's the electronic Japanese-English dictionary program, currently vibing at V2.4. β¨
heads up bestie: this man page is just a summary of the info that lives in the xjdic24.inf file. The real tea is in there. π«
πΈ 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
xjdservervia a network. π
xjdserver [ options ]
- The XJDIC server, which carries out dictionary searches on behalf of clients. π
xjdxgen [ options ] dictionary_file
- creates the
.xjdxindex file for dictionary files. π
π¦ DESCRIPTION π¦
XJDIC is an electronic Japanese-English dictionary program designed to operate in the X11 window environment. specifically, 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. the lore!! π
XJDIC functions as:
- an English to Japanese dictionary (eiwa jiten), searching for and displaying entries for key-words entered in English;
- a Japanese to English dictionary (waei jiten), searching for and displaying entries for keywords or phrases entered in Japanese (kanji, hiragana or katakana);
- 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. periodt. π
π 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. π-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 hex8F, as Shift-JIS.-v[CL,SA] β disable the verb de-inflection function.-V[CL,SA] β disable the use of reverse-video in the display of matches.-ccontrol_file [CL,SV,SA] β specify the path and name of a control file to be used instead of the default".xjdicrc"file.-ddictionary_file [SV,SA] β specify a dictionary file to use (up to 9 may be specified.) π’-kkanji_file [SV,SA] β specify a kanji data file to use.-jj/e/s [CL,SA] β Specify the output coding for Japanese text (j=JIS,e=EUC,s=Shift-JIS)-Pport_no [CL,SV] β instruct the client/server version to use UDP port nnnnn, instead of the default port (47512).-Sserver_address [CL] β instruct the client that the server is to be found at the specified network address. π‘-Cclipboard_file [CL,SA] β the name of the file to use as the clipboard.-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!β display the GNU GPL document.#β engage the romaji to katakana conversion feature for the subsequent input.@β engage the romaji to hiragana conversion feature for the subsequent input.&β toggle kana-input mode./β toggle the display jukugo with a kanji in a non-initial position mode.\β go into kanji dictionary mode (see below.)|β toggle unedited output mode.=β switch the active dictionary to the next in the list.^β switch the active dictionary to the previous one in the list._β select an active dictionary by number.$β specify a list of dictionary numbers to use in global-search mode.%β toggle global search mode.`β toggle multiple dictionary display within global search mode.*β display buffer-usage statistics (only for the stand-alone version with paged I/O)[β toggle exact-match mode.}β toggle reverse-video display of matched strings mode.+β toggle selection of priority keys in the dictionary.]β initiate search of the extension file (none available yet!).'β clear the current one-off filter (if any) and prompt for another.;β set/clear general filters (as specified in the control file.){β enter clipboard mode (all search keys will now be taken from the clipboard file.) π:β toggle verb-deinflection mode-β toggle long kanji display mode.
π 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.) jxxxxβ a hex JIS code for a kanjijhxxxxβ a hex JIS code for a kanji from the JIS X 212-1990 supplementary kanji.jknnnnβ a numeric kuten code for a kanji.jknnnnβ a numeric kuten code for a kanji from the JIS X 212-1990 supplementary kanji.jsxxxxβ a hex Shift-JIS code for a kanji.
followed by one of the KANJIDIC codes, such as Snn, Bnn, Vnnnn, etc.
mβ followed by the English"sense"or"meaning"of the kanji.rβ to initiate a display of the radicals and their numbers.lβ to enter the multi-radical selection mode.
π§ 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- radical β add this element to the table.
dnβ remove the *n*th element from the table.snβ restrict the selection to kanji with n strokess-nβ restrict the selection to kanji with<=n strokess+nβ restrict the selection to kanji with>=n strokess0β remove the kanji stroke restriction.cβ clear the elements in the tablelβ force the display of currently matching kanjivkanji β display the elements of the specified kanjixβ exit this mode.
π 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 thexjdic24.inffile.)omodee/j/s [SA,CL] β set the screen output codes to EUC, JIS or Shift-JISkanamode[SA,CL] β set the initial default input mode to hiraganaexactmatch[SA,CL] β toggles the exact match optiondicdirpath_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 anydicfile, etc. lines. β οΈdicfilepath_name [SA,SV] β dictionary name (default:edict)kdicfilepath_name [SA,SV] β kanji dictionary name (default:kanjidic)romfilepath_name [SA,CL] β romaji conversion file (default:romkana.cnv)verbfilepath_name [SA,CL] β conjugation file (default:vconj)radfilepath_name [SA,CL] β radical/bushu no. file (default:radicals.tm)radkfilepath_name [SA,CL] β radical/kanji file for the multi-radical search (default:radkfile)jverbon|off [SA,CL] β enable or disable the verb de-inflection functionkdnoshowABCDE... [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.exlistand from but .... .... β declaration of common words of 3 or more letters to be excluded from the XJDXGEN generation of an.xjdxfile. There can be more than one"exlist"line in the file.clipfile[SA,CL] β specify the name of a clipboard file to use.gnufile[SA,CL] β specify the name of GNU Public Licence file (default is"gnu_licence".)rvdisplayon | off [SA,CL] β specify the initial setting of the reverse video display of matches. (Default is ON)
note bestie: 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 kanjiromkana.cnvβ the list of romaji to kana mappings used in the input conversion routines.vconjβ the verb/adjective inflections used to identify the dictionary forms of words prior to lookup.radkfileβ the file of radicals used in the multi-radical kanji search function, and the kanji matching each radical.kanjstrokeβ file of kanji and their stroke-counts, extracted from thekanjidicfile.
πΈ ENVIRONMENT πΈ
ok so bestie, the config file .xjdicrc(1) is literally the blueprint β it tells everything where all those files up there actually live. π
And the programs go hunting for it in this exact order of vibes:
- the current working directory you're chillin' in rn
- your
HOMEdirectory π - wherever the
XJDICenvironment variable says to look β¨
β¨οΈ INPUT METHOD β¨οΈ
Not only does XJDIC have its own lil romaji conversion facility built in (she's self-sufficient, she doesn't need anybody π
), she can ALSO take Japanese input straight from IM systems like kinput2. Versatile queen behavior, fr fr. π
π BUGS π
Any bugs you spot? Send them to the author. That's it, that's the whole policy. No ticket system, no fancy tracker β just slide into the author's inbox, bestie. π
π AUTHOR π
Jim Breen <jwb@dgs.monash.edu.au> β the icon, the legend, the moment. π«Ά
This man page was initially created by William F. Maton <wmaton@enterprise.ic.gc.ca> with material taken from xjdic24.inf, and then extended by Jim himself. Collab energy, we love to see it. β¨
π ACKNOWLEDGMENTS π
Okay so the way that SO many people β like, many, many people β have helped out with xjdic since it first appeared as version 1.0 back in 1992?? That's decades of group-chat support, no cap. π₯Ήπ They're all named in the xjdic24.inf file, so go give them their flowers. πΈ
and that's the whole page, bestie!! this one's from MAY 2003, part of the UNIX manual set, and you can find it under XJDIC(1). iconic documentation, truly. go look something up in kanji, you got this π β¨
π¦ where this page comes from
- debian bookworm: xjdic 24-11
- debian trixie: xjdic 24-12
- ubuntu jammy: xjdic 24-11
- ubuntu noble: xjdic 24-11
- ubuntu questing: xjdic 24-12
- ubuntu resolute: xjdic 24-14
- ubuntu stonking: xjdic 24-14
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms