中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-15 01:35
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS软件下载 & 游戏分享 (下载室) » CCED Chinese Editing Software [Repost]
Printable Version  2,207 / 0
Floor1 ko20010214 Posted 2003-01-04 00:00
版主 Posts 1,628 Credits 7,296
CCED Chinese Editing Software

/

--------------------------------------------------------------------------------
   CCED is an integrated software package developed for the particular features of Chinese editing. It combines word processing, table drawing, and data processing into one. It not only overcomes the various defects caused by “half a Chinese character” in Sinicized English editing software, but also absorbs many of their quite practical editing functions, and incorporates all the advantages of EDLIN, PE, and Chinese WORDSTAR.
   In CCED, users can use the cursor keys to draw tables, or use the program’s own functions to generate tables automatically; for tables that have already been drawn, the column width and row spacing can be adjusted at any time; and data inside the table can also be calculated. When filling data into a table, using line-protection mode keeps the original table lines intact.
   The table lines use Chinese tab characters, so they can be printed on any printer capable of printing Chinese, and can also be used for programming table output in dBASEⅢ. In addition, CCED is suitable for any GB Chinese character support system and monitor.
   The convenient block operations in CCED let you cut and paste within a file or between files. Block printing can help you complete tasks such as printing New Year greeting cards according to an address book.
   CCED supports mixed Chinese and English typesetting. The typesetting result can align both the beginning and end of lines, and it also handles punctuation properly at the beginning and end of lines.
   Except for print control characters entered by the user (used to control font style and spacing), the system does not add any hidden characters to files edited with CCED, so it can also be used for editing source programs.
   CCED is small, uses little memory, is easy to learn and use, and can replace Chinese WORDSTAR and PE. It can also obtain data from Lotus and dBASE and output it in tables. The auxiliary program DBST can make report output from dBASE databases fully automatic.
   II. Installation and Startup
   Copy CCED.EXE to the root directory of a hard disk or floppy disk. Add PATH=\ to the path setting in AUTOEXEC.BAT. After that, typing CCED〈Enter〉 in any subdirectory will start CCED, and the screen will prompt for a file name. The file name may include a drive name, but may not include a path name.
   Enter the file name and press Enter. The status line at the bottom of the screen will respectively display the name of the file being edited, the line number (line number in the file) and column number where the cursor is located, and whether insert mode, line-protection mode, and draw-line mode are on.
   During installation, please refer to item 7 of the operating instructions to choose the screen display mode; refer to Appendix I to load the printer control characters. CCED.hlp is the help file. Only when CCED is run in a directory containing this file can help be obtained during editing.
   III. Operating Commands
   (Ctrl+J is the help key)
   1. Cursor movement keys: (when Draw OFF)
   → Move the cursor right by one character or Chinese character
   ← Move the cursor left by one character or Chinese character
   ↑ Move the cursor up by one line
   ↓ Move the cursor down by one line
   Ctrl+→ Move the screen window right by 40 columns
   Ctrl+← Move the screen window left by 40 columns
   PgUp Move the screen window up by one page
   PgDn Move the screen window down by one page
   Ctrl+PgUp Move the cursor to the beginning of the file
   Ctrl+PgDn Move the cursor to the end of the file
   Home Move the cursor to the beginning of the line
   End Move the cursor to the end of the line
   Ctrl+Home Move the cursor to the upper-left corner of the screen
   Ctrl+End Move the cursor to the lower-left corner of the screen
   Tab Move the cursor right by one tab stop (when table lines exist, move by one table column)
   Shift+Tab Move the cursor left by one tab stop (when table lines exist, move by one table column)
   Ctrl+V(U) Can be used to set (or cancel) tab stops
   Ctrl+G When the file content is longer than two screens, the file will scroll on the screen automatically. At this time, ↑ and ↓ can be used to change the scroll direction; the number keys can adjust the scroll speed; the space bar can stop or continue scrolling; letter keys or Enter can exit scrolling mode and return to editing mode.
   2. Status settings:
   Ins Toggle between insert mode and non-insert mode
   Ctrl+F Toggle between table-line protection mode (Lcp ON) and non-protection mode (Lcp OFF). (Under table-line protection mode Lcp ON, when filling data into a table, the table-line symbols will not be erased; when inserting or deleting characters, the table lines will not move with them.)
   Ctrl+D Toggle between draw-line mode ( Draw ON) and non-draw-line mode ( Draw OFF). (Under Draw on mode, the four cursor keys →←↑↓ can be used to draw lines; Ctrl+→ and Ctrl+← can erase horizontal lines, and PgUp and PgDn can erase vertical lines.)
   3. Delete and restore:
   Del Delete one character or Chinese character at the cursor.
   Backspace Delete one character or Chinese character before the cursor.
   F10 Delete the line where the cursor is located. (Can be restored with Shift+F10)
   Shift+F10 Restore the most recent line deleted by F10 and insert it above the current line.
   F9 Delete the half-line at and after the cursor position.
   Shift+F9 Erase the half-line before the cursor position.
   Ctrl+backspace Delete the half-line before the cursor position.
   4. Insert new lines:
   Ctrl+N Insert a blank line, or a blank table row, above the line where the cursor is located.
   Enter When Ins ON and Lcp OFF, a line break can be inserted at the cursor position. When Lcp ON, this key can be used for column-wise input in a table. When the cursor is at the end of the file, no matter where it is on the current line, a new line can be inserted at the end of the file.
   In other cases, it only moves the cursor to the beginning of the next line.
   5. Joining lines: (when Lcp OFF)
   When the cursor is at the end of a line, the Del key can be used to join the next line upward.
   When the cursor is at the beginning of a line, the Backspace key can be used to join the current line to the end of the previous line.
   When joining lines, if the line width exceeds 1500, line wrapping is done automatically.
   6. Line copying:
   F3 Take one character from the line above the cursor position or a nearby line (Note 1), and write it at the cursor position.
   Shift+F3 Starting from the cursor position, replace the latter half of the current line with the latter half of the line above or a nearby line (Note 1).
   Note 1: By default it is the line above; it can also be changed with Shift+F4 (value between -9 and 9)
   Shift+F4 Define from which preceding line F3 and Shift+F3 copy. (It only defines the source; actual copying still uses F3 and Shift+F3.
   Another function of Shift+F4 is to display the remaining space in the article editing area.
   The function of F10 Copying can be done by using F10 to delete and Shift+F10 for repeated restore.
   Also: line copying can also be done by line-block copying. (See block operations)
   7. Screen parameter selection:
   Shift+F7 Lets you choose the number of display lines, display mode, colors, and tab character type. The display mode for 11 lines of Chinese
  
   is mostly 3 for 6.25 lines of mixed Chinese and English, with a few being 18. Tab character type is generally 1, with some cases using 2. 2 is the 06-area tab character. The chosen result should allow both the screen and printer to output tables. Note: different types of tab characters cannot interactively achieve line protection, so the tab character type is best chosen once during installation. When selecting colors, choose the foreground, background, and border colors in order; please use the number keys to choose colors. Use other keys to confirm the selection. The color selection should make it possible to reverse-display the defined rectangular block in the text; in most cases, the 2nd color should be 0.
   8. Table making:
   Method 1 Use Shift+F8 to generate a regular table below the current line. After pressing this key, the screen asks for the width of each column, the number of lines that can be typed inside each row, and the total number of rows in the table. When entering each column width, if the table has only n columns, then press Enter at column n+1.
   Method 2 Use Ctrl+D to set the status to Draw ON, then draw lines with the cursor keys. Use Ctrl+→ and Ctrl+← to erase horizontal lines, and use PgUp and PgDn to erase vertical lines.
   F6 Expand the width of the current table column in the table (condition: the cursor must be inside this column)
   Shift+F6 Compress the width of the current table column in the table (same condition as above)
   Ctrl+N Insert a blank table row above the line where the cursor is located.
   F10 Delete the table row where the cursor is located. (Can be restored with Shift+F10) Horizontal table-line copying can be done by line copying and line-block copying. Column copying and moving can be done by rectangular-block copying.
   Ctrl+F Set the status to Lcp ON. Under table-line protection mode Lcp ON, filling data into a table will not erase the table-line symbols; inserting or deleting characters will not move the table lines. When Lcp ON, the Enter key does not move the cursor to the beginning of the next line, but is used for column input.
   Ctrl+X Center the contents of the current row and current column in the table. When filling characters in a table, the TAB key can be used:
   Tab Move the cursor right by one table column.
   Shitf+Tab Move the cursor left by one table column.
   Ctrl+V Set the cursor position as a TAB position.
   Ctrl+U Cancel the TAB position setting at the cursor.
   9. Text block operations: (text blocks include rectangular blocks and line blocks)
   F8 Define a line block (rectangular block), or cancel a line block (rectangular block). Move the cursor to one end of the block and press F8. Then move the cursor to the other end and press F8. The block definition is completed. A defined block can be used both as a rectangular block and as a line block. The mark of a line block is that the far-right column of the screen shows the symbol “〈”. As long as the line block exists, this cursor always exists; the mark of a rectangular block is reverse display, and any operation will make this display disappear. To show the rectangular block again, use F4.
   Also: rectangular blocks have fixed columns. Their contents change along with modifications to the content on the left side of the block.
   F8 is a repeat key. After a block is defined, pressing F8 again cancels the original definition.
   F7 Copy the defined line block and insert it below the current line.
   Ctrl+L Move the defined line block below the line where the cursor is located.
   Shift+F5 Delete the defined line block. Condition: the line block must be visible on the screen. After the line block is deleted, before a new text block is defined, F7 can be used to restore it below the current line.
   Ctrl+O Copy the defined rectangular block once and use it to overwrite the lower-right area of the cursor.
   Ctrl+Z Copy the defined rectangular block once and insert it at the cursor position.
   Ctrl+K Move the defined rectangular block to the cursor position in insert mode, making the content to the lower right of the cursor move right.
   Ctrl+B Find the beginning of the block.
   Ctrl+E Find the end of the block.
   F4 Display the defined rectangular block on the screen.
   10. Search and replace:
   F5 After pressing this key, enter a search command:
   Just press Enter --- abandon the search.
   Number + Enter ---- go to a certain line in the file.
   Letter + Enter ---- move the cursor to the end of the file.
   / string ----- search for that string
   C/string1/string2/--- after finding a string1, replace it with string2.
   C/string1/string2//-- replace all following string1 with string2.
   /------------continue searching
   Note: when searching for text, upper and lower case letters are not distinguished.
   11. Typesetting:
   Ctrl+A Perform typesetting on the defined line block. Before typesetting, first use F8 to define the range to be typeset as a line block; during typesetting, the typesetting width can be adjusted; after typesetting, the content is uniformly right-aligned and placed to the left. If you want to move the typeset content toward the middle, you can then press F6 to insert blank columns on the left (Shift+F6 can remove these blank columns).
   Ctrl+X Center the content of the current line according to the typesetting width.
   F6 Insert a blank column of one Chinese character into the defined line block at the cursor position.
   Shift+F6 Delete a blank column of one Chinese character inserted by F6.
   12. Calculation:
   Ctrl+S Sum a column of numbers in the defined line block starting from the column where the cursor is located, and write the result at the cursor position. Note: all data to be summed must be after the cursor column or begin from the cursor column, and between the cursor column and the numbers to be summed there must be no characters other than spaces.
   Ctrl+C Calculate an expression to the left of the cursor position. This expression may include the six operations + - * / and () as well as the ROUND() function. The ROUND() function must be placed at the outermost level of the expression. If this expression does not begin at the first column of the file, then there should be at least one space to the left of it. During calculation there are the following two cases:
   1. If the expression contains no variables, the result after calculation is inserted at the cursor position.
   2. If the expression is in a form such as: c8=round((c1+c3)*c4/8.2), and the line block is defined inside a table, then
  
   column-to-column calculation is performed within the table for the line-block range. For example: the 8th column of the table equals the sum of the 1st and 3rd columns multiplied by the value of the 4th column and divided by 8, with the result rounded to two decimal places.
   13. Save and exit:
   F1 Save and exit.
   Shift+F1 Same as F1
   F2 Save but do not exit. Editing can continue.
   Ctrl+Q Exit without saving.
   Shift+F2 Save under a new name or edit another file. At this time block exchange between two files can be achieved.
   Method for exchanging text blocks between two files:
   In the file currently being edited (file 1), define the line block to be copied or moved to file 2. (If the moved line block does not need to be retained in the original file, namely file 1, that line block can be deleted with Shift+F5; after this, F8 must not be pressed again.) Then press Shift+F2. Sometimes it asks whether to save file 1. In general, the user should save it. Otherwise, all modifications made in file 1 will become invalid; after file 1 has been saved (the line block is temporarily copied into CCED.BLK), load file 2. Move the cursor to where the line block needs to be inserted, press F7, and the line block from file 1 can be inserted below the current line. Before this, the user must not use F8 to define a new text block.
   By this method, part of the contents of one file can be saved into another file, for uses such as block printing with a laser printer.
   14. Printing:
   Before printing, first set the Chinese input method to ASCII state.
   Ctrl+T Print the defined line block.
   Block printing can help you complete tasks such as printing New Year greeting cards according to an address book. The method is: define the content of the greeting card as a line block; temporarily replace the name, address, etc. in the greeting card with ^1, ^3 (respectively indicating that the name and address are in the first and third columns of the address book table), and leave enough space; place the cursor on a certain line in the address book table and press Ctrl+T to print a greeting card for that person.
   Ctrl+P Print starting from the current line.
   During printing, the printing method can be chosen:
   1 -- Fixed-page-length printing. Printing parameters can be adjusted, including the number of text lines per page, left page margin, blank lines between pages, and whether page numbers are needed, etc. A value of 1 for blank lines between pages means pausing between pages during printing. Page numbers occupy two lines; when page numbers are present, blank lines between pages means the number of blank lines between the page number and the next page.
   2 -- Normal printing, meaning paging according to the page-break control symbols in the file, or no paging. Page-break control symbol: add two ^ symbols at the end of a line to indicate a page break. Both printing methods above can output to a file.
   15. Printer control characters:
   This editing software can accept the CHR(27) code, entered with the ESC key and displayed on the screen as ←. After that, font control characters and line-spacing / character-spacing control characters may follow. Which exact characters are used depends on the printer model; you may refer to the printer manual. For example, on a printer where Wordstar can control fonts, the font control codes are: ESC+I+A -- font type A
   ESC+I+B -- font type B (double width horizontally)
   ESC+I+C -- font type C (double height vertically)
   ESC+I+D -- font type D (double both horizontally and vertically)
   If the program CCED.EXE has been installed with CCSET.EXE for the printer and printer driver you use, then CCED.EXE users may control the printer with the following control symbols.
   ^A -- font type A ^L -- character spacing 1
   ^B -- font type B (double width horizontally) ^M -- character spacing 2
   ^C -- font type C (double height vertically) ^N -- character spacing 3
   ^D -- font type D (double both horizontally and vertically) ^O -- character spacing 4
   ^E -- English mode ^P -- line spacing 1
   ^F -- cancel overprint ^Q -- line spacing 2
   ^G -- overprint ^R -- line spacing 3
   ^H -- Chinese mode ^S -- line spacing 4
   ^J -- vertical line printing ^T -- close table spacing
   ^K -- cancel vertical line printing ^I -- compressed line spacing
   ^U -- unidirectional printing mode ^W --
   ^V -- bidirectional printing mode ^X --
   ^Y -- Chr$(28) ^Z -- Char$(26)
   Note: the ^ symbol here is not Ctrl, but the character entered with Shift+6.
   Appendix: How to use CCSET.EXE to install printer control characters
   Put CCED.EXE, CCSET.EXE, and CCEDSET.PRN in the same subdirectory, and run CCSET.EXE. A list of printers or printer drivers will appear on the screen; the user may choose from it. If there is nothing suitable, just press Enter. When the screen prompts you to choose A B C.., if the user does not want to modify the printer control character settings, just press Enter. Suppose you want to change the contents of ^A to:
   Chr(27)+"1"+chr(6), after entering A.
   Enter first code 27〈Enter〉 (more than one byte means ASCII value)
   Enter second code 1〈Enter〉 (one byte means one character)
   Enter third code 06〈Enter〉
   Enter fourth code 〈Enter〉 (indicates end)
   If DBST.EXE is also placed in this directory, then CCSET transfers all settings in CCED (including screen and printer) into DBST.EXE. Appendix II dBASE database report output
   Running the auxiliary program DBST.EXE under DOS can produce report output from dBASE databases. The runtime parameters are taken from the parameter table file DBST. If there is no such file in the current directory, then the runtime parameters are set by dialogue, and the parameter table file DBST is created automatically.
   Likewise, when the sample table file does not exist, the sample table is also created in dialogue mode.
   Example of parameter table file DBST ---------------
   addr
   /s=addr.s/o=addr.o/B=1/E=20/PL=33/PM=1/LM=7/ym=1/Y=1989/M=1/D=2 
   Example of sample table header -------------------
   Address Book
   Serial No. Name Contact Address Work Unit Home Address
   *0 *1 *4 *5
   *# *^
   --End-- &title &title &head &head &head &head &head &inter &field &spaceline &bottom &bottom &end
   Explanation of the contents of parameter table file DBST: --------
   Line 1: database file name (must not include subdirectory name)
   /S=sample table file name (must not include subdirectory name)
   /O=report output file name (must not include subdirectory name; default is printer)
   /B=starting record to print (default is 1)
   /E=ending record to print (default is the last record)
   /PL=number of printed lines per page (default is 58)
   /PM=number of blank lines between pages (default is 1; when this value is 1 it means pause between pages)
   /LM=number of blank columns on the left (default is 1)
   /YM=enable page number (default is 1)
   /Y/M/D report-printing date (default is the system time when printing the report)
   Explanation of keywords in the sample header: ---------
   &title --- title section
   &head ----- header section
   &inter ---- separator line between every two records (optional)
   &field ---- field position definition
   &spaceline --- separator line between two text lines when a field wraps (optional)
   &bottom --- table bottom section
   &end ---- table ending section (optional)
   All of the above keywords must be placed at the end of a line, and no other & may appear elsewhere in the line. &head and &inter may be used in the same line, but &head must come before &inter.
   The title section, header section, table bottom section, and table ending section may each consist of multiple lines, but each line must be clearly marked.
   *0 --- record number (optional)
   *n --- print position of the nth field in the database
   *# --- print position of the report-printing date (optional)
   *^ --- print position of the page number (optional)
   If you are not satisfied with the output report, you may modify the sample table file with CCED at any time, and then execute DBST.EXE again.
   Note: when running DBST.EXE in dBASE (through the RUN DBST command), you should first close the database being used.
   
   F1 Save and exit.
   Shift+F1 Same as F1.
   F2 Save but do not exit; editing can continue.
   Ctrl+Q Exit without saving.
   Shift+F2 Save under a new name or edit another file. At this time block exchange between two files can be achieved.
   F3 Take one character from the line above the cursor position or a nearby line (Note 1), and write it at the cursor position.
   Shift+F3 Starting from the cursor position, use the latter half of the line above or a nearby line (Note 1) to replace the latter half of the current line.
   Note 1: By default it is the line above; it can also be changed with Shift+F4 (value between -9 and 9)
   F4 Display the defined rectangular block on the screen.
   Shift+F4 Define from which preceding line F3 and Shift+F3 copy. (It only defines the source. Actual copying still uses F3 and Shift+F3. Another function of Shift+F4 is to display the remaining space in the article editing area.
   F5 After pressing this key, enter a search command:
   Shift+F5 Delete the defined line block
   F6 Expand the width of the current table column in the table (condition: the cursor must be inside this column)
   Shift+F6 Compress the width of the current table column in the table (same condition as above)
   F7 Copy the defined line block and insert it below the current line.
   Shift+F7 Lets you choose the number of display lines, display mode, colors, and tab character type.
   F8 Define a line block (rectangular block) or cancel a line block (rectangular block)
   Shift+F8 Generate a regular table below the current line
   F9 Delete the half-line at and after the cursor position.
   Shift+F9 Erase the half-line before the cursor position.
   F10 Delete the line where the cursor is located. (Can be restored with Shift+F10)
   Shift+f10 Restore the most recent line deleted by F10 and insert it above the current line.
  
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023