home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 3
/
CDASC03.ISO
/
sorties
/
1819
/
chinese
/
cedit.doc
< prev
next >
Wrap
Text File
|
1993-04-01
|
3KB
|
70 lines
File List
---------
CEDIT.DOC ;This file
CEDIT.EXE ;Chinese word processor
CMAKE.COM ;add or change Chinese character
CEDIT.CHN ;instruction file in Chinese
CEDIT.DIN ;Chinese character bitmap
Documentation
-------------
CEDIT is the main program. It is a mouse based Chinese word
processor. Usually the easier the input method, the slower the
speed. This maybe the easiest input method. Very good for casual
users. It uses a very unique window input method combined with
spell method. I use it to type things like Chinese mailing
envelopes. To see the very short instruction files, just type
"cedit CEDIT.CHN" to open the file CEDIT.CHN. Type ESC key to quit
editing.
The main editor buffer is fixed at 48k (49152 bytes). This is not
large for English, but more than enough for Chinese - holds about
28000 Chinese characters. Printing on HPJET (Deskjet, Laserjet) or
EPSON (Epson, IBM) are supported. Since the program does not read
Chinese character bitmap into memory, a disk cache program will
speed the program display considerably. CGA display mode is the
default mode. The program can be modified to operate in VGA mode
though (you will have larger editing area but with smaller
character display).
Delete-Under/Copy will put/append characters under cursor into a
internal buffer (200 bytes). Paste can be used to retrieve them.
CMAKE is used to add or change any Chinese character. I have
include the first set of the Chinese character (less than 3800). It
is also easy to support the larger set (about 7800) if there is a
need. The program should be very easy to use. After you add or
change the Chinese character, it is used by CEDIT automatically.
CEDIT.DIN should be in the current directory for CEDIT and CMAKE to
work.
Coding Scheme
-------------
You may notice that I use different method for Chinese character
bitmap coding. I also use different method to code Chinese
character into 2-bytes. I never understand the standard coding
method (I find out by debug, but don't remember anymore, could
comeone explain). My coding method is as the following:
Encoding:
code = ((index & 0x1F80) << 1) | (index & 0x7F) | 0x4080
Decoding:
index = (code[0] & 0x7F) | ((code[1] & 0x3F) << 7)
Final Words
-----------
You may upload this program to any BBS in the original form. If you
have any suggestions, let me know. Thanks.
Yijun Ding, 348 S.Pacific Ave, Pittsburgh PA 15224
(412)361-0858, (412)624-0134(work)