home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 3 / CDASC03.ISO / sorties / 1819 / chinese / cedit.doc < prev    next >
Text File  |  1993-04-01  |  3KB  |  70 lines

  1.  
  2. File List
  3. ---------
  4.  
  5. CEDIT.DOC      ;This file
  6. CEDIT.EXE      ;Chinese word processor
  7. CMAKE.COM      ;add or change Chinese character
  8. CEDIT.CHN      ;instruction file in Chinese
  9. CEDIT.DIN      ;Chinese character bitmap
  10.  
  11.  
  12. Documentation
  13. -------------
  14.  
  15. CEDIT is the main program. It is a mouse based Chinese word
  16. processor. Usually the easier the input method, the slower the
  17. speed. This maybe the easiest input method. Very good for casual
  18. users. It uses a very unique window input method combined with
  19. spell method. I use it to type things like Chinese mailing
  20. envelopes. To see the very short instruction files, just type
  21. "cedit CEDIT.CHN" to open the file CEDIT.CHN. Type ESC key to quit
  22. editing.
  23.  
  24. The main editor buffer is fixed at 48k (49152 bytes). This is not
  25. large for English, but more than enough for Chinese - holds about
  26. 28000 Chinese characters. Printing on HPJET (Deskjet, Laserjet) or
  27. EPSON (Epson, IBM) are supported. Since the program does not read
  28. Chinese character bitmap into memory, a disk cache program will
  29. speed the program display considerably. CGA display mode is the
  30. default mode. The program can be modified to operate in VGA mode
  31. though (you will have larger editing area but with smaller
  32. character display).
  33.  
  34. Delete-Under/Copy will put/append characters under cursor into a
  35. internal buffer (200 bytes). Paste can be used to retrieve them.
  36.  
  37. CMAKE is used to add or change any Chinese character. I have
  38. include the first set of the Chinese character (less than 3800). It
  39. is also easy to support the larger set (about 7800) if there is a
  40. need. The program should be very easy to use. After you add or
  41. change the Chinese character, it is used by CEDIT automatically.
  42.  
  43. CEDIT.DIN should be in the current directory for CEDIT and CMAKE to
  44. work.
  45.  
  46.  
  47. Coding Scheme
  48. -------------
  49.  
  50. You may notice that I use different method for Chinese character
  51. bitmap coding. I also use different method to code Chinese
  52. character into 2-bytes. I never understand the standard coding
  53. method (I find out by debug, but don't remember anymore, could
  54. comeone explain). My coding method is as the following:
  55.  
  56.   Encoding:
  57.     code = ((index & 0x1F80) << 1) | (index & 0x7F) | 0x4080
  58.   Decoding:
  59.     index = (code[0] & 0x7F) | ((code[1] & 0x3F) << 7)
  60.  
  61.  
  62. Final Words
  63. -----------
  64.  
  65. You may upload this program to any BBS in the original form. If you
  66. have any suggestions, let me know. Thanks.
  67.  
  68. Yijun Ding, 348 S.Pacific Ave, Pittsburgh PA 15224
  69. (412)361-0858, (412)624-0134(work)
  70.