;
                                    ZDE.COM                                   

             Size (recs) CRC   Version    Author/Latest Issue      Disk
              16k (125)  B001  1.0        Carson Wilson 3/89       Z3COM14

  1- Syntax  2- Installation  3- Command Summary  4- ZDE.HLP                  

   ZDE,  the Z-System Display Editor, is  a small, fast,  powerful text editor 
based  Eric  Meyer's  famous  Video Display Editor  (VDE).   ZDE  retains  all 
features  of VDE,  but removes  defects and  supports  special ZCPR  and ZSDOS 
features such as named directories,  register variables, automatic disk relog, 
and file datestamp support.  The install program has also been improved. 

   ZDE's native ASCII mode and  definable macros make it an ideal programmer's 
editor;  its full formatting  and printing features also  make it an efficient 
word processor.  Written entirely in Z80 assembler, ZDE is F-A-S-T.  There are 
no disk overlays, and all editing is done in memory.   
:1


   Syntax:  ZDE             --> Begin working on a new file.

            ZDE ufn         --> Edit a new or already existing file.

            ZDE dir:ufn     --> Edit a new or existing file from another 
                                directory.

            ZDE ufn m       --> Edit a file using mode "m."
            ZDE ufn[m

where "ufn" means "unambiguous file name",  "m" can be either W,  A, or N (see 
File Modes), and "dir" can be either a drive, a user area, a drive followed by
a user area, or a ZCPR named directory.

Example:    ZDE A4:MYFILE.TXT N     Begin working on MYFILE.TXT at user 
                                    area 4, drive A, in non-document mode



   The size of  the file to  be edited is  limited by available memory.   This 
will vary for different systems, but normally the maximum size will be between
45 and 55k.  If a file is too large to edit, you must break it up and edit the
pieces separately.   Numerous CP/M utilities are available which will break up 
and rejoin ASCII files.
:2


Installing ZDE:

   ZDE works with  Z80 CP/M 2. 2 and 3.0 and compatible systems.   It is ideal 
for  portable  computers  with  limited  disk  space.   There  are  many  user 
configurable options, and ZDE can be installed for all CP/M terminals.  If you
are running ZCPR, ZSDOS or Z3PLUS, ZDE offers features not available with less
advanced system software, but these system enhancements are not required.

   To install ZDE,  use the ZDENSTAL configuration program (see ZDENSTAL.DOC).
You should install ZDE for your computer's terminal as soon as possible, since
this greatly enhances performance.   There are many other installable options; 
you will discover how you  want everything set in the course of using ZDE,  so 
don't worry about going through  all of it  at first.   For ease of reference, 
portions of this help file referring  to installable options  and settings are 
enclosed in square brackets ("[" and "]").
:3

ZDE's Command Set:

   ZDE's commands consist of simple one- or two-key combinations, easily found 
by  the  touch typist  without distraction.   Most commands  are  the  same as 
WordStar's.   If you have questions that this file  can't  answer,  a WordStar 
manual  may be a useful reference.   But ZDE is not a WordStar "clone";  there 
are  significant differences,  including  an extended set  of ESC-commands for 
functions such as macros (see below).

   Virtually complete compatibility with the  WordStar command (sub)set can be 
achieved UNLESS the keys  ^J,  ^K, and  ^L are used as arrow keys  (as on many 
CP/M computers).   In this event ZDE synonyms  must be used:  ESC- for the ^K- 
prefix;  ESC- H  for  ^J;  and  ^\  for  ^L  (see  ZDENSTAL.DOC  for  terminal 
installation).

   In the Command Summary which follows,  the  "^" character indicates  use of 
the  Ctrl key:  ^K  = Ctrl+K.   The  ESC (^K),  ^O, and  ^Q  prefixes  require 
pressing two keys in sequence:  ^O C,  for instance means press ^O, then C (or 
^C).  Any prefix may be canceled by typing ESC or Space.



CONTROL KEYS:  single keystroke commands.

     ^J (ESC-H) = display Help menus.

     CR = Carriage return (^M).  Marks a paragraph end.
     BS = Backspace (^H).
    TAB = Hard Tab mode: insert tab (^I).  
          Variable Tab mode: move to next stop.

     Arrow keys:  WordStar: ^E up, ^X down, ^S left, ^D right.
                  Alternate: configurable, default ^K, ^J, ^H, ^L.

     ^F = move to start of next word right.
     ^A = move to start of next word left.
     ^R = scroll back one screen.
     ^C = scroll forward one screen.
     ^W = scroll back one line.
     ^Z = scroll forward one line.



CONTROL KEYS:  single keystroke commands.

     ^G = delete character to the right of the cursor.
    DEL = delete character to the left.  [Configurable alternate.]
     ^U = undelete a character.
     ^T = delete word to right of cursor.
     ^Y = delete current line.

     ^N = insert a carriage return (break line) at present position.
     ^V = toggle INSERT mode on and off.
     ^^ = toggle case (upper/lower) of character at cursor.
     ^P = insert following control code in text.
     ^B = reformat current paragraph.
     ^L (^\) = repeat find/replace (Repeats last ^QF or ^QA command.)



FILE AND BLOCK COMMANDS:  first hit ^K (or ESC), then the key shown.

     ^K I = display file/memory Information message.
     ^K F = List files in disk directory.
     ^K E = Erase a disk file.

     ^K L = Load a brand new file to begin editing.
     ^K N = change the current file Name (affects Save, eXit).
     ^K S = Save the current file to disk, and continue editing.
     ^K D = Done.  Save the file, then load a new one.
     ^K X = eXit: Save the file, then Quit to CP/M.
     ^K Q = Quit to CP/M, abandoning current file.
     ^K R = Read a disk file into text at cursor position.
     ^K P = Print the text (whole file or block).



FILE AND BLOCK COMMANDS:  first hit ^K (or ESC), then the key shown.

     ^K B = mark the start of a Block.
     ^K K = mark the end of a block.
     ^K U = Unmark the block.
     ^K Y = Delete the marked block.
     ^K C = Copy the block text at present cursor position.
     ^K V = moVe the block text to the present cursor position.
     ^K W = Write the marked block to a disk file.



ZDE/MACRO COMMANDS:  first hit ESC, then the key shown.

     ESC Arrows:  Left/Right (including ^S/D) = shift screen horizontally
                                                by 32 columns.
                  Up/Down (including ^E/X)    = shift screen vertically
                                                by 1/4 screen.
     ESC TAB = move back to last tab stop.

     ESC M       = execute a Macro string of commands.
     ESC #       = store macro on numeric key for later recall.
     ESC 0..9    = use stored key.  (In macro mode: jump label.)
     ESC !,=,~,+ = used in Macro programming (see below).
     ESC ;       = brief pause, during Macro execution only.


QUICK COMMANDS:  first hit ^Q, then the key shown.

     ^Q Arrows:  Left/Right (including ^S/D) = go to start or end of line.
                 Up/Down (including ^E/X) = go to top or bottom of screen.

     ^Q R = move to top of file.
     ^Q C = move to end of file.
     ^Q I = move to specified page or line number.
     ^Q B = move to block marker.
     ^Q Q = move to next line in queue (ZCPR only).
     ^Q Z = move to next place marker.

     ^Q F = find next occurrence of a string.
     ^Q A = find and replace a string.

     ^Q Y = delete from cursor to end of current line.
     ^Q DEL = delete from cursor to beginning of current line.
     ^Q T = delete until specified character (caution--powerful!).
     ^Q U = undelete a line.



ONSCREEN COMMANDS:  first hit ^O, then the key shown.

     ^O Arrow:  Up (including ^E) = make current line top of screen.

     ^O R = set right margin (column 1 turns off wordwrap/formatting).
     ^O L = set left margin.
     ^O X = toggle Margin Release on/off.
     ^O C = center current line.
     ^O F = align current line flush with the right margin.
     ^O Q = toggle header on/off.
     ^O T = toggle ruler line on/off.
     ^O D = toggle display of hard CRs on/off.
     ^O A = toggle Auto Indent on/off.



ONSCREEN COMMANDS:  first hit ^O, then the key shown.

     ^O S = toggle Double Spacing on/off.
     ^O H = toggle hyphenation on/off.
     ^O V = toggle tab mode Hard/Variable.
     ^O I = set variable tab stop.
     ^O N = clear variable tab stop.
     ^O P = set page length (0 turns off pagination).
     ^O W = toggle windowing on/off (see below).
     ^O Z = temporarily blank the entire screen.
:4 :zde