home *** CD-ROM | disk | FTP | other *** search
/ Shareware Supreme Volume 6 #1 / swsii.zip / swsii / 470 / DNGDNG1.ZIP / DD.DOC < prev    next >
Text File  |  1992-12-12  |  11KB  |  269 lines

  1.  
  2.                  DingDang Chinese Word Processor
  3.      Copyright (C) 1992 by Yijun Ding.  All Rights Reserved.
  4.  
  5. DingDang Chinese Word Processor System is designed for IBM PC
  6. running MSDOS with a CGA, EGA, VGA or Hercules card. The complete
  7. system contains the following files:
  8.  
  9.  DD       DOC    This file - documentation in English
  10.  REGISTER DOC    How to register
  11. *DD       GB     Documentation in Chinese
  12.  DD       EXE    DingDang Program (main program)
  13.  GB2PS16  EXE    Print GB to PS printer (16x16 fonts)
  14. *GB2PS    EXE    Print GB to PS printer (24x24 fonts)
  15. *GB2HPJET EXE    Print GB to HP printer
  16. *GB2EPSON EXE    Print GB to Epson/IBM printer
  17.  GB2TEXT  EXE    Print GB to screen
  18. *FONTEDIT EXE    Edit 24x24 font file
  19. *SONG24   FON    24x24 song4 ti3 Chinese font
  20. *KAI24    FON    24x24 kai3 ti3
  21. *FANG24   FON    24x24 fang3 song4 ti3
  22. *HEI24    FON    24x24 hei1 ti3
  23. *FAN24    FON    24x24 fan2 ti3 
  24.  SONG16   FON    16x16 song4 ti3 Chinese font
  25. *FAN16    FON    16x16 fan2 ti3 (i.e. traditional characters)
  26.  PINYIN   GB     Pinyin refrence file
  27.  DD_OF    GB     Default often used character file used by DD
  28.  DD_LX    GB     Default lianxiang file used by DD
  29.  EXAMPLE  GB     Test file
  30.  YE       GB     Test file 
  31.  YE       PS     Ps file generated by "gb2ps ye.gb ye.ps"
  32.  
  33. Files started with '*' are not included in shareware package.
  34.  
  35.  
  36.                              EDITING
  37.  
  38. DD will edit file up to 64k in size. To edit a file called
  39. EXAMPLE.GB, type
  40.  
  41.    DD EXAMPLE.GB
  42. or
  43.    DD -fFAN16.FON EXAMPLE.GB  (if you use traditional characters)
  44.  
  45. Once you start the program, you shall see that the screen is
  46. divided into 4 areas by 4 horizontal lines.  Let us call these
  47. command-area, char-area, select-area, and edit-area. 
  48.  
  49. Suppose you want to type the Chinese character da4 (big).  First
  50. point the mouse to the letter D in the select-area, press and hold
  51. the button, and move it to the left or right until you see the
  52. character da4 appear in the char-area (you may also use ^E or ^F). 
  53. Then click the character da4.
  54.  
  55. After you click da4, you will see some characters displayed on the
  56. right side of the command-area. This is called lian2xiang3. If you
  57. want to type the Chinese character Jia1 (family), you may do so by
  58. click jia1 which should be on screen already.  You can add your
  59. lianxiang dictionary as you editing (see "Add" below).
  60.  
  61. The font dictionary included here contains 940 symbols + 3760
  62. frequently used characters arranged in pin1yin1 (phonetics) order
  63. + 3008 less frequently used ones arranged in bu4shou3 (strokes)
  64. order.  The rules of order are the same as in a typical Chinese
  65. dictionary.  If the character you need is not in the font file, you
  66. can make one (see "Mak" below).
  67.  
  68. You can also input Chinese characters by pin1yin1 method.  To
  69. toggle pin1yin1 mode, press the scroll-lock key.  Type the pin1yin1
  70. of a Chinese character following by digits 1 to 5 indicating the
  71. tone, for example, da4.  Then choose among characters with the same
  72. sound.  If there are many characters with the same sound, you need
  73. to press space-bar to see the next screen.  The pin1yin1 index
  74. build into the program is the same as the pinyin.gb file included.
  75.  
  76. Press scroll-lock key again will release pin1yin1 mode so that
  77. English can be typed directly.  
  78.  
  79. You may use arrow keys or click the mouse in the edit-area to
  80. position the cursor.  Other editing commands are listed in the
  81. command-area on screen.  To execute any of them, just click the
  82. mouse button on it, or type the keys indicated in parenthesis
  83. below.  For example, type ESC-key or ^B or click "Qui" to quit the
  84. program.
  85.  
  86. Sav: (^A) Save. Save changes to disk.
  87. Qui: (^B, ESC) Quit program. If you have made changes, you will be
  88.      asked if you want to save them.  ESC is the usual way to quit.
  89. Get: (^C). Get a Chinese character.
  90. Put: (^D). Put the character.
  91.      To copy a character already in your file, first click the
  92.      character to copy, type ^C.  The character will be displayed
  93.      on the last column of the command-area.  Now you can type ^D,
  94.      or click the character to copy it to the cursor position.
  95. Pre: (^E) Previous window. Show previous window in the char-area.
  96. Nex: (^F) Next window. Show next window in the char-area.
  97. Del: (^G, Delete) Delete the character under the cursor.
  98. Bck: (^H, Backspace) Delete the character before the cursor.
  99. Hom: (^I, Tab, Home) Go to the beginning of the file.
  100. End: (^J, End) Go to the end of the file.
  101. Pup: (^K, PageUp) Page up.
  102. Pdn: (^L, PageDown) Page down.
  103. Ret: (^M, Enter) The return key.
  104. Bst: (^N) Block start.
  105. Bnd: (^O) Block end.
  106. Bdl: (^P) Block delete.
  107. Bcp: (^Q) Block copy. 
  108.      Block start / end positions are shown in the first line on the
  109.      screen.  You must reset them each time before doing block
  110.      delete or block copy.
  111. Jmp: (^R) Jump. You will be asked to type a digit (1-9) which, when
  112.      multiplied by 10, gives the percentage of file to jump to. 
  113.      For example, type '5' to jump to the middle of the file.
  114. Sch: (^S) Search. You will be asked to click a Chinese character or
  115.      type an English letter to search starting from the current
  116.      cursor position.
  117. Oft: (^T) Often used character file.  When you click Oft, the first
  118.      16 characters in that file will be displayed on the right side
  119.      of the command-area.  You can input these characters to the
  120.      edit-area by clicking the character just like in the char-
  121.      area.  When you click Oft again, the next 16 characters will
  122.      be loaded, and so on.  
  123. Hpj: (^U) Print on HP compatible printer.
  124. Eps: (^V) Print on Epson/IBM compatible printer.
  125. Mak: (^W) Make or edit a character in the current font file. You
  126.      should save the original copy for backup purposes.
  127. Add: (^X) Add word to lianxiang dictionary.  Note that each
  128.      character can have maximum of 16 lianxiang characters.
  129.  
  130. The often-used character file is in DD_OF.GB.  I sometime use this
  131. feature to copy from one file to another file with 
  132.  
  133.   DD -oFILE1.GB FILE2.GB
  134.  
  135. The lianxiang is in file DD_LX.GB.  Each line should has 2-17
  136. characters.  The characters in the first column is sorted by pinyin
  137. to ensure uniqueness. You can edit this file with DD.
  138.  
  139. A disk cache program of 300k or larger will increase the speed
  140. considerably.  
  141.  
  142. You should load the mouse driver (usually MOUSE.COM in
  143. AUTOEXEC.BAT, or MOUSE.SYS in CONFIG.SYS).  If you don't have a
  144. mouse, then DO NOT load the driver.  You may input Chinese
  145. character by using ^E, ^F, ^Left-arrow, ^Right-arrow and ^End.
  146.  
  147.  
  148.                       PRINTING (POSTSCRIPT)
  149.  
  150. GB2PS can print GB coded file to printer or disk.  GB2PS16 is the
  151. same as GB2PS except that it uses 16x16 instead of 24x24 Chinese
  152. fonts.  The following are some examples of using GB2PS:
  153.  
  154. gb2ps ye.gb ye.ps   ;Generate ye.ps postscript file
  155. gb2ps ye.gb prn     ;Print to the postscript printer
  156. gb2ps -f ye.gb      ;Print but ignore formate statement in files
  157. gb2ps -e4 cm.gb     ;Print the first 4 pages of cm.gb
  158.  
  159. You format your file by insert format statements inside your file. 
  160. The format statements must be included inside <> pair.  If you have
  161. used '<' in your file, you need to change it to '<<' so that it
  162. will not indicate the start of a format string.
  163. The units used in most format statement are simply called points. 
  164. 72 points is 1 inch.  A normal page is 8.5x11 inch or 612 points in
  165. width and 792 points in height.
  166.  
  167. The following format statements are implemented (but not all of
  168. them fully tested):
  169.  
  170. FS FK FF FH FA: Change font to song, kai, fangsong, hei, fan.
  171. Currently kai, fangsong and hei fonts are available only in 24x24
  172. fonts.
  173.  
  174. ML n, MR n, MT n, MB n: Set left, right, top or bottom margins to
  175. n points.  Defaults are 72 points from each sides.
  176.  
  177. OM x y, OX x, OR x y: Use OM to move the current printing position
  178. to x, y point position.  OX move x position only.  OR will move
  179. relative to the current point.
  180.  
  181. OG r: Change gray level from 0.0 (dark) to 1.0 (light).
  182.  
  183. OZ x y: Scale font. X = character width (default = 10), y = char
  184. height (default = 10).
  185.  
  186. OE: Eject page.
  187.  
  188. OC x, OL y, OP z: Character spacing, line spacing and paragraph
  189. spacing. X points will be added to the right of each character, y
  190. to the bottom of each line, z to the bottom of each paragraph.
  191.  
  192. The following are some format examples:
  193.  
  194. <FA OZ 12 12>: Change to fantizhi, and scale font to 12 points.
  195. <OG 0.5 OZ 72 72>: Light character of 1 inch in size.
  196. <OZ 10 5>: Flattered characters.
  197. <FS OZ 10 10>: Back to the default font and size.
  198. <OZ 10 10 OL 10>: Double spacing each line.
  199.  
  200.  
  201.                     PRINTING (NON-POSTSCRIPT)
  202.  
  203. The best way is to try to print with DD to see if your printer is
  204. compatible with the following driver programs.
  205.  
  206. GB2HPJET.EXE   --> Print to HP compatible printers
  207. GB2EPSON.EXE   --> Print to EPSON/IBM compatible printers
  208. GB2TEXT.EXE    --> Print to the screen.
  209.  
  210. These programs will allow you to control number of rows and columns
  211. on a page.  GB2HPJET have been tested on HPJET500, LASERJET
  212. II/III/IIIP printers.  GB2EPSON have been tested on EPSON LQ850,
  213. TOSHIBA P321 in IBM ProPrinter emulation mode and Panasonic KX-
  214. 91080i printers.  GB2HPJET and GB2EPSON will print to printer port
  215. 1 (LPT1) only.  You can use MSDOS MODE command to redirect to other
  216. ports if needed.  
  217. As an example, to print EXAMPLE.GB on HP printer on LPT1, and with
  218. a condensed print out using complex font, try:
  219.  
  220.      GB2HPJET -c120 -n54 -d150 -fFAN16 EXAMPLE.GB
  221.  
  222. GB2TEXT will print 5 characters per line on the screen and can be
  223. redirected to a file.  This can be useful for example, if you send
  224. a mail containing Chinese characters to your friend on mainframe.
  225.  
  226. Usage of all options will be displayed for any of the above
  227. programs if you type the program name and return without giving a
  228. file name.
  229.  
  230. These three programs does not recognized the format statements used
  231. by GB2PS.  Actually, GB2HPJET and GB2EPSON are outdated by GB2PS if
  232. you can get the ghostscript program in archive site 128.252.135.4
  233. (directory /mirrors/msdos/postscript).  This program will print
  234. postscript file on most non-postscript printers, and can even let
  235. you view them on screen.
  236.  
  237.                         LICENSE AGREEMENT
  238.  
  239. *    You are authorized to make backup copies of the software only. 
  240.      You are encouraged to upload the shareware version of the
  241.      software to any BBS boards in the original form.
  242.  
  243. *    DingDang programs are supplied without any kind of warranty. 
  244.      You are responsible to evaluate its usefulness in your
  245.      environment.
  246.  
  247.                              HISTORY
  248.  
  249. 1.0 Modified from CEDIT32 for shareware release. PS print.
  250. 1.1 Pinyin input.
  251. 1.2 Bugs fix in DD and PS.  Fontedit.
  252.  
  253.  
  254.                       TO CONTACT THE AUTHOR
  255.  
  256. Please send your suggestions, problems to:
  257.  
  258.   Yijun Ding, 348 S. Pacific Ave., Pittsburgh, PA 15224
  259.   Home phone: (412)361-0858    E-mail: ding@cs.pitt.edu
  260.  
  261. If I have moved in future, you can write to my wife:
  262.  
  263.   Xiu Ye, Department of Math, UALR, Little Rock, AR 72204
  264.  
  265. Check internet site 128.252.135.4 directory /mirrors/msdos/editor
  266. for latest shareware version.
  267.  
  268. Yijun, 12-12-92
  269.