
  Tested on SCO OpenServer 5.0.6/5.0.7(x86) and Unixware 7.1.3(x86).

  For OpenServer 5.0.x:

  You need to install "SCO OpenServer Linker and Application Development 
  Libraries" and "GNU Development Tools" from SCO Open Server 5.0.7's CD, 
  then you'll have the necessary header files, libraries and compilers.
  Please add /usr/gnu/bin to your PATH, you may need to do a symbolic link
  from /usr/gnu/bin/gar to ar. For older OpenServer versions, you need to
  install gcc/make packages from Skunkware CD.

  For Unixware 7.1.x:

  You need to install GNU's binutils/gcc/make packages(I installed it from
  Skunkware 7.1.1 CD, http://ftp.iso.caldera.com/pub/skunkware). Unixware's
  default make and cc can't compile CCE. Please modify your PATH to make
  sure that GNU's gcc/make is used instead of Unixware's built-in cc/make.


  KNOWN PROBLEMS:
  1) Keyboard handling, no time to figure out SCO's scancode->ASCII handling,
     just use a simpler approach like screen/minicom, use a CTRL-xxx prefix
     then an ASCII command(exept Ctrl-Space).
  2) Unixware's table-line is not fully working yet(netcfg/scoadmin to test).
     Also UnixWare's reverse color displaying is not fully working.
  3) no mouse support.
  4) SDL/GGI doesn't support SCO Unix, so can't run in X Windows.


 1. How to install CCE on SCO OpenServer/Unixware?

   First unpack cce's source distribution:
   gzip -dc cce-xxx-dist.tgz | tar xvf -

   ./configure      (or with option '--prefix /usr', will install to /usr/bin)
   make
   make install

   If configure complains about missing gcc, try to add /usr/gnu/bin to PATH
        PATH=/usr/gnu/bin:$PATH; export PATH    (depends on your shell)

   CCE will use 640x480x16 colors mode. The keys are different in SCO Unix,
   all the commands use prefix CTRL-Q(can be changed in source code) except
   a few frequently-used ones.

    Ctrl-SPACE      switch between Chinese/English input (or: Ctrl-q SPACE)
    Ctrl-q 0~9      switch to input method 1-10
    Ctrl-q w        switch between full-width and half-width
    Ctrl-q .        switch between Chinese/English punctuation
    Ctrl-q a        Add a new window
    Ctrl-q x        eXit a window
    Ctrl-q n        go to Next window
    Ctrl-q p        go to Previous window
    Ctrl-q r        Repaint the whole window
    Ctrl-q l        enable/dissable LianXiang 
    Ctrl-q k        change the Keyboard map


  2. How to input Chinese in bash/vi

   If you can't input Chinese in bash, put these lines to your
   /etc/profile or ~/.profile(for login shell), or to ~/.bashrc.

    bind 'set convert-meta off'
    bind 'set meta-flag on'
    bind 'set output-meta on'


    If your vi can't display Chinese(instead, showing something like \xx\xx),
    try to change your locale settings (run 'locale' to get current ones):

    For OpenServer 5:
     LC_CTYPE=en_US.ISO8859-1; export LC_CTYPE     (depends on your shell)

    For UnixWare 7:
     LC_CTYPE=zh_CN.eucCN; export LC_CTYPE      (depends on your shell)

    You may also change LANG or LC_ALL variable.

