home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / robot-pd / 21100.ZIP / 21100B.DSK / zde.doc < prev    next >
Text File  |  1998-02-03  |  49KB  |  1,049 lines

  1. ..You must print this file in "W" mode with page length set to 54
  2. ..(the default) so that page numbers correspond with the Table of 
  3. ..Contents and the Index.  Use the "L" option for a left margin 
  4. ..("L8" centers standard pitch on 8.5" wide paper), and the "" 
  5. ..option to number pages.
  6.  
  7.                                ZDE
  8.   
  9.                      Z-System Display Editor
  10.  
  11.                      Version 1.0   10 Mar 89
  12.  
  13.   ZDE and its documentation are copyright 1989 by Carson Wilson, 
  14.   all rights reserved.  They may not be circulated in any 
  15.   incomplete or modified form without written permission of the 
  16.   author.  Any commercial use of ZDE, defined as any situation 
  17.   where the duplicator receives revenue by duplicating or 
  18.   distributing ZDE by itself or in conjunction with any hardware 
  19.   or software product, is expressly prohibited unless authorized 
  20.   in writing by Carson Wilson.
  21.  
  22.  
  23. 1.  Introduction.
  24.  
  25.      ZDE, the Z-System Display Editor, is a small, fast, powerful 
  26. text editor based Eric Meyer's famous Video Display Editor (VDE).  
  27. ZDE retains all features of VDE, but removes defects and supports 
  28. special ZCPR and ZSDOS features such as named directories, 
  29. register variables, automatic disk relog, and file datestamp 
  30. support.  The install program has also been improved (see 
  31. ZDE10.NEW for a complete rundown of improvements).  At the same 
  32. time, I have tried to be conscientious about the balance between 
  33. features and memory usage.  If I added every new feature or 
  34. convenience that came to mind, we would soon have a luxurious 
  35. in-memory editor for 2 kilobyte files!  Much of the following is 
  36. adapted with permission from Eric Meyer's VDE.DOC.
  37.  
  38.      ZDE's native ASCII mode and definable macros make it an ideal 
  39. programmer's editor; its full formatting and printing features 
  40. also make it an efficient word processor.  Written entirely in Z80 
  41. assembler, ZDE is F-A-S-T.  There are no disk overlays, and all 
  42. editing is done in memory.  As a result, finding a string near the 
  43. end of a 50K file takes WordStar 3.3 about 14 seconds (8MHz Z80); 
  44. ZDE does it in under a second.  This is like moving through air 
  45. instead of molasses: you will find that you can do more of your 
  46. work on screen, and less on paper.
  47.  
  48. Among ZDE's features are:
  49.  
  50. Full-screen editing       User area and named directory support
  51. Block operations          Wordwrap and reformat
  52. File datestamp support    Macro programs
  53. Disk file operations      Margins, tabs, spacing
  54. Find and replace          WordStar compatibility
  55. Many print features       Undeletion
  56. Configurable options      Support for all CP/M terminals
  57.  
  58.  
  59. 2.  Installing ZDE.
  60.  
  61.      ZDE works with Z80 CP/M 2.2 and 3.0 and compatible systems.  
  62. It is ideal for portable computers with limited disk space.  There 
  63. are many user configurable options, and ZDE can be installed for 
  64. all CP/M terminals.  If you are running ZCPR, ZSDOS or Z3PLUS, ZDE 
  65. offers features not available with less advanced system software, 
  66. but these system enhancements are not required.
  67.  
  68.      To install ZDE, use the ZDENSTAL configuration program; see 
  69. the accompanying file ZDENSTAL.DOC.  You should install ZDE for 
  70. your computer's terminal at the earliest convenience, since this 
  71. greatly enhances performance.  There are many other installable 
  72. options; you will discover how you want everything set in the 
  73. course of using ZDE, so don't worry about going through all of it 
  74. at first.  For ease of reference, portions of this manual 
  75. referring to installable options and settings are enclosed in 
  76. square brackets ("[" and "]").
  77.  
  78.  
  79. 3.  Invoking ZDE.
  80.  
  81.      ZDE is invoked from your system's command prompt using the 
  82. following syntax ("ufn" means "unambiguous file name"):
  83.  
  84.      ZDE                 Begin working on a new file.
  85.  
  86.      ZDE ufn             Edit a new or already existing file.
  87.  
  88.      ZDE dir:ufn         Edit a new or existing file from another 
  89.                           directory.
  90.  
  91.      ZDE ufn m           Edit a file using mode "m."
  92.      ZDE ufn[m
  93.  
  94. "m" above can be either W, A, or N (see File Modes, below), and 
  95. "dir" can be either a drive, a user area, a drive followed by a 
  96. user area, or a ZCPR named directory.  For example:
  97.  
  98.      ZDE A4:MYFILE.TXT N      Begin working on MYFILE.TXT at user 
  99.                                area 4, drive A, in non-document 
  100.                                mode.
  101.  
  102.      The size of the file to be edited is limited by available 
  103. memory.  This will vary for different systems, but normally the 
  104. maximum size will be between 45 and 55k.  If a file is too large 
  105. to edit, you must break it up and edit the pieces separately.  
  106. Numerous CP/M utilities are available which will break up and 
  107. rejoin ASCII files.
  108.  
  109.  
  110. 4.  ZDE's Command Set.
  111.  
  112.      ZDE's commands consist of simple one- or two-key 
  113. combinations, easily found by the touch typist without 
  114. distraction.  Most commands are the same as WordStar's.  If you 
  115. have questions that this file can't answer, a WordStar manual may 
  116. be a useful reference.  But ZDE is not a WordStar "clone"; there 
  117. are significant differences, including an extended set of 
  118. ESC-commands for functions such as macros (see below).
  119.      Virtually complete compatibility with the WordStar command 
  120. (sub)set can be achieved UNLESS the keys ^J, ^K, and ^L are used 
  121. as arrow keys (as on many CP/M computers).  In this event ZDE 
  122. synonyms must be used: ESC- for the ^K- prefix; ESC-H for ^J; and 
  123. ^\ for ^L (see ZDENSTAL.DOC for terminal installation).
  124.  
  125. 4.1.  Command Summary.
  126.  
  127.      Below, the "^" character indicates use of the Ctrl key:  ^K = 
  128. Ctrl+K.  The ESC (^K), ^O, and ^Q prefixes require pressing two 
  129. keys in sequence: ^O C, for instance means press ^O, then C (or 
  130. ^C).  Any prefix may be canceled by typing ESC or Space.
  131.  
  132. 4.1.1.  Control Keys:  Single Keystroke Commands.
  133.  
  134.      ^J (ESC H) = display Help menus.
  135.  
  136.      CR = Carriage return (^M).  Marks a paragraph end.
  137.      BS = Backspace (^H).
  138.     TAB = Hard Tab mode: insert tab (^I).  Variable Tab mode: move 
  139.           to next stop.
  140.  
  141.      Arrow keys:  WordStar: ^E up, ^X down, ^S left, ^D right.
  142.                   Alternate: configurable, default ^K, ^J, ^H, ^L.
  143.  
  144.      ^F = move to start of next word right.
  145.      ^A = move to start of next word left.
  146.      ^R = scroll back one screen.
  147.      ^C = scroll forward one screen.
  148.      ^W = scroll back one line.
  149.      ^Z = scroll forward one line.
  150.  
  151.      ^G = delete character to the right of the cursor.
  152.     DEL = delete character to the left (configurable).
  153.      ^U = undelete a character.
  154.      ^T = delete word to right of cursor.
  155.      ^Y = delete current line.
  156.  
  157.      ^N = insert a carriage return (break line) at present 
  158.           position.
  159.      ^V = toggle INSERT mode on and off.
  160.      ^^ = toggle case (upper/lower) of character at cursor.
  161.      ^P = insert following control code in text.
  162.      ^B = reformat current paragraph.
  163.      ^L (^\) = repeat find/replace (repeats last ^QF or ^QA 
  164.                command).
  165.  
  166. 4.1.2.  File and Block Commands: first hit ^K (or ESC), then the 
  167.         key shown.
  168.  
  169.      ^K I = display file/memory Information message.
  170.  
  171.      ^K F = List files in disk directory.
  172.      ^K E = Erase a disk file.
  173.  
  174.      ^K L = Load a brand new file to begin editing.
  175.      ^K N = change the current file Name (affects Save, eXit).
  176.      ^K S = Save the current file to disk, and continue editing.
  177.      ^K D = Done.  Save the file, then load a new one.
  178.      ^K X = eXit: Save the file, then Quit to CP/M.
  179.      ^K Q = Quit to CP/M, abandoning current file.
  180.  
  181.      ^K R = Read a disk file into text at cursor position.
  182.      ^K P = Print the text (whole file or block).
  183.  
  184.      ^K B = mark the start of a Block.
  185.      ^K K = mark the end of a block.
  186.      ^K U = Unmark the block.
  187.      ^K Y = Delete the marked block.
  188.      ^K C = Copy the block text at present cursor position.
  189.      ^K V = moVe the block text to the present cursor position.
  190.      ^K W = Write the marked block to a disk file.
  191.  
  192. 4.1.3.  Escape and Macro Commands: first hit ESC, then the key 
  193.         shown.
  194.  
  195.      ESC arrows:  Left/Right (including ^S/D) = shift screen 
  196.                                                 horizontally
  197.                                                 by 32 columns.
  198.                   Up/Down (including ^E/X)    = shift screen 
  199.                                                 vertically
  200.                                                 by 1/4 screen.
  201.      ESC TAB     = move back to last tab stop.
  202.  
  203.      ESC M       = execute a Macro string of commands.
  204.      ESC #       = store macro on numeric key for later recall.
  205.      ESC 0..9    = use stored key.  (In macro mode: jump label.)
  206.      ESC !,=,~,+ = used in Macro programming (see below).
  207.      ESC ;       = brief pause, during Macro execution only.
  208.  
  209. 4.1.4.  Quick Commands: first hit ^Q, then the key shown.
  210.  
  211.      ^Q Arrows:  Left/Right (including ^S/D) = go to start or end 
  212.                                                of line.
  213.                  Up/Down (including ^E/X)    = go to top or bottom 
  214.                                                of screen.
  215.      ^Q R = move to top of file.
  216.      ^Q C = move to end of file.
  217.      ^Q I = move to specified page or line number.
  218.      ^Q B = move to marked block.
  219.      ^Q Q = move to next line in queue (ZCPR only).
  220.      ^Q Z = move to next place marker.
  221.  
  222.      ^Q F = find next occurrence of a string.
  223.      ^Q A = find and replace a string.
  224.  
  225.      ^Q Y = delete from cursor to end of current line.
  226.    ^Q DEL = delete from cursor to beginning of current line.
  227.      ^Q T = delete until specified character (caution--powerful!).
  228.      ^Q U = undelete a line.
  229.  
  230. 4.1.5.  Onscreen Commands: first hit ^O, then the key shown.
  231.  
  232.      ^O Arrow:  Up (including ^E) = make current line top of 
  233.                                     screen.
  234.  
  235.      ^O R = set right margin (column 1 turns off 
  236.             wordwrap/formatting).
  237.      ^O L = set left margin.
  238.      ^O X = toggle Margin Release on/off.
  239.      ^O C = center current line.
  240.      ^O F = align current line flush with the right margin.
  241.  
  242.      ^O Q = toggle header on/off.
  243.      ^O T = toggle ruler line on/off.
  244.      ^O D = toggle display of hard CRs on/off.
  245.  
  246.      ^O A = toggle Auto Indent on/off.
  247.      ^O S = toggle Double Spacing on/off.
  248.      ^O H = toggle hyphenation on/off.
  249.      ^O V = toggle tab mode Hard/Variable.
  250.      ^O I = set variable tab stop.
  251.      ^O N = clear variable tab stop.
  252.  
  253.      ^O P = set page length (0 turns off pagination).
  254.      ^O W = toggle windowing on/off (see below).
  255.      ^O Z = temporarily blank the entire screen.
  256.  
  257.  
  258. 5.  Command Descriptions.
  259.  
  260. 5.1.  Auto-Indent Mode (^O-A).
  261.  
  262.      Auto-Indent is useful for typing outlines, structured program 
  263. source code, and other text where the "left margin" varies.  
  264. Auto-Indent causes the RETURN key to act differently: If you are 
  265. entering new text, it will be indented to match the previous line. 
  266. If you are just moving through the file, the cursor advances past 
  267. any existing indentation.
  268.  
  269. 5.2.  Block Commands (^K-B, -K, -U, -R, -Y, -W, -C, -V, -P-B, 
  270.       ^Q-B).
  271.  
  272.      A "block" of text is normally delimited by two markers 
  273. [default: ^@] which remain in memory until reset or deleted.
  274.      ^K-B marks the beginning of the block; ^K-K marks its end.
  275. Markers are inserted in the text.  The two markers are identical;
  276. the first one present is the start.
  277.      ^K-U unmarks the block, removing any marker(s) set (block 
  278. markers can also be deleted individually as ordinary characters).  
  279. Markers are automatically removed as appropriate when ^K-B/-K are 
  280. used again.
  281.      ^K-R reads in the contents of a disk file, inserting it as a 
  282. block after the current cursor position.  You will be asked for 
  283. the name (and, optionally, mode) of the file.  Other block 
  284. operation commands all require a Block to be marked:
  285.      ^K-Y deletes the block (including markers).
  286.      ^K-W writes the block text to a disk file; you will be asked 
  287. for the filename (and optional mode).
  288.      ^K-V moves the Block text to the present cursor location, 
  289. deleting the original; ^K-C copies it and leaves the original.  
  290. Sometimes ZDE will run out of memory when moving blocks within a 
  291. large file.  If this occurs, just write the block to a file, 
  292. delete it, and read it back in as: "^K-W, ^K-Y, ^K-R".
  293.     ^K-P-B (^K-P with B option) prints the block text only.
  294.      The ^Q-B command, from wherever you are in the file, moves 
  295. the cursor to the Block start.
  296.  
  297. 5.3.  Cursor Movement (Arrow keys; ^F; ^A; ^Q-R, -C, -I).
  298.  
  299.      ZDE supports three sets of Arrow keys, which function 
  300. interchangeably.  The two built-in sets support the WordStar 
  301. "arrow key diamond" ^E, ^X, ^D, ^S, and the ANSI standard 3-byte 
  302. sequences (ESC-[-A, etc.).  The third set is user-configurable, 
  303. and must be installed with ZDENSTAL.  These keys move the cursor 
  304. up, down, right, and left respectively.  Note: if you install ^J, 
  305. ^K, and ^L as arrow keys, you must use ESC- commands for help, 
  306. file operations, and repeat find/replace, respectively.
  307.      Preceded by ^Q-, any arrow key (except ANSI) moves more 
  308. quickly: to the top or bottom of the screen, to the left or right 
  309. end of the line.
  310.      There are also two word movement commands: ^F moves right, to 
  311. the start of the next word; ^A moves left, to the start of the 
  312. previous (or current) word.  Both have maximum ranges of 255 
  313. characters.
  314.      For quickly covering large distances, the commands ^Q-R and 
  315. ^Q-C go all the way to the beginning and end of the file, 
  316. respectively, and ^Q-I goes to any specified page (or line, in 
  317. non-documents).
  318.  
  319. 5.4.  Deleting (^G, DEL, ^T, ^Y, ^Q-Y, -DEL, -T).
  320.  
  321.      You can delete text one CHARACTER at a time: ^G deletes to 
  322. the right of the cursor, and DEL to the left.  [If you have no DEL 
  323. key, you can install another equivalent.]  Note that the ordinary 
  324. BS (^H) does not normally delete.
  325.      ^T deletes an entire WORD to the right (up to 255 characters)
  326.      ^Y deletes the entire current LINE.  ^Q-Y deletes only the 
  327. part of the line to the right of the cursor; ^Q-DEL deletes the 
  328. part to the left.
  329.      ^Q-T deletes UP TO a specified character.  Example: "^Q-T." 
  330. deletes to the end of the sentence.  Special case: "^Q-T-CR" 
  331. deletes to the next HARD CR, the end of the paragraph.  This is a 
  332. powerful command, so use it with caution.
  333.      Accidentally deleted text can usually be recovered (see 
  334. Undelete, below).
  335.  
  336. 5.5.  Disk Operations (^K-F, -E).
  337.  
  338.      ^K-F gives an unsorted list of disk FILES: hit CR to list the 
  339. directory specified by the current file, or specify a drive, user, 
  340. or named directory (colon optional).  If there is not enough room 
  341. to fit all the files on the screen, you will see "..." at the end 
  342. to indicate that there were still more.  Press ESC or Space to 
  343. continue.
  344.      ^K-E will ERASE a single disk file to provide more room on 
  345. the disk (no wildcards allowed).
  346.  
  347. 5.6.  File Commands (^K-N, -S, -X, -Q, -D, -L).
  348.  
  349.      ^K-N NAMES your work or changes the current file mode.  You 
  350. can change the filename in the header before saving, and/or change 
  351. its mode to WordStar, ASCII, or Nondocument.  To set the file 
  352. mode, introduce the mode character with the left square bracket, 
  353. e.g., "Name: MYFILE.WS [W".
  354.      ^K-S SAVES your work: what's in memory is written to disk 
  355. under the file name in the header (you must have a file name; one 
  356. will be requested if necessary).  If that file already existed, a 
  357. backup (.BAK) file may be preserved [configurable; see 
  358. installation guide].  If you haven't changed the file, ZDE prompts 
  359. you to confirm that you want to resave it anyway.
  360.      There are several different commands for finishing up:
  361.      ^K-X saves your work and then EXITS to CP/M.
  362.      ^K-Q just QUITS.  If the file has been modified, ZDE asks if 
  363. you want to abandon the changes.
  364.      ^K-D (DONE) saves your work, then loads a new file to edit.
  365.      ^K-L quits the current file and LOADS a new one to begin 
  366. editing.
  367.  
  368. 5.7.  Find, Replace (^Q-F, -A, ^L, ^\).
  369.  
  370.       ^Q-F is the command to FIND a string.  The search normally 
  371. proceeds from the cursor position forward, and is case 
  372. (upper/lower) insensitive.  There are two options: "B" = search 
  373. backwards;  "C" = case sensitive search.  If used, the options 
  374. must be enclosed in slashes (eg, "/bc/") before the search string. 
  375. (If you want to search for a string beginning with a slash, use an 
  376. empty (//) option first.)  In addition, a ^P-Z [this can be 
  377. reconfigured] functions as a wildcard matching any single 
  378. character.  Other control codes, like ^M for newline, can be 
  379. included (with the ^P prefix where needed).  Examples:
  380.  
  381.      Find: /c/^MLABEL    matches "LABEL" at start of line only;
  382.      Find: 4^Z^Z01       matches "42201", "47401", etc;
  383.      Find: wordstar      matches "WORDSTAR", "WordStar" etc;
  384.      Find: ///88         matches "/88";
  385.      Find: /b/esc        looks backwards for "Esc", "esc", etc.
  386.  
  387.      ^Q-A is the FIND/REPLACE command.  It asks for a string to 
  388. find, and what to change it to (all options above apply to the 
  389. search string only).  The cursor will be placed on each occurrence 
  390. of the string successively, starting at the cursor location.  You 
  391. will see the prompt "Chg?" in the header.  To replace the old 
  392. string with the new one, press "Y"; anything else skips to the 
  393. next.  To change all further occurrences without being asked, 
  394. press "*".  ESC cancels at any time.  (Note: if ^Q-A is used in a 
  395. Macro, it will automatically assume "*" with no further input 
  396. required.)
  397.      ^L (or ^\, if ^L is an arrow key) repeats the last ^Q-F or 
  398. ^Q-A command.  For ^Q-A, you will be asked whether you want to 
  399. replace the found string.  For both, direction and case options 
  400. remain unchanged.
  401.  
  402. 5.8.  Header (^O-Q).
  403.  
  404.      ZDE normally gives you a header, or status line, at the top 
  405. of the screen.  However, if you like you can toggle the header 
  406. display on and off with the ^O-Q (QUIET) command.  [The header may 
  407. also be suppressed by default.]  This lets you see more file text. 
  408. It can also speed up operation on some slower terminals, as the 
  409. position doesn't have to be continually updated.
  410.  
  411.      A typical header line looks something like:
  412. ------------------------------------------------------------------
  413. B0/WORK:ZDE.DOC [A Pg 8    Ln 31   Cl 53   INS vt hy AI DS MR  ^Q_
  414. ------------------------------------------------------------------
  415.      "B0/WORK:ZDE.DOC [A" = Current directory, filename, and mode.
  416.      "Pg 8, etc" = Current position in file by page, line, column. 
  417. For "N"ondocuments, there is no page number display.  If 
  418. pagination (^O-P) is off, you will see "Pg 0" (document) or "OP" 
  419. (nondocument) here.
  420.      "INS" = Insert mode on (^V).
  421.      "vt" = Variable tabs on (^O-V).
  422.      "hy" = Hyphenation enabled. (^O-H)  Doesn't display in "N" 
  423.             mode.
  424.      "AI" = Auto indent mode on (^O-A).
  425.      "DS" = Double spacing (^O-S).
  426.      "MR" = Margins released (^O-X).  Doesn't display in "N" mode.
  427.      "^Q_": Prefix keys (and some prompts) display here.
  428.  
  429. 5.9.  Information (^K-I).
  430.  
  431.      ^KI displays an Information message with:
  432.  
  433.      - the ZDE version and date;
  434.      - whether (Y/N) the file has been changed since last saved;
  435.      - the current size of the file in bytes;
  436.      - the number of bytes of text memory used and free (1024 
  437.        bytes = 1K).
  438.  
  439.      You will note that the file uses about 20-25% less memory 
  440. than its actual length; this is due to ZDE's compression of text.  
  441. (Note: ZDE is limited to 16-bit arithmetic.  In the unlikely event 
  442. that file size should exceed 64K it will be shown mod 64K; just 
  443. add 65536.)
  444.      Block moves and copying are limited by the amount of free 
  445. memory.  Further, when there is less than 1K free, response time 
  446. can get very slow.
  447.  
  448. 5.10.  Insert Mode (^V).
  449.  
  450.      ^V toggles insertion on and off.  If insert is OFF, any text 
  451. to the right of the cursor is overwritten as you type.  If insert 
  452. is ON, what you type is inserted, and existing text moves to the 
  453. right.
  454.  
  455. 5.11.  Line Spacing (^O-S).
  456.  
  457.      The ^O-S command toggles between single and double line 
  458. spacing.  In double space mode, the following functions generate 
  459. double carriage returns:  CR (^M), Insert CR (^N), Reform (^B), 
  460. Wordwrap.  You can easily mix single and double spacing; the ^B 
  461. command can convert between the two.  Note: if you prefer to keep 
  462. your actual file single spaced, you can still get a double-spaced 
  463. printout by using the "D" option of the ^K-P command (see 
  464. Printing).
  465.  
  466. 5.12.  Margins (^O-R, -L, -X, -C, -F).
  467.  
  468.      ^O-R sets the RIGHT margin, enabling wordwrap, reformatting, 
  469. and centering.  A right margin of 1 disables all formatting 
  470. functions (same as in "N"ondocument mode).  At the prompt 
  471. "Column:" enter the column number (1-255), or just hit CR for the 
  472. current cursor column.  If the value entered conflicts with the 
  473. current left margin, ZDE sets the left margin to 1.
  474.      ^O-L sets the LEFT margin in an identical fashion; of course, 
  475. the value must always be less than the current right margin, 
  476. meaning it's best to set the right margin first.
  477.      ^O-X temporarily RELEASES the margins (resets them to 1), 
  478. allowing you to type outside them.  Use ^O-X again to restore the 
  479. margins.
  480.      ^O-C CENTERS the current line with respect to the margins, if 
  481. set.  ^O-F sets the current line FLUSH right, if the right margin 
  482. is set.
  483.  
  484. 5.13.  Pagination (^O-P).
  485.  
  486.      The ^O-P command sets the page length.  Enter a value from 0 
  487. to 255, or just hit CR to restore the default value [normally 54].
  488.      When the value is nonzero, it determines the page and line 
  489. shown in the document header ("Pg xx Ln xx"), and page-oriented 
  490. Print functions (formfeeds, headers, start/stop print) are enabled.
  491.      When the value is zero, pagination is off.  The header will 
  492. say "Pg 0 Ln xxxx", showing you the absolute line number in the 
  493. file.  Also, printing occurs with no page breaks or formfeeds.  
  494. This can be useful for printing small things right after each 
  495. other on the same sheet; or, in conjunction with the "*" print 
  496. option, can be used to print out multiple copies of index cards, 
  497. labels, etc.
  498.      ZDE never sends a formfeed before printing; begin your file 
  499. with a ^P-L character if you need one.  Otherwise, use of ^P-L is 
  500. not recommended in document files as it renders ZDE's page count 
  501. inaccurate.
  502.  
  503. 5.14.  Place Markers and Line Queue (^P-Z, ^Q-Z, ^Q-Q).
  504.  
  505.      You can set any number of temporary PLACE MARKERS in the text 
  506. with ^P-Z (they will appear as ^Z).  The ^Q-Z command moves the 
  507. cursor to the next place marker in the file, cycling back to the 
  508. top of the file if needed.  Place markers are NOT saved to disk.
  509.      ZCPR users may also store a QUEUE of up to eight line numbers 
  510. in their user-defined messages (a set of sixteen bytes of 
  511. protected memory "available for user definition").  The ^Q-Q 
  512. command will then cycle through the queue of line numbers, 
  513. returning to the first location when it reaches a value of zero.  
  514. A value greater than the number of lines in the file takes the 
  515. cursor to the end of the file.  The numbers are stored as two-byte 
  516. inverted hexadecimal words.  This facility is intended as an 
  517. interface between other programs and ZDE for such purposes as 
  518. storing the locations of compiler errors, however ZCPR users may 
  519. also find it useful to POKE these locations directly before 
  520. invoking ZDE.
  521.  
  522. 5.15.  Printer Codes (^P).
  523.  
  524.      Control codes for special effects in printing can be entered 
  525. in the text with the ^P prefix.  Thus pressing ^P-^H (or ^P-H) 
  526. embeds a ^H, etc.  Several standard codes are:
  527.  
  528.      ^H - backspace - overstrike previous character
  529.      ^I - hard (ASCII) tab - printers respond variously to this
  530.      ^L - formfeed  (Not recommended unless pagination (^O-P) 
  531.           disabled)
  532.  
  533.      The Block marker, normally ^@, cannot be embedded, and ^Z is 
  534. reserved for use as a place marker.  Control codes display on 
  535. screen as capital letters, highlighted if possible.  ZDE assumes 
  536. they are not characters, so they are not counted when reformatting 
  537. text.
  538.      For greater convenience, you can also arrange to have a 
  539. single ^P-code produce an entire string of bytes for commonly used 
  540. printing effects.  ZDE supports a subset of WordStar's printer 
  541. installation, seven definable codes: four toggles, four switches.  
  542. The Printer Installation in ZDENSTAL allows you to choose what 
  543. codes you want to use, and install the actual control sequences 
  544. your printer needs.  The defaults are:
  545.  
  546.      toggles:  ^B, ^D, ^S, ^Y
  547.      switches: ^Q, ^W, ^E, ^R
  548.  
  549.      In WordStar these toggles are Boldface, Doublestrike, 
  550. Underline, and Ribbon/Italic respectively, but you can make them 
  551. anything you like.  "Toggles" are good for features like underline 
  552. and bold that are turned on and off.  "Switches" are better for 
  553. multivalued parameters like character pitch.
  554.      Example: your printer uses ESC-U-01 (and 00) to turn 
  555. underlining on (and off).  If you install these codes with 
  556. ZDENSTAL:
  557.                    ^S toggle on:  (03)1B5501
  558.                      ...and off:  (03)1B5500
  559.  
  560. then all you have to type in ZDE to get underlined text is: 
  561. ^PSunderlined text^PS.
  562.  
  563. 5.16.  Printing (^K-P).
  564.  
  565.      The ^K-P command PRINTS all or part of the file in memory.  
  566. You will be asked for a set of "Options:", at which point you may 
  567. enter zero or more of the following, in any order:
  568.  
  569.      B      prints only the currently marked BLOCK.
  570.      P      PAUSES for your keystroke before each page (sheet 
  571.              feed).
  572.      D      DOUBLE SPACES all text to be printed.
  573.      Lnn    sets the printer LEFT MARGIN to nn columns [the 
  574.              default value can be set with ZDENSTAL].
  575.      ^      FILTERS control characters ^X to text "^X".
  576.      *nn    prints the job out nn TIMES (nn=1..255).
  577.      @nn    begins printing AT the nn'th page.
  578.      =nn    renumbers the pages beginning with nn.
  579.      #nn    prints only (up to) a TOTAL of nn pages.
  580.      "..."  uses the quoted string as a HEADER.  The string, 
  581.              followed immediately by the page number, will print 
  582.              at the top right of each page near the margin (maxi-
  583.              mum length is 50 characters; an empty string, "", 
  584.              gives numbered pages with no header text.)
  585.  
  586. The last four options (@,=,#,"") are NOT allowed if pagination is 
  587. disabled (^O-P), or if "B"lock print was chosen.  Examples:
  588.  
  589. Options:  L12P
  590.      - Print the file with a left margin of 12 columns, pausing 
  591.        before each page for you to press a key (other than Esc).
  592.  
  593. Options:  @6#2=14"Instructions, page "
  594.      - Print the sixth and seventh pages of the file, but numbered 
  595.        14 and 15, with the header shown.
  596.  
  597. Options:  BD^*2
  598.      - Print out the current marked Block twice, double spaced, 
  599.        with control filtering.
  600.  
  601.      In "W" mode, lines beginning with a "." will be regarded as 
  602. WordStar dot commands, and will neither print out nor affect the 
  603. page count (they have no other effect either).
  604.      You can abort printing at any time with ESC (this may take a 
  605. moment, or a few keystrokes, depending on your BIOS).
  606.  
  607. 5.17.  Ruler Line (^O-T).
  608.  
  609.      To help you align text properly, ^O-T toggles display of a 
  610. "ruler line" above the text on and off.
  611.      In each column you will see one of several symbols: "[]" 
  612. designate the current margins (if set); "-" indicates areas within 
  613. the current margins, "." outside them.  Also, tab stops are marked 
  614. by either "T" (Variable) or "I" (Hard).  Examples:
  615.  
  616. ("A" mode)      [-----T-----T-----------T--------------]........
  617. ("N" mode)      I.......I.......I.......I.......I.......I.......
  618.  
  619. 5.18.  Tabs (^I, ESC-TAB, ^O-V, ^O-I, ^O-N).
  620.  
  621.      There are two Tab modes: Variable and Hard, and the ^O-V 
  622. command toggles between them.  In Hard Tab mode the Tab key 
  623. produces an actual ^I (ASCII 09); whether this overwrites any 
  624. existing text depends on the Insert toggle.  Hard Tabs display by 
  625. default at fixed intervals of 8 screen columns [this is 
  626. configurable to any multiple of 2].
  627.      In Variable Tab mode, the Tab key moves the cursor to the 
  628. next variable tab stop (you can always get a Hard Tab by typing 
  629. ^P-I).  If Insert is on, spaces are inserted up to the next tab 
  630. stop.  Otherwise, existing text is skipped over, but spaces are 
  631. still added at the end of a line as needed.  Up to eight tab stops 
  632. may be set with ^O-I and cleared with ^O-N; the defaults are in 
  633. columns 6, 11, 16, and 21 [these are configurable].  At the 
  634. prompt, enter the column number desired, or hit RETURN for the 
  635. cursor column.
  636.      The ^O-I command also accepts two multiple-set inputs: "@nn" 
  637. sets tab stops every "nn" columns, while "#n1,n2,..." sets tabs at 
  638. columns "n1,n2, ...".  Both remove any pre-existing tabs, and 
  639. typing "@" or "#" alone simply clears all tabs.
  640.      The ESC-TAB command moves backward (left) to the previous 
  641. variable or hard tab stop.
  642.  
  643. 5.19.  Undelete (^U, ^Q-U).
  644.  
  645.      The undelete functions may be used (repeatedly if necessary) 
  646. to recover a reasonable amount of text deleted either by 
  647. overtyping, or with any of ZDE's delete commands, IF the cursor 
  648. has not yet been moved away.  ^U undeletes one character; ^Q-U 
  649. does a whole line.
  650.      Restrictions: undelete may not recover all of a Block delete 
  651. unless the cursor was in or near the block deleted, and it may 
  652. work imperfectly if DEL has been used several times in sequence.
  653.      Further use after all deleted text is recovered will produce 
  654. junk (usually duplicates of text above the cursor, which is 
  655. sometimes useful).
  656.  
  657. 5.20.  Upper/Lower Case (^^).
  658.  
  659.      The ^^ (ctl-caret) command changes the case of the character 
  660. at the cursor, if it was a letter, and moves the cursor one 
  661. character to the right.  Useful for capitalizing a string of 
  662. lowercase text, or vice versa.
  663.  
  664. 5.21.  Window and Screen (^W, ^Z, ESC-Arrows, ^O-Up, -W, -Z).
  665.  
  666.      ZDE supports several functions to move and alter the display 
  667. screen.
  668.      The ^W and ^Z commands scroll the screen up and down a line 
  669. at a time, without moving the cursor (unless necessary).
  670.      Preceded by ESC, any arrow (except ANSI) moves the screen 
  671. rather than the cursor:  the text as a whole shifts up/down 1/4 
  672. screen, or right/left 32 columns, while the cursor stays put (the 
  673. cursor must be past column 32 for horizontal shifts to work).
  674.      Preceded by ^O-, any UP arrow key (except ANSI) makes the 
  675. current text line the top of the screen.
  676.      The ^O-W command creates a WINDOW in the bottom half of the 
  677. screen, which retains a copy of the file text starting at the 
  678. current line, plus the current status and/or ruler line(s), if 
  679. any.  Editing continues normally in the top half of the screen.  
  680. This is useful for comparing different sections of text within a 
  681. file, or even between different files.  Typing ^O-W again removes 
  682. the Window.  Note: Windowing is only supported for screens of 15 
  683. or more lines.
  684.      The ^O-Z command temporarily zaps (blanks) the entire screen; 
  685. good for avoiding CRT burn-in, or just protecting work from prying 
  686. eyes or fingers.  Restore the screen by pressing ESC or SPACE.  
  687. Note: if Windowing was in effect, any text in the window will be 
  688. lost.
  689.  
  690. 5.22.  Wordwrap, Reformat (^B, ^O-D).
  691.  
  692.      WORDWRAP is automatic in Document ("W" or "A") modes whenever 
  693. the right margin is set.  Any text entered will be formatted to 
  694. the current margin settings as you type.  The end of a paragraph 
  695. is marked by a "HARD CR", which occurs when you press the RETURN 
  696. key (this is a CR immediately following a character of text).  In 
  697. contrast, when wordwrap occurs you get a "SOFT CR" (which is 
  698. actually a CR with a space before it).  You can change a hard CR 
  699. into a soft one, or vice versa, by deleting or adding a space at 
  700. the end of the line.  Hitting RETURN also hardens a soft CR.  The 
  701. distinction between hard and soft CRs is only important when 
  702. reformatting.
  703.      ^B REFORMATS from the line the cursor is on, to the end of 
  704. the paragraph, according to the current margin settings and line 
  705. spacing.  ^B may be used not only to reshape a paragraph after 
  706. editing, but also to change its margins and line spacing.  
  707. Indentation can be tricky if you have a left margin set.  If the 
  708. current line is indented relative to the next one, ZDE assumes 
  709. that amount as your paragraph indentation.
  710.      ^O-D toggles DISPLAY OF HARD CRs.  Hard CRs, otherwise 
  711. invisible, can be caused to display as a "<" character.  This can 
  712. be useful; some may find it distracting, so it turns off.
  713.  
  714.  
  715. 6.  Macros.
  716.  
  717. 6.1.  Macro (ESC-M).
  718.  
  719.      A MACRO is a string of ZDE commands and text that, once 
  720. defined, can be repeated automatically.  When you type ESC-M you 
  721. will be asked for the string, then a "Repeat count".  Usually you 
  722. will simply type a number for the repeat count (0-9, or "*" for 
  723. "indefinitely").  You will see the results as the macro executes, 
  724. and you can abort it at any time by pressing ESC.  If you are sure 
  725. you know what you're doing, you can speed up Macro execution by 
  726. specifying "Quiet" mode: press "Q" before the repeat count.  Only 
  727. the header, if present, will be updated as the Macro runs.
  728.      Macros also stop any time an error occurs; the error message 
  729. will be visible, and can be cleared by pressing ESC.  Many 
  730. commands (like Find or Reformat) are designed to generate errors 
  731. at the end of the file so that indefinite ("*") Macros containing 
  732. them halt there.  You may need to abort other indefinite Macros 
  733. manually.
  734.      ZDE turns INSERT OFF before running a macro, so that the same 
  735. key sequence will always have the same effect.  INSERT status is 
  736. restored when the macro terminates.
  737.      In order to include any input line editing characters (BS, 
  738. CR, etc.) in a macro, you must prefix them with ^P.  (NOTE:  To 
  739. make them easier to read and understand, Macro listings are given 
  740. here as they function, not as they are typed in.  ^P prefixes as 
  741. needed are NOT shown.  Keystrokes are separated by dashes or 
  742. commas for clarity, and "_" means a space or blank.) Here are some 
  743. sample Macros:
  744.  
  745.      1.  View a file by scrolling slowly through it:
  746.  
  747.                ESC-;, ^C
  748.  
  749.          This will pause, then scroll down.  (Use a repeat count 
  750.           of "*".)
  751.      
  752.      2.  Can you figure out what this one does?  
  753.  
  754.        ^QR, ^QF, (, CR, ^G, ^KB, ^QF, ), CR, ^G, ^KK, ^QC, CR, ^KV
  755.  
  756.          (Answer:  .elif eht fo dne eht ta meht fo tsil a gnikam 
  757.          elif a fo tuo sesehtnerap ni stnemmoc ekat lliw tI)
  758.  
  759.      ZDE Macros are very powerful tools, particularly given their 
  760. programmability and storage on function keys.
  761.  
  762. 6.2.  Macro Key (ESC-#, ESC-0..9).
  763.  
  764.      Up to 10 MACRO KEYS can be stored (0..9), by entering them 
  765. with the ESC-M command, then using ESC-# to save them.  They can 
  766. then be recalled and used simply by typing ESC-number.  Example: 
  767. typing ESC-#-0 will store the last Macro used in the ESC-0 command 
  768. so that it can be recalled and reused at any future time simply by 
  769. typing ESC-0.
  770.      Ordinarily, Macro Keys operate just like the original Macro, 
  771. asking for a "Repeat count" when executed.  If you want to 
  772. suppress this prompt (resulting in a "function key" that executes 
  773. just once) you can type "N" (for No repeat) before storing the key 
  774. number.  Example:  ESC-#-N-0 makes ESC-0 a no-repeat macro key.  
  775. If you also don't need to see the Macro work, and want to make it 
  776. faster, you can make it QUIET as well by typing "Q" instead (for 
  777. Quiet) before the key number.  Example: ESC-#-Q-0 stores ESC-0 as 
  778. a quiet no-repeat key sequence.
  779.      If the Macro (ESC-M) string is empty, using ESC-# will delete 
  780. a Macro Key.  Using a defined Key makes it the last macro used, so 
  781. it can be stored again in another key if desired.  Trying to use 
  782. an undefined Macro Key results in an error.
  783.      There are 500 bytes total available for all 10 keys, and a 
  784. 128 byte limit for any one Key (ZDE's own input line will only 
  785. accept 65 bytes, but ZDENSTAL can handle up to the full 128.)
  786.      USAGE HINT: If you want to re-use a macro without having to 
  787. type it in again, use ESC-# to assign it to a key, then call it up 
  788. by number.
  789.      Besides simply storing Macros, here are some useful Macro 
  790. Keys:
  791.  
  792.      1.  Storing different sets of margins (e.g., for quotes).  
  793.      For example,
  794.                ^OL, 12, CR, ^OR, 66, CR
  795.  
  796.      2.  Typing any frequently repeated phrase; "ESC-6" is much 
  797.      more convenient than "^PSWorld Wide Widgets Ltd. (N.A.)^PS".
  798.  
  799.      3.  Swap the two characters preceding the cursor:
  800.                ^S, ^S, ^G, ^D, ^U, ^U, ^D, ^G
  801.  
  802. [ZDENSTAL allows you to install defaults for all ten Macro Keys.  
  803. Thus a copy of ZDE can be customized for any task, such as the 
  804. formatting requirements of specialized writing or programming 
  805. languages.]
  806.  
  807. 6.3.  Macro Programming (ESC-0..9, ESC-!,=,~,+,;).
  808.  
  809.      ZDE has several commands which function only in a Macro 
  810. string, and give you control over the execution of a macro, 
  811. allowing true programming.
  812.      ESC-0..9 function as LABELS 0..9 when entered as part of a 
  813. Macro.  They have no effect, but can be "jumped" to by other 
  814. commands.
  815.      ESC-! followed by 0..9 is a JUMP instruction, and causes 
  816. macro execution to resume with the command following the label 
  817. ESC-0..9.  Example: ESC!2 jumps to label 2.  As two special cases, 
  818. ESC-![ jumps to the beginning of the Macro, and ESC-!] jumps to 
  819. the end (aborts).
  820.      ESC-= and ESC-~, followed by a character and then a label 
  821. 0..9 (or "[","]"), are CONDITIONAL JUMPS: they jump to the label 
  822. or the start or end of the macro IF the character at the cursor 
  823. position matches (ESC-=) or doesn't match (ESC-~) the character 
  824. specified.  Example: ESC~^M2 jumps to ESC-2 if the current 
  825. character is NOT a CR.
  826.      ESC-= and ESC-~, followed by a character and then ">" or "<", 
  827. are SEARCH LOOPS.  They will continue to move the cursor right 
  828. (">") or left ("<") AS LONG AS the character at the cursor matches 
  829. (ESC-=) or doesn't match (ESC-~) the specified character.  Both 
  830. search loops terminate automatically at the beginning or end of 
  831. the file.  Example: ESC=_> moves right as long as the current 
  832. character is a space.
  833.      ESC-+, followed by 0..9, CHAINS to another macro key, 
  834. allowing you to build macros strings longer than the storage limit 
  835. of any one key.  It does not "call" the key; there is no 
  836. returning.  Example: ESC+9 chains to Key 9.
  837.      ESC-; (semicolon) gives a brief pause, presumably so the user 
  838. can see what's happening on screen.
  839.      Macro programs are stored just like any other macro string 
  840. (usually with "N"o repeat count).  If you program in an endless 
  841. loop, you will at some point have to abort with ESC.  Don't make 
  842. macro programs "Q"uiet until you're sure they work.
  843.      Example: here is a good macro program (best stored as a Quiet 
  844. Key) to move the cursor to the start of the current sentence:
  845.  
  846.        ESC~.1, ^S, ESC1, ESC~.<, ESC2, ^D, ESC=_2, ESC=^M2
  847.  
  848. You could write this out in programmer's pseudo-code as:
  849.  
  850.          If not "." goto label1
  851.          Move left                 ;move left if already on period
  852. label1:  While not "." move Left   ;move left to previous period
  853. label2:  Move right                ;now move back right
  854.          If " " goto label2        ;  as long as you see a space
  855.          If "^M" goto label2       ;  or a Return
  856.          (all done)
  857.  
  858.  
  859. 7.  General Information.
  860.  
  861. 7.1.  Disk Space.
  862.  
  863.      ZDE isn't disk-bound; if you run out of disk space, just 
  864. insert another disk (always keep a blank FORMATTED disk around).  
  865. Alternatively, you can use the ESC-F and ESC-E commands to purge 
  866. unneeded files.  [If you have small disks, you can also install 
  867. ZDE not to preserve BAK files.]
  868.      Let ZDE's filesize limits encourage you to break work up into 
  869. files of 50K or less; larger files make inefficient use of floppy 
  870. disks.
  871.  
  872. 7.2.  Error Messages.
  873.  
  874.      Press ESC or Space to continue.  "Error" alone means the 
  875. command used just won't work in this situation.  (Example: a block 
  876. command was used with no block marked.)  More specific errors are:
  877.  
  878.   "Out of Memory" - the file, block, or key string won't fit in 
  879.                      RAM.
  880.     "Invalid Key" - an illegal command key sequence was pressed.
  881.       "I/O Error" - file not found, disk full, empty/invalid 
  882.                      drive, etc.
  883. "Cannot Reformat" - word too long, or margins invalid.
  884.       "Not Found" - the object of a search was not found.
  885.    "Syntax Error" - a macro programming command was misused.
  886.  
  887. 7.3.  File Modes.
  888.  
  889.      ZDE has three FILE MODES: "W"ordStar document, "A"SCII 
  890. document, and "N"on-document.  The basic difference concerns the 
  891. format of disk files.
  892.      In "W" mode, ZDE reads and writes WordStar-compatible files.  
  893. ZDE can edit a WordStar document, except that any right 
  894. justification will be lost.  WordStar can edit any ZDE "W" file in 
  895. Document mode.
  896.      In "A" or "N" mode, ZDE reads and writes text as standard 
  897. ASCII 7-bit characters, a universal format accepted by virtually 
  898. all software.  The only difference between "A" and "N" modes lies 
  899. in the default settings on loading a new file.  Typically "A" mode 
  900. is used for word processing, and "N" mode for programming and 
  901. other technical applications.
  902.  
  903. DEFAULTS FOR:                Margins      Tabs       Hard CR disp.
  904. ------------                 -------      ----       ------------   
  905. "A"SCII or "W"ordStar mode   ACTIVE       VARIABLE   [ON]
  906. "N"on-document               DISABLED     HARD       OFF
  907.  
  908.      The file mode option can be specified along with the filename 
  909. at any ZDE file function prompt, allowing you to mix WordStar and 
  910. ASCII disk files as needed (see Invoking ZDE, above).  You can 
  911. also change the current mode with the ^K-N function by entering a 
  912. new mode (e.g., "[W") with or without a filename.
  913.      [ZDENSTAL allows you to select a default file mode, to be 
  914. used when no mode is specified (originally this is "A").  Further, 
  915. you can specify two filetype masks for automatic mode selection 
  916. (e.g., all "ASM" files as "N" mode) to override that default.]
  917.      NOTE ON ASCII FILES - The "A"SCII-document file format used 
  918. since VDE 2.50, to allow accurate formatting and WordStar 
  919. compatibility, distinguishes between HARD and SOFT CRs (see 
  920. Wordwrap, above).  Consequently, if you edit an ASCII file created 
  921. by other software (including earlier versions of VDE), it may 
  922. appear to be full of hard CRs, making text impossible to reformat. 
  923. There are two easy ways to solve this problem: first, you can use 
  924. ^Q-A to find "^M"s and selectively replace them with " ^M".  
  925. Alternatively, the following Macro (best stored as a Quiet macro 
  926. Key) does a good job of "softening up" paragraphs for reformatting:
  927.  
  928.                ^QS,^X,ESC=_],ESC=CR],^S,^V_^V,^D,ESC![
  929.  
  930. 7.4.  Hyphenation (^O-H).
  931.  
  932.      ZDE can't introduce hyphens, but it does recognize them in 
  933. the text, treating them as a legitimate place to break a line, so 
  934. if you have a long word close to the margin, you can insert a 
  935. hyphen where you'd like the word to be broken.
  936.      Similarly, ZDE can't unhyphenate.  If it is trying to 
  937. reformat and finds a hyphen at the end of a line, it will pause to 
  938. ask you what to do with it.  You will see the prompt "Chg?" in the 
  939. header, and can:
  940.      Press "Y" to remove the hyphen and space, joining the word;
  941.            "N" to leave the hyphen, but still join the word;
  942.            "ESC" to leave both the hyphen and the space alone.
  943. Typically you would choose "Y" for "soft" hyphens that you 
  944. introduced to break up a word ("intro-duction"); "N" for hard 
  945. hyphens that are part of a word ("vis-a-vis"); and "ESC" for 
  946. punctuation (dashes "--", etc.).  After your choice, reformatting 
  947. will proceed automatically.
  948.      You can toggle hyphenation on and off with ^O-H.  If off, 
  949. hyphens are not treated differently from any other text character. 
  950. [The ^O-H default can be changed with ZDENSTAL.]
  951.  
  952. 7.5.  Interruption.
  953.  
  954.      If ZDE is interrupted by messages from other software (BIOS 
  955. error, resident utilities, etc.), it may lose control of the 
  956. screen.  The best way to return it to normal is by blanking and 
  957. restoring the screen (^O-Z, ESC).
  958.  
  959. 7.6.  Prompts.
  960.  
  961.      First, ZDE has several simple prompts requiring you to 
  962. confirm an action by typing "Y" or "N":
  963.  
  964.        "Abandon changes?" - warns the file you want to Quit has 
  965.                              been changed.
  966. "Unchanged; save anyway?" - reminds the file you want saved isn't 
  967.                              changed.
  968.        "Delete original?" - do you want to delete block copied 
  969.                              from 2nd file?
  970.                    "Chg?" - do you want to change this instance of 
  971.                              a string?
  972.  
  973. Then, there are a few special purpose prompts:
  974.  
  975.           "Repeat count:" - enter (optional "Q" and) repeat count 
  976.                              for Macro.
  977.             "Key number:" - enter (optional "N/Q" and) key number 
  978.                              for Key.
  979.                     "Rdy" - press any key to print next page (ESC 
  980.                              quits).
  981.  
  982. Finally, there are a variety of prompts for either numeric or 
  983. string input, like "Column:" or "Find string:".  You are expected 
  984. to type in a string (up to 65 characters).  The following control 
  985. keys operate:
  986.  
  987.          Correct mistake:     BS (^H), ^S, or Del
  988.          Erase entire entry:  ^X
  989.          Abort operation:     ^U
  990.  
  991. Note that to get any of these codes, or a CR, into the string 
  992. itself, you must precede it with ^P (this includes ^P).  Examples: 
  993. to find a line beginning with a "*" (find "^M,*") type
  994.  
  995.                ^Q-F, ^P-CR, *, CR.
  996.  
  997. Now to get this into a Macro with ESC-M, you would have to type
  998.  
  999.                ESC-M, ^Q-F, ^P-P, ^P-CR, *, ^P-CR, CR.
  1000.  
  1001. 7.7.  WordStar Compatibility.
  1002.  
  1003.      In most respects ZDE operates much like WordStar; one big 
  1004. difference is the absence of a "No-File" menu.  You are always in 
  1005. edit mode; use ^K-L to select a new file to edit.
  1006.      If the keys ^J, ^K, ^L are in use as CP/M arrow keys, you 
  1007. must use ZDE's original command set to substitute for them as 
  1008. follows:
  1009.  
  1010.                     Block prefix (^K-)... ESC-
  1011.                     Help menu (^J)....... ESC-H
  1012.                     Repeat find (^L)..... ^\
  1013.  
  1014.      If these keys are NOT installed as arrow keys, they retain 
  1015. their WordStar functions.  Then, of course, ZDE lacks some 
  1016. WordStar commands, and has some of its own.  Aside from these, 
  1017. there are the following differences in common commands:
  1018.  
  1019. COMMON USE         WORDSTAR 4    ZDE    ZDE NOTES
  1020. Hide block         ^K-H         ^K-U    Actually unmarks block.
  1021. Erase disk file    ^K-J         ^K-E
  1022. Set Place Mark     ^K-0..9      ^P-Z    Not individually numbered.
  1023. Go to Place Mark   ^Q-0..9      ^Q-P    Cyclic.
  1024.  
  1025. COMMON COMMAND     WORDSTAR 4 USE        ZDE USE
  1026.       ^^           Soften hard CR        Transpose upper/lowercase
  1027.       ^K-N         Column block mode     Rename current work
  1028.       ^O-D         Display ^P codes      Display hard CRs
  1029.       ^O-F         Ruler from text       Flush right
  1030.       ^O-P         Preview mode          Page length
  1031.       ^Q-U         Repeat align          Repeat undelete
  1032.  
  1033. Note that ZDE does not implement WordStar "dot commands" in text, 
  1034. though in "W" mode it avoids printing them.
  1035.  
  1036.  
  1037. 8.  Disclaimer.
  1038.  
  1039.      You use ZDE at your own risk.  The author accepts no 
  1040. liability for any damages resulting from its use or misuse.  
  1041. Direct problem reports and suggestions to the author; include a 
  1042. stamped return envelope for a reply if desired.  Thanks to the 
  1043. many users of ZDE whose feedback has led to improvements and bug 
  1044. fixes in the past.
  1045.  
  1046.      Carson Wilson              Sysop: Antelope Freeway RAS
  1047.      1359 W. Greenleaf                 312-764-5162, Chicago
  1048.      Chicago, IL 60626                 24 hours, 3-12-2400 baud 
  1049.