home *** CD-ROM | disk | FTP | other *** search
-
- DingDang Chinese Word Processor
- Copyright (C) 1992 by Yijun Ding. All Rights Reserved.
-
- DingDang Chinese Word Processor System is designed for IBM PC
- running MSDOS with a CGA, EGA, VGA or Hercules card. The complete
- system contains the following files:
-
- DD DOC This file - documentation in English
- REGISTER DOC How to register
- *DD GB Documentation in Chinese
- DD EXE DingDang Program (main program)
- GB2PS16 EXE Print GB to PS printer (16x16 fonts)
- *GB2PS EXE Print GB to PS printer (24x24 fonts)
- *GB2HPJET EXE Print GB to HP printer
- *GB2EPSON EXE Print GB to Epson/IBM printer
- GB2TEXT EXE Print GB to screen
- *FONTEDIT EXE Edit 24x24 font file
- *SONG24 FON 24x24 song4 ti3 Chinese font
- *KAI24 FON 24x24 kai3 ti3
- *FANG24 FON 24x24 fang3 song4 ti3
- *HEI24 FON 24x24 hei1 ti3
- *FAN24 FON 24x24 fan2 ti3
- SONG16 FON 16x16 song4 ti3 Chinese font
- *FAN16 FON 16x16 fan2 ti3 (i.e. traditional characters)
- PINYIN GB Pinyin refrence file
- DD_OF GB Default often used character file used by DD
- DD_LX GB Default lianxiang file used by DD
- EXAMPLE GB Test file
- YE GB Test file
- YE PS Ps file generated by "gb2ps ye.gb ye.ps"
-
- Files started with '*' are not included in shareware package.
-
-
- EDITING
-
- DD will edit file up to 64k in size. To edit a file called
- EXAMPLE.GB, type
-
- DD EXAMPLE.GB
- or
- DD -fFAN16.FON EXAMPLE.GB (if you use traditional characters)
-
- Once you start the program, you shall see that the screen is
- divided into 4 areas by 4 horizontal lines. Let us call these
- command-area, char-area, select-area, and edit-area.
-
- Suppose you want to type the Chinese character da4 (big). First
- point the mouse to the letter D in the select-area, press and hold
- the button, and move it to the left or right until you see the
- character da4 appear in the char-area (you may also use ^E or ^F).
- Then click the character da4.
-
- After you click da4, you will see some characters displayed on the
- right side of the command-area. This is called lian2xiang3. If you
- want to type the Chinese character Jia1 (family), you may do so by
- click jia1 which should be on screen already. You can add your
- lianxiang dictionary as you editing (see "Add" below).
-
- The font dictionary included here contains 940 symbols + 3760
- frequently used characters arranged in pin1yin1 (phonetics) order
- + 3008 less frequently used ones arranged in bu4shou3 (strokes)
- order. The rules of order are the same as in a typical Chinese
- dictionary. If the character you need is not in the font file, you
- can make one (see "Mak" below).
-
- You can also input Chinese characters by pin1yin1 method. To
- toggle pin1yin1 mode, press the scroll-lock key. Type the pin1yin1
- of a Chinese character following by digits 1 to 5 indicating the
- tone, for example, da4. Then choose among characters with the same
- sound. If there are many characters with the same sound, you need
- to press space-bar to see the next screen. The pin1yin1 index
- build into the program is the same as the pinyin.gb file included.
-
- Press scroll-lock key again will release pin1yin1 mode so that
- English can be typed directly.
-
- You may use arrow keys or click the mouse in the edit-area to
- position the cursor. Other editing commands are listed in the
- command-area on screen. To execute any of them, just click the
- mouse button on it, or type the keys indicated in parenthesis
- below. For example, type ESC-key or ^B or click "Qui" to quit the
- program.
-
- Sav: (^A) Save. Save changes to disk.
- Qui: (^B, ESC) Quit program. If you have made changes, you will be
- asked if you want to save them. ESC is the usual way to quit.
- Get: (^C). Get a Chinese character.
- Put: (^D). Put the character.
- To copy a character already in your file, first click the
- character to copy, type ^C. The character will be displayed
- on the last column of the command-area. Now you can type ^D,
- or click the character to copy it to the cursor position.
- Pre: (^E) Previous window. Show previous window in the char-area.
- Nex: (^F) Next window. Show next window in the char-area.
- Del: (^G, Delete) Delete the character under the cursor.
- Bck: (^H, Backspace) Delete the character before the cursor.
- Hom: (^I, Tab, Home) Go to the beginning of the file.
- End: (^J, End) Go to the end of the file.
- Pup: (^K, PageUp) Page up.
- Pdn: (^L, PageDown) Page down.
- Ret: (^M, Enter) The return key.
- Bst: (^N) Block start.
- Bnd: (^O) Block end.
- Bdl: (^P) Block delete.
- Bcp: (^Q) Block copy.
- Block start / end positions are shown in the first line on the
- screen. You must reset them each time before doing block
- delete or block copy.
- Jmp: (^R) Jump. You will be asked to type a digit (1-9) which, when
- multiplied by 10, gives the percentage of file to jump to.
- For example, type '5' to jump to the middle of the file.
- Sch: (^S) Search. You will be asked to click a Chinese character or
- type an English letter to search starting from the current
- cursor position.
- Oft: (^T) Often used character file. When you click Oft, the first
- 16 characters in that file will be displayed on the right side
- of the command-area. You can input these characters to the
- edit-area by clicking the character just like in the char-
- area. When you click Oft again, the next 16 characters will
- be loaded, and so on.
- Hpj: (^U) Print on HP compatible printer.
- Eps: (^V) Print on Epson/IBM compatible printer.
- Mak: (^W) Make or edit a character in the current font file. You
- should save the original copy for backup purposes.
- Add: (^X) Add word to lianxiang dictionary. Note that each
- character can have maximum of 16 lianxiang characters.
-
- The often-used character file is in DD_OF.GB. I sometime use this
- feature to copy from one file to another file with
-
- DD -oFILE1.GB FILE2.GB
-
- The lianxiang is in file DD_LX.GB. Each line should has 2-17
- characters. The characters in the first column is sorted by pinyin
- to ensure uniqueness. You can edit this file with DD.
-
- A disk cache program of 300k or larger will increase the speed
- considerably.
-
- You should load the mouse driver (usually MOUSE.COM in
- AUTOEXEC.BAT, or MOUSE.SYS in CONFIG.SYS). If you don't have a
- mouse, then DO NOT load the driver. You may input Chinese
- character by using ^E, ^F, ^Left-arrow, ^Right-arrow and ^End.
-
-
- PRINTING (POSTSCRIPT)
-
- GB2PS can print GB coded file to printer or disk. GB2PS16 is the
- same as GB2PS except that it uses 16x16 instead of 24x24 Chinese
- fonts. The following are some examples of using GB2PS:
-
- gb2ps ye.gb ye.ps ;Generate ye.ps postscript file
- gb2ps ye.gb prn ;Print to the postscript printer
- gb2ps -f ye.gb ;Print but ignore formate statement in files
- gb2ps -e4 cm.gb ;Print the first 4 pages of cm.gb
-
- You format your file by insert format statements inside your file.
- The format statements must be included inside <> pair. If you have
- used '<' in your file, you need to change it to '<<' so that it
- will not indicate the start of a format string.
- The units used in most format statement are simply called points.
- 72 points is 1 inch. A normal page is 8.5x11 inch or 612 points in
- width and 792 points in height.
-
- The following format statements are implemented (but not all of
- them fully tested):
-
- FS FK FF FH FA: Change font to song, kai, fangsong, hei, fan.
- Currently kai, fangsong and hei fonts are available only in 24x24
- fonts.
-
- ML n, MR n, MT n, MB n: Set left, right, top or bottom margins to
- n points. Defaults are 72 points from each sides.
-
- OM x y, OX x, OR x y: Use OM to move the current printing position
- to x, y point position. OX move x position only. OR will move
- relative to the current point.
-
- OG r: Change gray level from 0.0 (dark) to 1.0 (light).
-
- OZ x y: Scale font. X = character width (default = 10), y = char
- height (default = 10).
-
- OE: Eject page.
-
- OC x, OL y, OP z: Character spacing, line spacing and paragraph
- spacing. X points will be added to the right of each character, y
- to the bottom of each line, z to the bottom of each paragraph.
-
- The following are some format examples:
-
- <FA OZ 12 12>: Change to fantizhi, and scale font to 12 points.
- <OG 0.5 OZ 72 72>: Light character of 1 inch in size.
- <OZ 10 5>: Flattered characters.
- <FS OZ 10 10>: Back to the default font and size.
- <OZ 10 10 OL 10>: Double spacing each line.
-
-
- PRINTING (NON-POSTSCRIPT)
-
- The best way is to try to print with DD to see if your printer is
- compatible with the following driver programs.
-
- GB2HPJET.EXE --> Print to HP compatible printers
- GB2EPSON.EXE --> Print to EPSON/IBM compatible printers
- GB2TEXT.EXE --> Print to the screen.
-
- These programs will allow you to control number of rows and columns
- on a page. GB2HPJET have been tested on HPJET500, LASERJET
- II/III/IIIP printers. GB2EPSON have been tested on EPSON LQ850,
- TOSHIBA P321 in IBM ProPrinter emulation mode and Panasonic KX-
- 91080i printers. GB2HPJET and GB2EPSON will print to printer port
- 1 (LPT1) only. You can use MSDOS MODE command to redirect to other
- ports if needed.
- As an example, to print EXAMPLE.GB on HP printer on LPT1, and with
- a condensed print out using complex font, try:
-
- GB2HPJET -c120 -n54 -d150 -fFAN16 EXAMPLE.GB
-
- GB2TEXT will print 5 characters per line on the screen and can be
- redirected to a file. This can be useful for example, if you send
- a mail containing Chinese characters to your friend on mainframe.
-
- Usage of all options will be displayed for any of the above
- programs if you type the program name and return without giving a
- file name.
-
- These three programs does not recognized the format statements used
- by GB2PS. Actually, GB2HPJET and GB2EPSON are outdated by GB2PS if
- you can get the ghostscript program in archive site 128.252.135.4
- (directory /mirrors/msdos/postscript). This program will print
- postscript file on most non-postscript printers, and can even let
- you view them on screen.
-
- LICENSE AGREEMENT
-
- * You are authorized to make backup copies of the software only.
- You are encouraged to upload the shareware version of the
- software to any BBS boards in the original form.
-
- * DingDang programs are supplied without any kind of warranty.
- You are responsible to evaluate its usefulness in your
- environment.
-
- HISTORY
-
- 1.0 Modified from CEDIT32 for shareware release. PS print.
- 1.1 Pinyin input.
- 1.2 Bugs fix in DD and PS. Fontedit.
-
-
- TO CONTACT THE AUTHOR
-
- Please send your suggestions, problems to:
-
- Yijun Ding, 348 S. Pacific Ave., Pittsburgh, PA 15224
- Home phone: (412)361-0858 E-mail: ding@cs.pitt.edu
-
- If I have moved in future, you can write to my wife:
-
- Xiu Ye, Department of Math, UALR, Little Rock, AR 72204
-
- Check internet site 128.252.135.4 directory /mirrors/msdos/editor
- for latest shareware version.
-
- Yijun, 12-12-92
-