		                CUI install manual

										
1.Overview

This document explains how to install CUI, and its execution environment.Before
installing, read "2. Environment for installation" to confirm the system to be
used and set up the required environment.

The actual installation procedure is described in "3. Method for installation".

2.Environment for installation

Confirmed to run on following environments in execution and installation.

(1) hardware
        (a) machine
                Sun sparcStatiion 10
        (b) memory
                more than 32MB
        (c) harddisk
                more than 40MB

(2) software
        (a) OS
                SunOS 4.1.3
        (b) C compiler
                gcc-2.6.2
        (c) KLIC(KLIC is IFS)
                more than version1.7
        (d) environment of Japanese
                Needs following either gcc library or header file,
                when installs CUI that use knowlede source(rule,type)
                to include Japanese.
                
                * library
                        libfl.a
                * header file
                        euc.h

3. Method for installation

(0) installation of KLIC
    KLIC must be installation before installation of HELIC-II.

(1) Modification of Makefile

    Modifies following Variable Environment 'cui/src' in Makefile.

  (a) Modification of Flex

     (i) If there is flex library(libfl.a),must be modify as follows.

        Flex = exist

     (ii) If there is not flex library(libfl.a),must be modify as follows.

        Flex = nothing

  (b) Modification of LANG
      If there is flex library(libfl.a),does not modify as follows.

     (i) To use 2 byte characters for a rule and concept name, 
         must be modify as follows.

        LANG = japanese

         Note that the following header file is required in make;

        euc.h

     (ii) Does not use 2 byte characters for a rule and concept name, 
          must be modify as follows.
        
        LANG = english

(2) Execution of make

Changes current directory to 'cui/src',inputs as follows from shell.

        make 

When this command is executed,program is compiled and execution file is
generated under cui/bin.

(3) Modification of shell variable environment(path).

CUI and translater call translater program in translating rule and type.

This translater program is generated by executing 'make'.

Therefore,must be set file path of this translater program to 'path' that is
shell variable environment in .cshrc or .login.

For example,there is this translater program under ~/cui/bin,add this file
path to .cshrc or .login.

Before modification :
        set path = (~/)

After modification :
        set path = (~/ ~/cui/bin)

4.simple example

Simple example is as follows.

"+" means that upper character of "+" is user's inputs.

Current directory in this example is "cui/data".

%cd cui/data
 +++++++++++
!cui
 +++
HELIC-II>run cntrct.c
	 ++++++++++++

<<<<omission>>>>

ok
HELIC-II>start
	 +++++
History : start

<<<<omission>>>>

Status : defendant finish p0
Status : defendant finished p0
ok
HELIC-II>quit
         ++++





