/* ---------------------------------------------------------- 
%   (C)1992 Institute for New Generation Computer Technology 
%       (Read COPYRIGHT for detailed information.) 
----------------------------------------------------------- */
ICOT Free Software  No.36

	 A Sentence Retrieval Tool: KWIC-ESP
		1992.8 Release Ver.1
		1993.3 Release Ver.2

1 Environment

  (1) Hardware

	SUN-4 Series or clone
	SunOS4.03 or later

  (2) Memory and Disk

	Memory  40MB include swap area

        Disk    10MB
		(without your own database files)

  (3) Software

	CommonESP 3.3				
	GNU emacs 18.53 or above
	nemacs 3.0 or above
	Openware/Motif 2.0.7

2. Install
(0) Before install, you have to expand 'kwic_install.tar' file.

	(Ex.) Type
			tar -xvf kwic_install.tar
	in your suitable directory (for example, $HOME), and you can
	get the follwing source files. 

	x source/ckwic/ckwic_file.esp, 9321 bytes, 19 tape blocks
	x source/ckwic/feature_table.txt, 43034 bytes, 85 tape blocks
	x source/binary/ltb_unix.esp, 1541 bytes, 4 tape blocks
	x source/binary/str.esp, 5415 bytes, 11 tape blocks
	x source/binaryF/bfiles.esp, 13103 bytes, 26 tape blocks
	x source/engine/dbFile-B.esp, 13353 bytes, 27 tape blocks
	x source/engine/dbOutput.esp, 26168 bytes, 52 tape blocks
	x source/engine/dtCompiler.esp, 52352 bytes, 103 tape blocks
	x source/engine/exPool.esp, 27255 bytes, 54 tape blocks
	x source/engine/fncSPutf.esp, 17873 bytes, 35 tape blocks
	x source/engine/for_rename.esp, 2234 bytes, 5 tape blocks
	x source/engine/functions.esp, 43779 bytes, 86 tape blocks
	x source/engine/search_F.esp, 105719 bytes, 207 tape blocks
	x source/engine/sysInfo.esp, 2593 bytes, 6 tape blocks
	x source/engine/systems.esp, 4321 bytes, 9 tape blocks
	x source/engine/v2_common.mac, 610 bytes, 2 tape blocks
	x source/engine/v2_dic.mac, 2269 bytes, 5 tape blocks
	x source/engine/v2_macro.mac, 12413 bytes, 25 tape blocks
	x source/engine/v2_restrict.mac, 281 bytes, 1 tape blocks
	x source/engine/v2_tool.mac, 4401 bytes, 9 tape blocks
	x source/engine/dbDMa.esp, 62347 bytes, 122 tape blocks
	x source/engine/dbDMb.esp, 26039 bytes, 51 tape blocks
	x source/engine/featureFile.esp, 4501 bytes, 9 tape blocks
	x source/engine/termConv.esp, 3242 bytes, 7 tape blocks
	x source/nemacsInterface/TreeFeature.esp, 4985 bytes, 10 tape blocks
	x source/nemacsInterface/commExec.esp, 1197 bytes, 3 tape blocks
	x source/nemacsInterface/displayMode.esp, 12398 bytes, 25 tape blocks
	x source/nemacsInterface/displayOutput.esp, 12215 bytes, 24 tape blocks
	x source/nemacsInterface/emacsComm.esp, 604 bytes, 2 tape blocks
	x source/nemacsInterface/expMan.esp, 3113 bytes, 7 tape blocks
	x source/nemacsInterface/inpComm.esp, 2637 bytes, 6 tape blocks
	x source/nemacsInterface/inputKeyword.esp, 27994 bytes, 55 tape blocks
	x source/nemacsInterface/kwMan.esp, 5168 bytes, 11 tape blocks
	x source/nemacsInterface/kwOperator.esp, 2066 bytes, 5 tape blocks
	x source/nemacsInterface/kwParser.esp, 18046 bytes, 36 tape blocks
	x source/nemacsInterface/macroMan.esp, 1600 bytes, 4 tape blocks
	x source/nemacsInterface/macroPool.esp, 12339 bytes, 25 tape blocks
	x source/nemacsInterface/manipulateKeyword.esp, 12531 bytes, 25 tape blocks
	x source/nemacsInterface/manipulateMacro.esp, 11759 bytes, 23 tape blocks
	x source/nemacsInterface/manipulateOut.esp, 16312 bytes, 32 tape blocks
	x source/nemacsInterface/nemacsHelp.esp, 491 bytes, 1 tape blocks
	x source/nemacsInterface/nemacsInput.esp, 2305 bytes, 5 tape blocks
	x source/nemacsInterface/nemacsKwic.esp, 2085 bytes, 5 tape blocks
	x source/nemacsInterface/nemacsOutput.esp, 4696 bytes, 10 tape blocks
	x source/nemacsInterface/nemacsSearch.esp, 2513 bytes, 5 tape blocks
	x source/nemacsInterface/searchMan.esp, 6427 bytes, 13 tape blocks
	x source/xinterface/kwic_tool.esp, 1962 bytes, 4 tape blocks
	x source/xinterface/make_message.esp, 42932 bytes, 84 tape blocks
	x source/xinterface/operate_output.esp, 9750 bytes, 20 tape blocks
	x source/xinterface/xkwic.esp, 2760 bytes, 6 tape blocks
	x source/xinterface/xkwic_receive.esp, 41658 bytes, 82 tape blocks
	x source/xinterface/xkwic_search.esp, 2925 bytes, 6 tape blocks
	x source/xinterface/my_string.esp, 3944 bytes, 8 tape blocks
	x source/xwindow/Makefile, 2335 bytes, 5 tape blocks
	x source/xwindow/display.c, 31956 bytes, 63 tape blocks
	x source/xwindow/display.uil, 64898 bytes, 127 tape blocks
	x source/xwindow/display2.c, 55499 bytes, 109 tape blocks
	x source/xwindow/ed_kensaku.c, 21120 bytes, 42 tape blocks
	x source/xwindow/editor.c, 63143 bytes, 124 tape blocks
	x source/xwindow/editor.uil, 52392 bytes, 103 tape blocks
	x source/xwindow/hdisplay.c, 31941 bytes, 63 tape blocks
	x source/xwindow/kensaku.uil, 34661 bytes, 68 tape blocks
	x source/xwindow/kw_analize.c, 42507 bytes, 84 tape blocks
	x source/xwindow/kw_common.c, 47408 bytes, 93 tape blocks
	x source/xwindow/kw_domain.c, 30174 bytes, 59 tape blocks
	x source/xwindow/kw_extern.h, 19632 bytes, 39 tape blocks
	x source/xwindow/kw_init.c, 12564 bytes, 25 tape blocks
	x source/xwindow/kw_prot.h, 5155 bytes, 11 tape blocks
	x source/xwindow/kw_struct.h, 4343 bytes, 9 tape blocks
	x source/xwindow/kw_type.h, 43891 bytes, 86 tape blocks
	x source/xwindow/kwsh.uil, 114067 bytes, 223 tape blocks
	x source/xwindow/sh_keitaiso.c, 67291 bytes, 132 tape blocks
	x source/xwindow/sh_kensaku.c, 20047 bytes, 40 tape blocks
	x source/xwindow/sh_saikensaku.c, 13120 bytes, 26 tape blocks
	x source/xwindow/sheet.c, 51721 bytes, 102 tape blocks
	x source/xwindow/xkwic.c, 8162 bytes, 16 tape blocks
	x source/xwindow/xkwic.uil, 4978 bytes, 10 tape blocks
	x kwic_etc/esprc, 674 bytes, 2 tape blocks
	x kwic_etc/cesp-disp.el, 21068 bytes, 42 tape blocks
	x info/dir, 411 bytes, 1 tape blocks
	x info/database.hlp, 60575 bytes, 119 tape blocks
	x info/keyword.hlp, 1969 bytes, 4 tape blocks
	x info/nemacsKwic.hlp, 41600 bytes, 82 tape blocks
	x info/summary.hlp, 10479 bytes, 21 tape blocks
	x info/xkwic.hlp, 16991 bytes, 34 tape blocks
	x info/install.hlp, 34342 bytes, 68 tape blocks
	x .kwic_files/yourei_constant, 3861 bytes, 8 tape blocks
	x .kwic_files/keyMacro.def, 477 bytes, 1 tape blocks
	x .kwic_files/keywordL.def, 5554 bytes, 11 tape blocks
	x .kwic_files/standard.dec, 2280 bytes, 5 tape blocks
	x .kwic_files/keywordG.def, 5554 bytes, 11 tape blocks
	x .kwic_files/original.dec, 675 bytes, 2 tape blocks
	x .kwic_files/DB_FILE2/0.sent, 13568 bytes, 27 tape blocks
	x .kwic_files/DB_FILE2/0.word, 13568 bytes, 27 tape blocks
	x .kwic_files/DB_FILE2/1.sent, 13568 bytes, 27 tape blocks
	x .kwic_files/DB_FILE2/1.word, 42368 bytes, 83 tape blocks
	x .kwic_files/DB_FILE2/2.sent, 13568 bytes, 27 tape blocks
	x .kwic_files/DB_FILE2/2.word, 23168 bytes, 46 tape blocks
	x .kwic_files/DB_FILE2/3.sent, 13568 bytes, 27 tape blocks
	x .kwic_files/DB_FILE2/3.word, 42368 bytes, 83 tape blocks
	x .kwic_files/DB_FILE2/4.sent, 13568 bytes, 27 tape blocks
	x .kwic_files/DB_FILE2/4.word, 42368 bytes, 83 tape blocks
	x .kwic_files/DB_FILE2/5.sent, 13568 bytes, 27 tape blocks
	x .kwic_files/DB_FILE2/5.word, 23168 bytes, 46 tape blocks
	x .kwic_files/DB_FILE2/6.sent, 13568 bytes, 27 tape blocks
	x .kwic_files/DB_FILE2/6.word, 51968 bytes, 102 tape blocks
	x .kwic_files/DB_SOURCE/dic.esp, 444 bytes, 1 tape blocks
	x .kwic_files/DB_SOURCE/dic1.esp, 22265 bytes, 44 tape blocks
	x .kwic_files/DB_SOURCE/dic10.esp, 7825 bytes, 16 tape blocks
	x .kwic_files/DB_SOURCE/dic2.esp, 23041 bytes, 46 tape blocks
	x .kwic_files/DB_SOURCE/dic3.esp, 23405 bytes, 46 tape blocks
	x .kwic_files/DB_SOURCE/dic4.esp, 23206 bytes, 46 tape blocks
	x .kwic_files/DB_SOURCE/dic5.esp, 23745 bytes, 47 tape blocks
	x .kwic_files/DB_SOURCE/dic6.esp, 24032 bytes, 47 tape blocks
	x .kwic_files/DB_SOURCE/dic7.esp, 23302 bytes, 46 tape blocks
	x .kwic_files/DB_SOURCE/dic8.esp, 23908 bytes, 47 tape blocks
	x .kwic_files/DB_SOURCE/dic9.esp, 24018 bytes, 47 tape blocks
	x .kwic_files/DB_SOURCE/dic_Findex.esp, 166 bytes, 1 tape blocks
	x .kwic_files/DB_SOURCE/dic_Findex1.esp, 27093 bytes, 53 tape blocks
	x .kwic_files/DB_SOURCE/dic_Findex2.esp, 25069 bytes, 49 tape blocks
	x .kwic_files/DB_SOURCE/dic_Findex3.esp, 24506 bytes, 48 tape blocks
	x .kwic_files/DB_SOURCE/dic_Findex4.esp, 11243 bytes, 22 tape blocks
	x .kwic_files/DB_SOURCE/dic_Findex5.esp, 27516 bytes, 54 tape blocks
	x .kwic_files/DB_SOURCE/dic_Findex6.esp, 24637 bytes, 49 tape blocks
	x .kwic_files/DB_SOURCE/dic_Findex7.esp, 24558 bytes, 48 tape blocks
	x .kwic_files/DB_SOURCE/dic_Findex8.esp, 6674 bytes, 14 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB.esp, 343 bytes, 1 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB1.esp, 22858 bytes, 45 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB10.esp, 16822 bytes, 33 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB11.esp, 15770 bytes, 31 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB12.esp, 15317 bytes, 30 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB13.esp, 14242 bytes, 28 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB14.esp, 14663 bytes, 29 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB15.esp, 14298 bytes, 28 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB16.esp, 13575 bytes, 27 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB17.esp, 14241 bytes, 28 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB18.esp, 13960 bytes, 28 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB19.esp, 13341 bytes, 27 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB2.esp, 19503 bytes, 39 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB20.esp, 13070 bytes, 26 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB21.esp, 12636 bytes, 25 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB22.esp, 12289 bytes, 25 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB23.esp, 11958 bytes, 24 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB24.esp, 11808 bytes, 24 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB25.esp, 8167 bytes, 16 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB3.esp, 19152 bytes, 38 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB4.esp, 17750 bytes, 35 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB5.esp, 18050 bytes, 36 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB6.esp, 17124 bytes, 34 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB7.esp, 17124 bytes, 34 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB8.esp, 16686 bytes, 33 tape blocks
	x .kwic_files/DB_SOURCE/dic_SBB9.esp, 16889 bytes, 33 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex.esp, 309 bytes, 1 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex1.esp, 23925 bytes, 47 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex10.esp, 26142 bytes, 52 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex11.esp, 22839 bytes, 45 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex12.esp, 22136 bytes, 44 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex13.esp, 22298 bytes, 44 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex14.esp, 23482 bytes, 46 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex15.esp, 22422 bytes, 44 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex16.esp, 22345 bytes, 44 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex17.esp, 22574 bytes, 45 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex18.esp, 22093 bytes, 44 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex19.esp, 19244 bytes, 38 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex2.esp, 23108 bytes, 46 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex3.esp, 23668 bytes, 47 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex5.esp, 23096 bytes, 46 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex6.esp, 23106 bytes, 46 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex7.esp, 22633 bytes, 45 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex8.esp, 22475 bytes, 44 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex9.esp, 23644 bytes, 47 tape blocks
	x .kwic_files/DB_SOURCE/dic_Tindex4.esp, 23503 bytes, 46 tape blocks
	x .kwic_files/feature_table.txt, 43034 bytes, 85 tape blocks
	x .comm_file/cat_dictionary.com, 2165 bytes, 5 tape blocks
	x .comm_file/database_convert.deb, 112 bytes, 1 tape blocks
	x .comm_file/declear.deb, 71 bytes, 1 tape blocks
	x .comm_file/kwic_install.com, 1975 bytes, 4 tape blocks
	x .comm_file/save_all_classes.com, 92 bytes, 1 tape blocks
	x .comm_file/setup.com, 209 bytes, 1 tape blocks
	x .xkwic_help.0, 3382 bytes, 7 tape blocks
	x .xkwic_help.1, 396 bytes, 1 tape blocks
	x .xkwic_help.2, 1502 bytes, 3 tape blocks
	x .xkwic_help.3, 1241 bytes, 3 tape blocks
	x .xkwic_help.4, 3161 bytes, 7 tape blocks
	x .xkwic_help.5, 402 bytes, 1 tape blocks
	x .xkwic_help.6, 1638 bytes, 4 tape blocks
	x .xkwic_help.7, 2604 bytes, 6 tape blocks
	x .xkwic_help.8, 1671 bytes, 4 tape blocks


(1) Replace '$CESP/emacs/cesp-disp.el' with 'kwic_etc/cesp-disp.el'. 

	ex)
	kwic@sparc[3]% cp kwic_etc/cesp-disp.el /usr/local/emulator/emacs/

(2) Copy 'esprc' to your $HOME.
	
	ex)
	kwic@sparc[4]% cp kwic_etc/esprc ~/

(3) Remove the file 
		'.cesppackage'
	from your $HOME.

	ex)
	kwic@sparc[5]% mv .cesppackage my_cesppackage

(4) replace the string "/home/kwic/" in the file
		'.kwic_files/yourei_constant'
	with your $HOME path name strings.

(5) Run CESP from nemacs. Confirm memory size by statistics command.

	ex)
	kwic@sparc[6]% nemacs -f run-CESP

===========================================================================
Current directory is /home/kwic/

       ======                                   ======   =======   =======
      //                                       //       //    //  //    //
     //     ----  ----  ----  ----  ----      /_____   (______   //____//
    //     /   / / / / / / / /   / /   /     //              // //
   (_____ (___/ / / / / / / (___/ /   /     (______   (_____// //

	CESP Emulator Version 3.114 [1992-Jan-30 17:36:08]  with X11r4/Kanji  
	Copyright (C) 1992 by  AI Language Research Institute  LTD.

CESP> deb

??- statistics.
=============================================================
                               Last Lap      Total Time      
-------------------------------------------------------------
 RUN TIME               =         0.000          0.000     
-------------------------------------------------------------
 Table/Stack/Area Used[Word]  Initial      Used   Percentage 
-------------------------------------------------------------
 Indirection Word Table =      20000       7734    38.67   
 Heap Pointer     Table =      50000       2793     5.59   
 Atom             Table =     160000      98466    61.54   
 Choice Point     Stack =     100000        262     0.26   
 Environment      Stack =      50000        218     0.44   
 Trail            Stack =    1000000       3114     0.31   
 Global           Stack =    2000000        865     0.04   
 Heap             Area  =    2000000     156468     7.82   
 Code             Area  =     500000     373004    74.60   
 FLI              Area  =      65536       3930     6.00   
=============================================================

??- 
===========================================================================

(6) Execute '.comm_file/kwic_install.com' to catalog source files. It
    takes 30 minutes.

	ex)
===========================================================================

??- exit.

CESP> lib
LIBMAN>@.comm_file/kwic_install 
LIBMAN>setenv $PACKAGE lax
Create a new package lax, OK?(y/n) y
Using environment of package lax (default:cesp): 
LIBMAN>setenv $CESPSRC .esp
LIBMAN>cat source/binary/str
/home/kwic/source/binary/str.esp...
  lax##str
lax##str end
...
...
LIBMAN>cat source/xinterface/xkwic
/home/kwic/source/xinterface/xkwic.esp...
  user##xkwic
user##xkwic end
LIBMAN>
LIBMAN>setenv $CESPSRC .mac
LIBMAN>setenv $PACKAGE db15s
Create a new package db15s, OK?(y/n) y
Using environment of package db15s (default:cesp): 
LIBMAN>cat source/engine/v2_restrict
/home/kwic/source/engine/v2_restrict.mac...
  db15s##restrict
db15s##restrict end
LIBMAN>
LIBMAN>exit
LIBMAN>setenv $PACKAGE user
setenv $PACKAGE user
LIBMAN>classes
Class Name>*
Class Name>
               class-name                      object    template   src-debug
 user##as_esp_parser                             -M         -M          -
 user##as_esp_unparser                           -M         -M          -
 user##ckwic_file                                -M         -M          -
 user##commandExec                               -M         -M          -
 user##common_macro                              -M         -M          -
 user##convert_string_and_term                   -M         -M          -
 user##dbD_Maker                                 -M         -M          -
 user##dbDeclTableCompiler                       -M         -M          -
 user##dbFile                                    -M         -M          -
 user##dbIF_Maker                                -M         -M          -
 user##dbOutput                                  -M         -M          -
 user##dbOutput_DIC                              -M         -M          -
 user##dbSearch_F                                -M         -M          -
 user##displayMode                               -M         -M          -
 user##displayOutput                             -M         -M          -
 user##emacsComm                                 -M         -M          -
 user##featureMerger                             -M         -M          -
 user##featureToFile                             -M         -M          -
 user##featureToTable                            -M         -M          -
 user##fncExArray                                -M         -M          -
 user##fncExArray_tap                            -M         -M          -
 user##fncExPool                                 -M         -M          -
 user##fncFunction                               -M         -M          -
 user##fncLabeledVector                          -M         -M          -
 user##fncListIndex                              -M         -M          -
 user##fncListIndex_SortingTap                   -M         -M          -
 user##fncListIndex_Tap                          -M         -M          -
 user##fncPool_monoIndexWithLock                 -M         -M          -
 user##fncPutfToString                           -M         -M          -
 user##fncRandomize                              -M         -M          -
 user##fncRightOf                                -M         -M          -
 user##fncSgett                                  -M         -M          -
 user##fncSort                                   -M         -M          -
 user##fncSputt                                  -M         -M          -
 user##inEditorMacro_Manager                     -M         -M          -
 user##inEditorMacro_Pool                        -M         -M          -
 user##inEditor_Operator                         -M         -M          -
 user##inEditor_Parser                           -M         -M          -
 user##inKeywordManipulator                      -M         -M          -
 user##inputCommand                              -M         -M          -
 user##inputKeyword                              -M         -M          -
 user##kwic_tool                                 -M         -M          -
 user##macro_dbFile                              -M         -M          -
 user##make_message                              -M         -M          -
 user##manipulateKeyword                         -M         -M          -
 user##manipulateMacro                           -M         -M          -
 user##manipulateOutputPool                      -M         -M          -
 user##my_string                                 -M         -M          -
 user##nemacsHelp                                -M         -M          -
 user##nemacsInput                               -M         -M          -
 user##nemacsKwic                                -M         -M          -
 user##nemacsOutput                              -M         -M          -
 user##nemacsSearch                              -M         -M          -
 user##outExPoolManipulator                      -M         -M          -
 user##pathname                                  -M         -M          -
 user##prologlist                                -M         -M          -
 user##restrict                                  -M         -M          -
 user##rsx_dic_macro                             -M         -M          -
 user##rsx_macro                                 -M         -M          -
 user##rsx_output_macro                          -M         -M          -
 user##rsx_polman_macro                          -M         -M          -
 user##rsx_pool_macro                            -M         -M          -
 user##rsx_search_macro                          -M         -M          -
 user##rsx_tool_macro                            -M         -M          -
 user##schManager                                -M         -M          -
 user##showTreeFeature                           -M         -M          -
 user##sysConstant                               -M         -M          -
 user##sysInformation                            -M         -M          -
 user##tagMerger                                 -M         -M          -
 user##tagToFile                                 -M         -M          -
 user##tagToTable                                -M         -M          -
 user##xkwic                                     -M         -M          -
 user##xkwic_exec                                -M         -M          -
 user##xkwic_operate                             -M         -M          -
 user##xkwic_receive                             -M         -M          -
 user##xkwic_search                              -M         -M          -

Total 76 class(es)

LIBMAN>

===========================================================================
	
(7) Catalog a declaration table. See sample '.comm_file/declear.deb'.

	ex)
===========================================================================
LIBMAN>exit

CESP> deb

??- :create(#dbDeclTableCompiler,C),:goal(C,".kwic_files/standard.dec").

C = $dbDeclTableCompiler
??- exit.

CESP> lib
LIBMAN>setenv $PACKAGE db15s
LIBMAN>classes
classes
Class Name>decl*
Class Name>
               class-name                      object    template   src-debug
 db15s##declaration_table                        -M         -M          -

Total 1 class(es)
LIBMAN>

===========================================================================

(8) Execute '.comm_files/cat_dictionary.com' to catalog dictionary files.

	ex)
===========================================================================
LIBMAN>@.comm_file/cat_dictionary 
@.comm_file/cat_dictionary
LIBMAN>setenv $PACKAGE db15s
LIBMAN>setenv $CESPSRC .esp
LIBMAN>cat
File Name>.kwic_files/DB_SOURCE/dic1
File Name>.kwic_files/DB_SOURCE/dic2
File Name>.kwic_files/DB_SOURCE/dic3
...
...
db15s##dic_Tindex17 end
db15s##dic_Tindex18 end
db15s##dic_Tindex19 end
db15s##dic_Tindex end
LIBMAN>exit
LIBMAN>setenv $PACKAGE db15s
LIBMAN>classes
Class Name>dic*
Class Name>
               class-name                      object    template   src-debug
 db15s##dic                                      -M         -M          -
 db15s##dic1                                     -M         -M          -
 db15s##dic10                                    -M         -M          -
 db15s##dic2                                     -M         -M          -
 db15s##dic3                                     -M         -M          -
 db15s##dic4                                     -M         -M          -
 db15s##dic5                                     -M         -M          -
 db15s##dic6                                     -M         -M          -
 db15s##dic7                                     -M         -M          -
 db15s##dic8                                     -M         -M          -
 db15s##dic9                                     -M         -M          -
 db15s##dic_Findex                               -M         -M          -
 db15s##dic_Findex1                              -M         -M          -
 db15s##dic_Findex2                              -M         -M          -
 db15s##dic_Findex3                              -M         -M          -
 db15s##dic_Findex4                              -M         -M          -
 db15s##dic_Findex5                              -M         -M          -
 db15s##dic_Findex6                              -M         -M          -
 db15s##dic_Findex7                              -M         -M          -
 db15s##dic_Findex8                              -M         -M          -
 db15s##dic_SBB                                  -M         -M          -
 db15s##dic_SBB1                                 -M         -M          -
 db15s##dic_SBB10                                -M         -M          -
 db15s##dic_SBB11                                -M         -M          -
 db15s##dic_SBB12                                -M         -M          -
 db15s##dic_SBB13                                -M         -M          -
 db15s##dic_SBB14                                -M         -M          -
 db15s##dic_SBB15                                -M         -M          -
 db15s##dic_SBB16                                -M         -M          -
 db15s##dic_SBB17                                -M         -M          -
 db15s##dic_SBB18                                -M         -M          -
 db15s##dic_SBB19                                -M         -M          -
 db15s##dic_SBB2                                 -M         -M          -
 db15s##dic_SBB20                                -M         -M          -
 db15s##dic_SBB21                                -M         -M          -
 db15s##dic_SBB22                                -M         -M          -
 db15s##dic_SBB23                                -M         -M          -
 db15s##dic_SBB24                                -M         -M          -
 db15s##dic_SBB25                                -M         -M          -
 db15s##dic_SBB3                                 -M         -M          -
 db15s##dic_SBB4                                 -M         -M          -
 db15s##dic_SBB5                                 -M         -M          -
 db15s##dic_SBB6                                 -M         -M          -
 db15s##dic_SBB7                                 -M         -M          -
 db15s##dic_SBB8                                 -M         -M          -
 db15s##dic_SBB9                                 -M         -M          -
 db15s##dic_Tindex                               -M         -M          -
 db15s##dic_Tindex1                              -M         -M          -
 db15s##dic_Tindex10                             -M         -M          -
 db15s##dic_Tindex11                             -M         -M          -
 db15s##dic_Tindex12                             -M         -M          -
 db15s##dic_Tindex13                             -M         -M          -
 db15s##dic_Tindex14                             -M         -M          -
 db15s##dic_Tindex15                             -M         -M          -
 db15s##dic_Tindex16                             -M         -M          -
 db15s##dic_Tindex17                             -M         -M          -
 db15s##dic_Tindex18                             -M         -M          -
 db15s##dic_Tindex19                             -M         -M          -
 db15s##dic_Tindex2                              -M         -M          -
 db15s##dic_Tindex3                              -M         -M          -
 db15s##dic_Tindex4                              -M         -M          -
 db15s##dic_Tindex5                              -M         -M          -
 db15s##dic_Tindex6                              -M         -M          -
 db15s##dic_Tindex7                              -M         -M          -
 db15s##dic_Tindex8                              -M         -M          -
 db15s##dic_Tindex9                              -M         -M          -

Total 66 class(es)
LIBMAN>

===========================================================================

(9) Execute '.comm_files/save_all_classes.com' to save all cataloged
    classes.

	ex)
===========================================================================
LIBMAN>@.comm_file/save_all_classes
LIBMAN>setenv $PACKAGE lax
LIBMAN>save
Class Name>*
Class Name>
 saving lax##binary_file...
 saving lax##binary_file_accessor...
...
...
 saving user##sysConstant...
 saving user##sysInformation...
 saving user##xkwic...
 saving user##xkwic_exec...
 saving user##xkwic_operate...
 saving user##xkwic_receive...
 saving user##xkwic_search...
LIBMAN>exit
LIBMAN>

===========================================================================

(10) Make a interface to X window system.

	ex)
===========================================================================
	kwic@sparc[7]% cd source/xwindow
	kwic@sparc[8]% make
	cc    -I. -I/usr/openware/include -DSYS_DIR -DNO_REGEX -DNO_TOUPPER -DSTRINGS_ALIGNED -DOPENWARE -c xkwic.c
	cc    -I. -I/usr/openware/include -DSYS_DIR -DNO_REGEX -DNO_TOUPPER -DSTRINGS_ALIGNED -DOPENWARE -c kw_domain.c
	cc    -I. -I/usr/openware/include -DSYS_DIR -DNO_REGEX -DNO_TOUPPER -DSTRINGS_ALIGNED -DOPENWARE -c kw_common.c
	cc    -I. -I/usr/openware/include -DSYS_DIR -DNO_REGEX -DNO_TOUPPER -DSTRINGS_ALIGNED -DOPENWARE -c sheet.c
	cc    -I. -I/usr/openware/include -DSYS_DIR -DNO_REGEX -DNO_TOUPPER -DSTRINGS_ALIGNED -DOPENWARE -c kw_init.c
	cc    -I. -I/usr/openware/include -DSYS_DIR -DNO_REGEX -DNO_TOUPPER -DSTRINGS_ALIGNED -DOPENWARE -c kw_analize.c
	cc    -I. -I/usr/openware/include -DSYS_DIR -DNO_REGEX -DNO_TOUPPER -DSTRINGS_ALIGNED -DOPENWARE -c sh_keitaiso.c
	cc    -I. -I/usr/openware/include -DSYS_DIR -DNO_REGEX -DNO_TOUPPER -DSTRINGS_ALIGNED -DOPENWARE -c display.c
	cc    -I. -I/usr/openware/include -DSYS_DIR -DNO_REGEX -DNO_TOUPPER -DSTRINGS_ALIGNED -DOPENWARE -c sh_kensaku.c
	cc    -I. -I/usr/openware/include -DSYS_DIR -DNO_REGEX -DNO_TOUPPER -DSTRINGS_ALIGNED -DOPENWARE -c sh_saikensaku.c
	cc    -I. -I/usr/openware/include -DSYS_DIR -DNO_REGEX -DNO_TOUPPER -DSTRINGS_ALIGNED -DOPENWARE -c editor.c
	cc    -I. -I/usr/openware/include -DSYS_DIR -DNO_REGEX -DNO_TOUPPER -DSTRINGS_ALIGNED -DOPENWARE -c ed_kensaku.c
	cc -o xkwic xkwic.o kw_domain.o kw_common.o sheet.o kw_init.o kw_analize.o sh_keitaiso.o  display.o sh_kensaku.o sh_saikensaku.o editor.o ed_kensaku.o    -L/usr/openware/lib -lUil -lMrm -lXm -lXim -lXt -lX11
	/usr/openware/bin/uil -appcode EUC -I/usr/openware/include/uil -o xkwic.uid xkwic.uil
	/usr/openware/bin/uil -appcode EUC -I/usr/openware/include/uil -o kwsh.uid kwsh.uil
	/usr/openware/bin/uil -appcode EUC -I/usr/openware/include/uil -o display.uid display.uil
	/usr/openware/bin/uil -appcode EUC -I/usr/openware/include/uil -o kensaku.uid kensaku.uil
	/usr/openware/bin/uil -appcode EUC -I/usr/openware/include/uil -o editor.uid editor.uil
	kwic@sparc[9]% 
===========================================================================

(11) You must run 'xkwic' (X window interface to cesp-kwic) from your $HOME.
   'xkwic' must be exist in your command search path.

(12) '*.uid' files which is refered from xkwic must be exist in
Openware/motif's UID search path.

	ex)
===========================================================================
	kwic@sparc[10]% pwd
	/home/kwic/source/xwindow
	kwic@sparc[11]% cp *.uid  ~/
	kwic@sparc[12]% 
===========================================================================

(13) See on-line info from nemacs.

	M-x info
