SJ3(1) — NEWS-OS Programmer’s Manual
NAME
sj3 − Japanese Front-End Processor
SYNOPSIS
sj3 [ −f shell ] [ −h ] [ −H hostname ] [ −L ] [ -o ] [ −e program [ arguments ...]]
DESCRIPTION
sj3 is a front-end processor for the Japanese language used for performing Kana-Kanji conversion. A socket is used for interprocess communication with sj3serv(1), a Kana-Kanji conversion server.
sj3 can be started from the terminal and used to convert Romanized Japanese or one-byte katakana input from the terminal to Kanji. The results can be passed to any applications running on top of sj3.
sj3 reads the setup file ‘.sjrc’ in the home directory of the user, and runs in accordance with the settings listed there. sj3 runs under defaults if this file cannot be found. Roman-Kana conversion offered by sj3 is performed in accordance with conversion rules defined in the file ‘.sjrk’ also in the home directory. A default definition file is used if this one cannot be found.
OPTIONS
−f shell
This option can be used to specify the shell to execute when sj3 is run. The default shell is /bin/csh.
−h This option displays brief descriptions of other options available for sj3. sj3 is not run if this option is specified.
−H hostname
This option specifies the hostname for the server to be connected. If this option is not specified and the environment variable SJ3SERV in the setup file also does not specify a server, an attempt will be made to connect the server on the localhost. sj3 will run even if this server cannot be connected, but Kana-Kanji conversion will not be possible.
−L This option specifies that the login shell be run.
−o This option specifies that the keyboard being used is an NWP-410.
−e program [arguments ...]
This option can be used to specify a program and corresponding arguments to execute when sj3 is run. If used, this option must be the last one on the command line.
ENVIRONMENT VARIABLES
SJ3SERV represents the hostname for the server to be connected.
SJRC represents the filename of the setup file.
SJRK represents the filename of the definition file to use for Roman-Kana conversion rules.
FILES
/usr/sony/dict/sj3/user/$USER/private.dic
User dictionary for Kana-Kanji conversion
/usr/sony/dict/sj3/user/$USER/study.dat
Study file for Kana-Kanji conversion
/usr/sony/lib/sj3/sjrk
Default definition file for Roman-Kana conversion rules
SEE ALSO
NEWS-OSRelease 4.1C