
 Tested on OpenBSD 3.3(i386), in console and X11(through GGI/SDL) mode. 
 Also on OpenBSD 3.4(macppc), tested on Apple iBook G3/900Mhz, framebuffer mode.

 KNOWN BUGS:  
  1) lrmi ported to OpenBSD failed. use direct VGA operation instead
  2) After you switch to another text terminal, you need to press a 
     few keys(ENTER) to 'activate' it? Also, old text screen is destroyed
	 after CCE exits(happens on NetBSD/OpenBSD/LynxOS)
  3) mouse is not working yet, no time to figure out wsmoused
  4) Keyboard mapping is not fully working on OpenBSD/macppc, Ctrl-Alt-* not 
     working?


 1. How to install CCE on OpenBSD

   ./configure 
   make
   make install
  
   640x480x16 colors works OK on x86 platform. On non-x86 platforms, framebuffer
   support will be turned on by default(only tested on macppc).
  
   /dev/xf86 can't be opened while X Windows is running(X needs it too),
   so CCE can't run in console mode while X is running. But you can run
   CCE in X through GGI or SDL:
     ./configure --enable-ggi  or --enable-sdl

   NOTE: lrmi is NOT WORKING on OpenBSD yet, so don't use the following!
  
   ./configure --enable-lrmi 
  
   LRMI works better than direct VGA operations
   needs to add /usr/lib/libi386.a (for routine i386_vm86)
   Please modify src/Makefile.am(then automake) or src/Makefile
  
   You need to have 'option VM86' in your kernel configuration
   (/sys/i386/conf/GENERIC) if you want to use LRMI.
  
   http://www.sourceforge.net/projects/lrmi 

 2. How to input Chinese in bash

   If you can't input Chinese in bash, put these lines to your
   /etc/profile or .profile

    bind 'set convert-meta off'
    bind 'set meta-flag on'
    bind 'set output-meta on'
 
  Due to some key conflicts, the Ctrl-Alt-0~9 keys have been changed to 
  Shift-Alt-0~9 (switching input methods). Use Alt-Period instead of
  Ctrl-Period to switch Chinese/English Punctuation.
 

 3. Mouse support

   man wsmoused   wsmouse daemon
   wsmoused [-2] [-p /dev/wsmouse] [-t auto]

   OpenBSD's wsmoused daemon is a slightly modified version of the moused
   daemon from the FreeBSD project.

 
  BTW: How to boot OpenBSD on Mac? 
   copy ofwboot to Mac's first HFS partition, go to OpenFirmware(Command-Options-O-F)
   when booting, run 'boot hd:,ofwboot /bsd'.
   
   When you install OpenBSD, you need to manually calculate those sector offsets for
   disklabel? No, you can use Np for the base of partition N(first block) and Nm for 
   length N megabyte.

