Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cserver(8) [debian man page]

CSERVER(8)						      System Manager's Manual							CSERVER(8)

NAME
cserver - To start the Chinese server. SYNOPSIS
cserver [-f file ] [-s file ] DEFAULT PATH
/usr/local/bin/cWnn4/cserver DESCRIPTION
During Chinese input, cserver provides the services (such as conversion services) and resources (such as dictionaries, grammar files etc.), required by the users (front-end processors). The input environment is provided by the front-end processor (cuum), which sends its request to the cserver, which subsequently performs the service and return the result back to the front-end processor. Normally, once the system is up, fork() will be executed and the server runs as a background process. The startup of cserver can be set in "/etc/rc" to be executed automatically in the Unix system. When the "cserver" command is executed, all the settings in the initialization file "/usr/local/lib/wnn/zh_CN/cserverrc" will be read and the corresponding initialization operations will be performed. Besides, all resources such as dictionaries and usage frequency files of the clients will be maintained by the cserver. Refer to cWnn man- ual for details on "cserverrc". If the user happens to start up cserver after it has already been started, an error message will be given. Refer to cWnn manual for the error message. OPTIONS
-f file file is the specified initialization file for the server. If this option is not specified, the default initialization file "/usr/local/lib/wnn/zh_CN/cserverrc" will be read. -s file file is the specified logfile of cserver. All error messages will be directed to this specified logfile. When file is specified as "-", (eg. cserver -s -), the error messages will be sent to the standard error output. NOTE
1. The command options inside [ ] shown in the Command Format indicates that they are optional. 2. If they are not required, "cserver" alone is sufficient to start up the Chinese server. 13 May 1992 CSERVER(8)

Check Out this Related Man Page

CWDREG(1)						      General Commands Manual							 CWDREG(1)

NAME
cwdreg - To register characters/words into the binary format dictionary. SYNOPSIS
cwdreg [-D server ] -n envname -d dicno < textdic OR cwdreg [-D server ] -n envname -L filename < textdic DEFAULT PATH
/usr/local/bin/cWnn4/cwdreg DESCRIPTION
This function allows user to register characters/words into the specified binary dictionary, with either dictionary number dicno or dictio- nary filename filename specified. server is the machine name of the server. If this is not specified, the default cserver indicated by the environment variable CSERVER will be taken. "-n envname " must be specified. envname is the environment name. You may execute "cwnnstat -E" to see the current environment name. Either "-d dicno " or "-L filename " must be specified. dicno is the dictionary number. filename is the filename of the dictionary. "-L" is used for when the dictionary is from the local machine. "<" means to pipe the textdic as an input to "cwdreg" command. textdic is the text file which user enters the characters/words to be registered. The format of this text file must be the same as that in the system text format dictionary. That is, -------------------------------------------------- | Pinyin Word Cixing Frequency | | : : : : | -------------------------------------------------- Refer to cWnn manual for details on dictionary. By using "cwdreg", all the characters/words in textdic will be registered into the specified binary dictionary permanently. NOTE
1. The parts in [ ] are options. They may be omitted. 13 May 1992 CWDREG(1)
Man Page