home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / editors / vde163.arj / VDE.REF < prev    next >
Text File  |  1992-06-05  |  75KB  |  1,149 lines

  1.  
  2.  
  3.                                    VDE.REF
  4.                                    -------
  5.                      Reference Manual for the VDE Editor:
  6.                           version 1.63 (05 Jun 1992)
  7.  
  8.                              (c)1987-92, E. Meyer
  9.  
  10.  
  11.  
  12. ================================  CONTENTS  ==================================
  13.  
  14.     (For QUICK START, SYNTAX, GENERAL INFORMATION etc. see the file VDE.DOC)
  15.  
  16.      6.  COMMAND REFERENCE, alphabetically by topic:
  17.             Auto format, Auto indent, Auto number, Auto save, Block commands, 
  18.          Data files, Deleting, Envelopes, Files, Find/replace, Foreign 
  19.          characters, Graphics, Header, Hyphenation, Information, Inserting, 
  20.          Justification, Line spacing, Margins, Matching files, Moving around, 
  21.          Multiple files, Page preview, Pagination, Paragraph indent, Place 
  22.          markers, Print styles/codes, Printer drivers, Printing, Proportional 
  23.          spacing, Reformat, Ruler line, Run command/shell, Save/exit, Screen 
  24.          controls, Screen size, Splitting files, Tabs, Time/date, Undelete, 
  25.          Upper/lower case, Windows.
  26.  
  27.      7. MACROS.  Explanation and examples of:
  28.             Autoexec macro, Function keys, Key redefinition files, Macro 
  29.          definition and use, Macro keys, Macro programming, Toggle control, 
  30.          Recording macros.
  31.  
  32.      8. REVIEWS / ABOUT THE AUTHOR.
  33.  
  34.     (For use of the VINST installation utility, see the file VINST.REF.)
  35.  
  36.  
  37. ==========================  6. COMMAND REFERENCE  ============================
  38.  
  39.  
  40. AUTO FORMAT (^OM) -  When on, continuously keeps the paragraph of text you are 
  41.     working on properly formatted (margins and spacing), even as you add to or 
  42.     delete from the line; format changes are implemented instantly.  When off, 
  43.     the manual ^B command can still be used (see REFORMAT).  [Default status 
  44.     can be chosen.]
  45.          Care must be taken in files with mixed formats, as the CURRENT 
  46.     settings of margins and spacing are always used.
  47.          Note that with Auto Format on, certain keystrokes may have additional 
  48.     (or no) effects, due to immediate reformatting afterward; and some 
  49.     operations like Find/Replace may be noticably slower.
  50.  
  51. AUTO INDENT (^OA) -  When on, wordwrap or the [Enter] key will cause the 
  52.     cursor, upon moving to the next line, to indent to match any existing 
  53.     indentation on that line (with insert OFF) or the previous line (with 
  54.     insert ON).  Thus any structured indentation you create is maintained.  
  55.     Useful as a temporary (paragraph) indent, or for outlines, program source 
  56.     code, etc.  Works in all modes, including nondocument.  Note: Indentation 
  57.     must be done with spaces or variable tabs, NOT with hard tabs.
  58.  
  59. AUTO NUMBER (^K#) -  VDE can automatically number items in a list.  Just type 
  60.     a "#" character where each number in sequence should go, for example:
  61.              #.  First item.
  62.              #.  Second item...
  63.     You can then mark the list off as a block (see BLOCK COMMANDS), and use 
  64.     the ^K# command: VDE will insert the numbers (1, 2, etc) in place of the 
  65.     "#" markers.  You will be asked for the starting number; the default is of 
  66.     course 1.  (Once this is done the markers are gone.  For frequently 
  67.     revised lists, leave the "#" markers in the file on disk; use ^K# just 
  68.     before printing, and do not save afterward.)  If auto format (^OM) is on, 
  69.     text will be realigned to compensate for varying length numbers.
  70.  
  71. AUTO SAVE (^KA) -  When on, VDE saves any changes you have made to disk 
  72.     automatically, at regular intervals.  This ensures that you don't lose too 
  73.     much work if you make a mistake, have a power outage, etc.  ^KA lets you 
  74.     set the interval (1 to 255 minutes), or turn this feature off entirely 
  75.     (0).  Just press [Enter] to restore the default, normally 0.  [This can be 
  76.     changed with VINST.]
  77.          Notes: Auto save does not actually occur during intervals when the 
  78.     keyboard is not in use, or while you are editing another file.  It cannot 
  79.     save untitled files.
  80.  
  81. BLOCK COMMANDS (^KB,^KK,^KH,^KZ,^KY,^KC,^KV,^KW; ^QB,^QK; ^KPB) -  A BLOCK of 
  82.     text is delimited by two markers, set by ^KB (beginning) and ^KK (end), 
  83.     which remain in place until reset elsewhere or deleted.  Alternatively, 
  84.     you can mark a block by moving the cursor to the start or end, holding 
  85.     down the Shift key, and using the PC arrow keys, [Home, End], or [PgUp,Dn] 
  86.     to move the cursor to the other end of the block, releasing the Shift key 
  87.     when finished.  In any case, ^KH unmarks the block, removing any marker(s) 
  88.     set.
  89.          The block move and print commands (^KV,^KPB) require a block to be 
  90.     fully marked before use.  To save keystrokes, the other block commands 
  91.     (see also ^K#,^K",AltC), if used when only one block marker is present, 
  92.     will mark the current cursor position as the other end of the block:
  93.          ^KY goes to and deletes the block (including markers).  (If you want 
  94.     to return the cursor to its position before the deletion, type ^QP.)
  95.          ^KV moves the block (including markers) to the present cursor 
  96.     location; ^KC simply copies it, leaving the original marked.  Any place 
  97.     markers present are not transferred.  (The cursor cannot be IN the block.)  
  98.     ^QP may be used to return to the former position of a moved block.
  99.          ^KZ "zooms into" a block: the rest of the text is hidden, and the 
  100.     block is temporarily treated as the entire file.  This can simply isolate 
  101.     one portion of a file for your attention; it can also be done to limit the 
  102.     scope of many VDE commands (^QA, ^B, ^KI...) to that portion.  Use ^KZ 
  103.     again to zoom back out.  In zoom mode: pagination is off; you can use 
  104.     block operations, though any block markers within will disappear when 
  105.     zooming back to the whole file; if you save (^KS), VDE will automatically 
  106.     zoom back out of the block first.
  107.          ^KW writes the block text to a disk file; you will be asked for the 
  108.     filename (and optional mode).  Normally this will overwrite any existing 
  109.     file; however, you can choose instead to append the text at the end of the 
  110.     file, by typing a "+" before the filename:
  111.                   Write to file: GORT        overwrites
  112.                                  +GORT       appends
  113.          ^QB, from wherever you are in the file, moves the cursor to the block 
  114.     start; ^QK moves to the block end.
  115.          ^KPB (^KP with B option) prints the block text only.  (See PRINTING.)
  116.  
  117. DATA FILES (AltU) -  AltU allows you to change many VDE settings by using 
  118.     (loading or saving) specific types of data files.
  119.          .VDF/K files can be Loaded and Saved - see KEY DEFINITION FILES.
  120.          .VDG files can be Saved - see GRAPHICS (CHARACTERS).
  121.          .VDP files can be Loaded - see PRINTER DRIVERS.
  122.          .VDC files can be Loaded - see CHARACTER WIDTHS.
  123.     Any of these may also be loaded with a semicolon on the command line (see 
  124.     SYNTAX).  Files must be in either the specified, current, or VDE directory 
  125.     (specified with the SET command -- see DIRECTORIES).
  126.  
  127. DELETING (^G,[Del],^T,^Y; ^QY,^Q[Del],^QT) -  ^G deletes the character at the 
  128.     cursor.  Normally, [Del] or ^[BkSp] deletes the one to the left, and 
  129.     [BkSp] (^H) moves left without deleting.  [Instead, [BkSp] may be instal- 
  130.     led to delete to the left, and [Del] to delete at the cursor.]
  131.          ^T deletes a word to the right (everything from the cursor to the 
  132.     next word break.)
  133.          ^Y deletes the entire current line.  ^QY deletes just the part of the 
  134.     line to the right of the cursor; ^Q[Del] deletes the part to the left.
  135.          ^QT, followed by a character, deletes everything until the next 
  136.     occurrence of that character.  EXAMPLE: ^QT. (period) deletes to the end 
  137.     of the sentence.  Special case: ^QT^M ([Enter]) deletes to the next HARD 
  138.     CR, the end of the paragraph.
  139.          Unintended deletions can be recovered (see UNDELETING).
  140.  
  141. ENVELOPES (^KPA) -  VDE provides an easy way to print a single envelope to 
  142.     accompany a letter, via the "A"ddress option of the print command:
  143.        1.  Begin by moving the cursor to the address of the recipient, and 
  144.     marking this as a block (see BLOCK COMMANDS):
  145.                      {Chester Fludd
  146.                       193 Lakota St         "{}" = block markers
  147.                       Norman, OK  73069}
  148.        2.  Then use the print command (^KP), and at the options prompt, type 
  149.     "A", followed by "1" or "2" to specify the envelope size: 1 for smaller 
  150.     (letter) size envelopes, about 3.625 x 6.5"; 2 for larger (business) size, 
  151.     4.25 x 9.5".
  152.        3.  Optionally, you may include a return address for the upper left 
  153.     corner of the envelope: enter this in "double quotes", using a backslash 
  154.     (\) to mark the beginning of a new line.  Example:
  155.                   Options:  A2"Your name\Your street\Your city"
  156.     (You may find it convenient to set up envelope printing with your usual 
  157.     return address as a macro key, if you will use it often.  See MACROS.)
  158.        4.  Load the envelope correctly in your printer, and press [Enter] to 
  159.     print it.  Then you can continue to edit or print the letter itself.
  160.               NOTES: Different printers handle envelope feeding in 
  161.          various ways.  VDE prints the address(es) in the 
  162.          appropriate format; you have to ensure that they wind up on 
  163.          the envelope.  With some dot matrix or wheel printers, you 
  164.          can feed in a single envelope, and manual positioning on 
  165.          the platen may be sufficient.  With other printers, a 
  166.          separate tray is available for envelopes, and you will need 
  167.          to install special codes to select the proper tray.  Many 
  168.          laser printers expect to feed envelopes sideways, so you 
  169.          will need codes to print in a landscape font.  [Any control 
  170.          codes needed to prepare your printer for an envelope can be 
  171.          added with VINST; see PRINTER INSTALLATION.]
  172.               Because of the way laser printers operate in landscape 
  173.          mode, VDE ordinarily prints both size envelopes with their 
  174.          RIGHT edge in the same place.  This means that on other 
  175.          printers, the LEFT edge of the smaller envelope must be 
  176.          placed 3" (30 columns) in from the left margin.  If this is 
  177.          inconvenient, it can be overridden by specifying the left 
  178.          margin option (e.g. "L0") AFTER the "A1" option.
  179.  
  180. FILES (^KL,^KR,^KJ,^KF) -  ^KL loads new file(s) to edit, REPLACING the 
  181.     current one.  (If the file has been modified, you will be prompted to 
  182.     confirm that you mean to abandon it; if you want to load file(s) in 
  183.     ADDITION to the current one, use AltL instead.)  You can enter any number 
  184.     of filenames, with optional modes (see SYNTAX).
  185.          ^KR reads in the contents of a single disk file, inserting the text 
  186.     at the current cursor position.
  187.          ^KJ deletes any disk file you specify.  (If you need more complex 
  188.     file utilities, remember that you can run any DOS command with AltR.)
  189.  
  190.          All these commands prompt for specific filenames.  If you are unsure, 
  191.     and want to pick a name from a directory listing, you can call up the FILE 
  192.     BROWSER display by pressing [Enter] alone for *.*, or typing any filename 
  193.     with wildcards, like *.LTR.  (Note: if you mean to load an "untitled" 
  194.     file, press ^J or ^[Enter], instead of [Enter], at the ^KL prompt.)
  195.          Files display alphabetically in uppercase, then directories in 
  196.     lowercase (beginning with the parent directory "..").  If there are more 
  197.     items than will fit on screen, you will see "..." at the top or bottom to 
  198.     indicate this.  [Note: VINST can suppress display of .COM, .EXE and other 
  199.     unreadable files unless you specify such a filetype explicitly.]
  200.          You can move the cursor through the list with the arrow keys, 
  201.     [PgUp,Dn], or [Home,End]; additionally, a letter "A-Z" may be typed to go 
  202.     to the next file beginning with that letter, or "\" to go to the next 
  203.     subdirectory.  When the cursor is on a subdirectory, pressing [Enter] 
  204.     allows you to view its contents in turn; when it is on a file, pressing 
  205.     [Enter] selects that file to complete your command.  You can quit by 
  206.     pressing ^U, or switch to the full file browser with [Esc] or [Space].
  207.  
  208.          ^KF brings up the file browser directly; you may specify a drive, 
  209.     directory, and/or filename mask, and the contents will be alphabetically 
  210.     listed.  (The default, if you just press [Enter], is the directory shown 
  211.     at the ">dir" prompt, and all files *.*.)  Below you will see, in addition 
  212.     to the cursor motions already described, a full complement of operations 
  213.     to apply to the file the cursor is on:
  214.              ^L   LOAD an additional file to edit;
  215.              ^N   replace the current file with a NEW one;
  216.              ^R   READ a file into the current file;
  217.           [Del]   DELETE the file (be careful, deletion is immediate).
  218.     If the file you want to load/read requires a different file mode, you can 
  219.     first press "/" and the correct mode letter (A,N, etc).
  220.          When the cursor is on a directory, you can press [Del] to REMOVE it 
  221.     (if empty), or [Enter] to view its contents.  (This returns you to the 
  222.     ">dir" prompt, where you can actually specify any new drive/directory.)
  223.          To remove the display, press [Esc] or [Space].
  224.  
  225. FIND/REPLACE (^QF,^QA; ^L,^\) -  ^QF is the command to FIND a string.  The 
  226.     search normally proceeds from the cursor position forward, and is case 
  227.     (upper-lower) sensitive.  The character ^_ (Ctrl-underline) functions as a 
  228.     wildcard: it will match any single character.  The single code ^M (CR, or 
  229.     [Enter]) indicates a "newline" in VDE.  Some control codes can be entered 
  230.     directly; some (like ^M) require the ^P prefix.  Graphic characters can be 
  231.     entered using AltG.  Examples:
  232.            Find: ^MLABEL       matches "LABEL" at start of line only;
  233.            Find: p^_^_ce       matches "piece", "peice", etc.
  234.         ^QA is the REPLACE command.  It asks for a string to find, as above, 
  235.     then what to change it to.  Normally, the cursor will move to each 
  236.     occurrence of the string, and you will be asked ("Chg?") whether to change 
  237.     it; answer "Y"es or "N"o, or "*" to change all the rest without asking 
  238.     individually, or press [Esc] to quit.
  239.          There are several options for find/replace:
  240.            "B" = search Backward for the specified string;
  241.            "U" = case insensitive search (ignore Upper/lower distinction);
  242.            "G" = search Globally (from start or end of file);
  243.            "M" = Multi-file search (through all files being edited);
  244.            "A" = Align (reform) paragraphs again after each replacement;
  245.            "N" = No query: replace all instances without asking.
  246.     To skip the options prompt, finish entry of the find string (for ^QF) or 
  247.     replace string (for ^QA) by typing ^J or ^[Enter] instead of [Enter].
  248.          Notes: "A"lign is assumed by default if auto format (^OM) is on.  (Be 
  249.     careful with this in a file with varying margins.)  "G"lobal is assumed 
  250.     whenever "M"ulti-file is selected.  "N"o query is assumed whenever ^QA is 
  251.     used in a macro.  There is no option to search for a "whole word only", 
  252.     but you can do this by begining and ending the find string with a space.  
  253.     [VINST can set "U"pper/lower as your default, in which case specifying "U" 
  254.     means case sensitive.]
  255.          ^L instantly repeats the last find or replace (^QF/^QA) operation 
  256.     once more; the "B","U","M","A" options remain as last specified.  ^\ also 
  257.     repeats, but in the reverse direction ("U","M","A" remain unchanged).
  258.  
  259. FOREIGN CHARACTERS -  Characters in the upper ASCII range (128-255), such as 
  260.     the foreign letters and accents, can be entered directly into text using 
  261.     either standard DOS method: one of the DOS KEYBxx keyboard map utilities, 
  262.     or the [Alt] key and numeric keypad (hold down [Alt] while pressing keypad 
  263.     1,5,5 for character 155).
  264.          VDE treats these characters as "graphics": you are limited to a total 
  265.     of 32 such codes at a time, and any that you have used may be found in the 
  266.     menu brought up by the AltG command.  See GRAPHICS.
  267.  
  268. GRAPHICS (AltG) -  You can enter an IBM graphic (or foreign) character into 
  269.     the file either directly from the keyboard, via [Alt] and the numeric 
  270.     keypad, or with the AltG command.  You will be presented with a menu of up 
  271.     to 32 characters (labeled A-Z,1-6) to choose from; the default set 
  272.     contains some useful box drawing parts, and has room free for other 
  273.     characters that might be loaded.  [It can also be modified with VINST.]
  274.          In addition, any individual menu entry can be redefined: type "=", 
  275.     then the code (A-6) to change.  (If a graphic definition is present in any 
  276.     file being edited, you cannot change it.)  You can then select the desired 
  277.     character from the complete graphics set, by moving the cursor to it and 
  278.     pressing [Enter].  Alternatively, if you press [Esc], you may enter the 
  279.     extended ASCII code in either hex (2 digits 80-FF) or decimal (3 digits 
  280.     128-255) format.  Example: the Greek alpha can either be picked off the 
  281.     menu, or entered as "E0" hex or "224" decimal.  Once defined, the graphic 
  282.     can be entered into the file by pressing its menu letter.  (Note: on the 
  283.     HP95LX, the graphics set does not display; enter by numeric value only.)
  284.          As a further convenience, you can type "-" to clear all entries not 
  285.     needed for graphics already present in your files.
  286.          CAUTION: If you load a file containing many graphics (or binary data 
  287.     that will be interpreted as graphics), VDE will try to add each in turn to 
  288.     its table.  If the graphics table fills up, any further graphics will be 
  289.     replaced by duplicates of graphic #6.  You will see an error message, and 
  290.     the file will become "untitled", to guard against saving to disk and 
  291.     corrupting the file.  If you often use many graphics characters you will 
  292.     want to keep your default table relatively empty, or use the "-" command 
  293.     before loading such files, to avoid this.
  294.          NOTE: In addition to the 128 graphics characters, the code ^Z (hex 
  295.     1A, decimal 026) may only be entered as a graphic.  (^PZ embeds not ^Z but 
  296.     a place marker.)  Furthermore, several codes in the range 00-1F,7F (000- 
  297.     031,127) are reserved for internal use; though they can be entered with 
  298.     ^P, they will be represented as graphics.
  299.          Graphics are stored in disk files in accord with the current file 
  300.     mode.  Printing of graphics depends on whether your printer font is 
  301.     installed [see PRINTER INSTALLATION] as IBM graphics (PC8) or Roman8, or 
  302.     neither, in which case VDE will "emulate" them, choosing standard ASCII 
  303.     character overstrikes that come as close as possible.  This usually works 
  304.     well, especially for the foreign language characters.
  305.  
  306. HEADER (^OQ) -  The "header" at the top of the screen can be toggled on and 
  307.     off with ^OQ.  [The default can be set either way.]  It provides useful 
  308.     information, but can be removed if you prefer to edit with a screen 
  309.     showing nothing but your text.  It looks like this:
  310.     -----------------------------------------------------------------------
  311.     + VDE.DOC /A      P 14   L 11   C 48    Ins    vt hy AI DS J+ PS " ^K_
  312.                   or (NP/BZ)               (WIn)        (AF)  (MR)
  313.     -----------------------------------------------------------------------
  314.     '+' = Multi-file flag.  Present if other file(s) are being edited.
  315.     'VDE.DOC /A' = Current filename and mode.  The full drive and path 
  316.          information, along with other files being edited, can be displayed 
  317.          with the ^KI command (see INFORMATION).
  318.     'P 14, etc' = Cursor position in file by page (in document modes), line, 
  319.          column.  If pagination is off (^OP0), you will see 'NP' instead of a 
  320.          page number; in block zoom mode (^KZ) you will see 'BZ'.
  321.     'Ins','WIn' = Insert mode (^V) or Word Insert (^]) on.
  322.     'vt' = Variable Tab mode (^OV) on. 
  323.     'hy' = Hyphenation (^OH) enabled.  (Documents only)
  324.     'AI' = Auto Indent mode (^OA) on.
  325.     'AF' = Auto Format mode (^OM) on.  (Documents only)
  326.     'DS' = Double spacing (^OS) on.
  327.     'J+/-' = Right Justification mode (^OJ) on.  (Documents only)
  328.     'MR' = Margins released (^OX).  (Documents only)
  329.     'PS' = Proportional spacing (^OK) on.
  330.       "  = Double quote mark appears during macro recording (Esc").
  331.    '^K_' = Command key prefixes (and some prompts) display here.
  332.  
  333. HYPHENATION (^OH,^P-) -  ^OH toggles hyphenation on and off.  If off, midword 
  334.     hyphens are not treated as wordbreaks.  [The default can be changed.]
  335.          VDE can't hyphenate automatically, but it can recognize hyphens that 
  336.     you type in the text, treating them as a legitimate place to break a line.  
  337.     In addition to ordinary hyphens, "-", there are "soft hyphens" (SHs), 
  338.     which you can enter by typing ^P- (^P,hyphen), and which display in a 
  339.     different color.  SHs indicate optional places to break a long word: they 
  340.     will print as a hyphen when they fall at the end of the line (that is, 
  341.     when actually in use to break a word), but do not print if they wind up in 
  342.     mid-line.  (Note: only WordStar (/W or /S) file modes store soft hyphens 
  343.     as such; when saving to disk in other modes, as in printing, they either 
  344.     become hyphens or disappear, as appropriate.)
  345.  
  346. INFORMATION (^KI,AltI) -  ^KI displays an Information message telling you:
  347.       - The full name (including directory) of the current file;
  348.       - When it was last saved, and whether (Y/N) it has been changed since;
  349.       - Any print toggles (^B,D,S etc) that seem to be mispaired;
  350.       - A word count for document files (useful for professional writing);
  351.       - The current size of the file in bytes or K (1K = 1024 bytes);
  352.       - Bytes of memory used in this text segment, and percentage full;
  353.       - The amount (in K) of memory free to edit further files;
  354.       - The names of all other files being edited.
  355.          AltI displays the VDE version, date, and copyright.  (An uninstalled 
  356.     copy of VDE does this automatically on startup.)
  357.  
  358. INSERTING (^V,[Ins],^],^_,^N) -  ^V or [Ins] toggles Insert mode on/off, and 
  359.     ^] toggles Word Insert.  When both are OFF, VDE is in overwrite mode: any 
  360.     text to the right of the cursor is replaced as you type.  With Insert (^V) 
  361.     ON, any existing text is instead carried to the right.  With Word Insert 
  362.     (^]) ON, you can type over the letters of a word, but anything you add at 
  363.     the end of the word (when the next character is a space) is inserted 
  364.     without overwriting; this is a handy feature for revising text.  [The 
  365.     default insert status can be changed.]
  366.          The ^_ and ^N commands (insert space, CR) are most useful in 
  367.     Overwrite mode (avoiding the need to turn Insert on and back off).
  368.  
  369. JUSTIFICATION (^OJ) -  ^OJ controls right justification mode, cycling between 
  370.     three states:
  371.               ADD.  ("J+" in header.)  Text paragraphs will be 
  372.          formatted with an even right margin, by inserting extra 
  373.          spaces between words as necessary.
  374.               REMOVE.  ("J-" in header.)  Formatting will undo 
  375.          justification by removing any extra spaces between words, 
  376.          leaving an uneven right margin again.
  377.               OFF.  Formatting does not change spacing of text; 
  378.          right margin is left uneven.
  379.     Thus the Reform (^B) command can justify or de-justify text as desired.
  380.          Right-justified text should not be saved to disk in file mode /U 
  381.     (which has no margin structure) or in modes /X,/M,/P, or /F (because 
  382.     XyWrite, MS Word, and WordPerfect will not recognize VDE's method of 
  383.     justification).
  384.          Justification does not work with proportional spacing (^OK).
  385.  
  386. LINE SPACING (^OS) -  ^OS toggles between single and double line spacing.  In 
  387.     double space mode, the following functions generate double carriage 
  388.     returns: [Enter] (^M), Insert CR (^N), Reform (^B), Wordwrap.  You can 
  389.     easily mix single and double spacing; ^B can convert between the two.
  390.          Note: a single-spaced file can also be printed out double-spaced with 
  391.     the "D" option of the ^KP command (see PRINTING).
  392.  
  393. MARGINS (^OR,^OL,^OX,^OC,^OF) -  ^OR sets the Right margin, and enables text 
  394.     formatting.  At the prompt, enter the column number (up to 255), or just 
  395.     press [Enter] for the current cursor column.  (Note: in proportional mode 
  396.     (^OK), the number is interpreted in 1/10" instead of characters.)
  397.          ^OL similarly sets the Left margin column; the value must be less 
  398.     than the right margin.  (^OL is normally used for indenting selected 
  399.     paragraphs.  To leave blank space at the left of the page throughout when 
  400.     PRINTING, see the "L" option of the ^KP command, or the left margin 
  401.     setting in PRINTER INSTALLATION.)
  402.          "Wordwrap" is automatic in all document modes whenever the margins 
  403.     are set: anything typed before the left margin will move up to it; 
  404.     anything typed past the right margin will wrap over to the next line.  
  405.     (See also REFORMAT and AUTO FORMAT.)  Wordwrap and formatting are disabled 
  406.     if the right margin is set to 1, or while margins are released (^OX).
  407.          (NOTES: Margins cannot be set in /N (nondocument) mode; a left margin 
  408.     cannot be set in /X, /U, or /M mode.  On top/bottom margins see PRINTING.)
  409.          ^OX toggles margin release, allowing you to type outside them.
  410.          ^OC Centers the current line with respect to the margins; ^OF sets 
  411.     the line Flush right.  The cursor advances to the next line.
  412.  
  413. MATCHING FILES (AltM) -  This command can locate small differences between two 
  414.     largely similar files (perhaps an earlier and a later revision of your 
  415.     work).  You must first load these two files (AltL), then split the screen 
  416.     between them (AltW), and position the cursor in corresponding places in 
  417.     both files (for example, the top).
  418.          Then press AltM.  Starting from these positions, VDE searches for any 
  419.     difference between the files.  If there is one, VDE will stop on those 
  420.     lines, showing the disagreeing passages side by side.  If you want to 
  421.     continue, press AltM again.  (If the difference was significant you may 
  422.     first need to reposition one cursor to match the other.)  If the cursor 
  423.     winds up at the end of both files, they match.
  424.          Note: in document modes, AltM compares word by word, ignoring mere 
  425.     formatting differences (margins, spacing etc).  In /N mode, it is an exact 
  426.     character by character comparison.
  427.  
  428. MOVING AROUND (Arrows; ^F,^A,^C,^R; ^QE,X,S,D; ^QR,C; ^QI,^QL,^QN,^QP; AltO) -  
  429.     VDE supports two sets of Arrow keys, which function interchangeably: the 
  430.     four arrow keys [^,v,<,>] on the IBM keyboard, and the WordStar "diamond" 
  431.     ^E,^X,^S,^D.  These keys move the cursor one unit up, down, right, and 
  432.     left respectively.  There are many other movement commands as well:
  433.          ^F or ^[>] moves right, to the start of the next word; ^A or ^[<] 
  434.     moves left, to the start of the current (and then previous) word.  ^C or 
  435.     [PgDn] scrolls forward (down) one screen; ^R or [PgUp] scrolls backward 
  436.     (up) one screen.
  437.          Preceded by ^Q, any arrow key moves more Quickly: thus ^QE, ^QX go 
  438.     to the top or bottom of the screen; ^QS, ^QD to the left or right end of 
  439.     the line.  Similarly, ^QR and ^QC scroll all the way to the beginning or 
  440.     end of the file, respectively.
  441.          ^QI moves directly to a given page (for documents) or line (for non- 
  442.     documents).  In documents, ^QL and ^QN move to the start of the Last or 
  443.     Next page, respectively.
  444.          ^QP returns the cursor to its Previous position -- before the last 
  445.     large movement occurred.  (This means AltM,AltO,^B,^QR,^QC,^QF,^QZ,^QB, 
  446.     ^QK, and any other command that moves to the block location via ^QB.)  
  447.     After a block move (^KV), ^QP will return to the previous position of the 
  448.     block.  ^QP can be repeated to cycle between two positions in a file.
  449.          AltO displays an Overview bar at the top of the screen.  The length 
  450.     of the bar corresponds to the filesize, and the current position is marked 
  451.     so you can see where you are.  You can move the place marker left or right 
  452.     with the arrow keys; the cursor remains in the original (current) 
  453.     position.  To move to the selected position, press [Enter]; press [Esc] 
  454.     instead to cancel.
  455.  
  456. MULTIPLE FILES (AltL,AltB,AltN,AltX,AltQ,AltC,AltP) -  VDE allows you to edit 
  457.     up to 8 files simultaneously, if you have enough memory.  This can be done 
  458.     from the command line, by giving a list of several filenames.
  459.          Otherwise, to Load additional files, press AltL.  You can enter any 
  460.     number of filenames, with optional modes (see SYNTAX); for an untitled 
  461.     file, press ^J or ^[Enter].  You can also access the file browser with 
  462.     [Enter] or wildcards (see FILES).  (You will get an error message if you 
  463.     run out of memory, or are already editing the named file, or 8 files.)
  464.          Once multiple files are in use, AltB and AltN can be used to cycle 
  465.     back and forth through the files being edited.  If you Quit or Exit 
  466.     (^KQ,^KX) from one file, you will be returned to the previous one.
  467.          For convenience, AltX exits ALL files immediately, saving any changes 
  468.     made.  AltQ quits ALL files immediately, without saving; if any of them 
  469.     have been modified, you will be prompted (just once) to confirm this.
  470.          AltC Cuts a marked block of text, placing it in a buffer for later 
  471.     recovery.  (The original remains, unless you delete it with ^KY.)  AltP 
  472.     Pastes in the previously cut text at the cursor position, allowing block 
  473.     copying and moving between files.)
  474.          It is possible to view two files on screen at once (see WINDOWS).
  475.  
  476. PAGE PREVIEW (^OD) -  This command shows you a preview of the text as it would 
  477.     print: with all non-printing codes (markers, ^P codes, etc) hidden, and 
  478.     page breaks indicated by a row of dotted lines.  This is handy for making 
  479.     sure that text is aligned properly, and will help you avoid wasting time 
  480.     and paper on unacceptable printouts.  You can scroll through the file in 
  481.     this mode with [PgUp,Dn] or ^R,^C; or move to the top or bottom, with 
  482.     ^[Home,End].  Press [Esc] to continue editing.
  483.  
  484. PAGINATION (^OP,^PL) -  The ^OP command sets the page length.  Enter a value 0 
  485.     to 255 lines, or just press [Enter] to restore the default.
  486.          When the value is nonzero, it determines the page and line shown in 
  487.     the document header ("P xx L xx"), and all page functions in the Print 
  488.     routine (pagination, headers, start/stop at page) are enabled.  A formfeed 
  489.     will be sent to eject each full page.  [VDE does not send a formfeed 
  490.     before printing; install one in your printer initialization if you want.]
  491.          When the value is zero, pagination is off.  The header will say "NP L 
  492.     xxxx", showing you the absolute line number in the file; printing occurs 
  493.     with no page breaks, though a formfeed is sent at the end of the file.  
  494.     (To skip even this, use the block print option "B", which allows you to 
  495.     print several small things on the same sheet or, in conjunction with the 
  496.     "*" option, multiple copies of index cards, labels, etc.  See PRINTING.)
  497.          The ^PL command embeds a formfeed (^L) in the text, to begin a new 
  498.     page; the best place to put it is at the beginning of a line.
  499.  
  500. PARAGRAPH INDENT (^OG) -  Of course you can indent text simply by changing the 
  501.     left margin (^OL), but there are times when you want only a temporary 
  502.     indent.  ^OG gives a "paragraph indent"; each time you use it, the left 
  503.     margin is reset to the next tab stop over (see TABS).  The indentation 
  504.     lasts until you type the [Enter] at the end of the paragraph (or use the 
  505.     ^B or ^OL commands), at which time the original left margin is restored.
  506.  
  507. PLACE MARKERS (^PZ,^QZ) -  You can set any number of temporary place markers 
  508.     in the text with ^PZ (they display as a highlighted "Z").  The ^QZ command 
  509.     moves the cursor to the next place marker in the file, cycling back to the 
  510.     top of the file as needed.  (Place markers are NOT saved to disk.)
  511.  
  512. PRINT STYLES/CODES (^P) -  This command prefix is used to enter various 
  513.     "codes" in the ASCII range 00-1F into the text, usually for purposes of 
  514.     printer control.  Most codes are entered in a standard fashion: ^PA embeds 
  515.     ^A, etc.  Those with defined functions in VDE documents display as 
  516.     highlighted letters; the rest (all, in nondocuments) display as graphics.  
  517.     It is possible to embed the code ^Z (hex 1A) in a file, but only via AltG 
  518.     (see GRAPHICS), since ^PZ gives a place marker.  (Use caution; many 
  519.     programs treat the actual ^Z code as an end of file mark.)
  520.          Several other common control codes produce special effects:
  521.           ^P^I - hard (ASCII) tab - printers respond variously to this
  522.             ^L - formfeed - will cause a page break
  523.             ^H - backspace - overstrike previous character
  524.             ^M - carriage return - enter a CR without a LF to overstrike line
  525.                   (do NOT hit [Enter] again after this, just continue typing)
  526.     The further codes below operate only in documents.
  527.          ^P^G causes printing to pause immediately, until you press a key to 
  528.     continue ([Esc] will cancel).  This allows you to adjust the platen for 
  529.     printing various forms.  (Note: on many dot matrix printers, can only be 
  530.     used at the start of a line.)
  531.          ^PEsc or ^P[ can be used to embed the "Escape" code (hex 1B) in a 
  532.     file if desired.  But these are most commonly used for printer control, 
  533.     and VDE offers a much simpler way of doing this.  In place of complex 
  534.     "escape sequences" for print styles (underlining, etc) in document files 
  535.     VDE lets you enter a single marker, which will be translated into the 
  536.     proper codes during printing.  VDE supports a set of 13 codes for this 
  537.     purpose: seven toggles, six switches.  [See PRINTER INSTALLATION on how to 
  538.     install the proper driver for your printer.  Otherwise, only ^PS and ^PX 
  539.     will work.]  The conventional WordStar meanings of these codes are:
  540.        Toggles: ^P^B  boldface        Switches: ^P^Q  (user def 1)
  541.                   ^D  ("doublestrike")            ^W  (user 2)
  542.                   ^S  underline                   ^E  (user 3)
  543.                   ^Y  italic ("ribbon")           ^R  (user 4)
  544.                   ^T  superscript                 ^A  alternate pitch
  545.                   ^V  subscript                   ^N  standard pitch
  546.                   ^X  strikeout [has no installation]
  547.     But you can use them for anything you like.  "Toggles" are good for 
  548.     features like underlining that are turned on and off; enter them in pairs, 
  549.     to mark the beginning and end of the desired text.  "Switches" are better 
  550.     for multi-valued parameters like character pitch or print quality.
  551.          If toggles are not properly paired, you will find print effects 
  552.     continuing throughout the rest of your document.  To save time and effort, 
  553.     use the ^KI command to check for this before printing.  (If an "S" appears 
  554.     under the "^Check" heading, there is an unpaired ^S somewhere.)
  555.  
  556. PRINTER DRIVERS (AltV,AltU) -  Since many people use more than one kind of 
  557.     printer, VDE accomodates two different printer drivers, a primary and an 
  558.     alternate.  Before printing a file, you can select which one is active 
  559.     using AltV.  [You can install different drivers with VINST.]
  560.          AltU gives you access to an unlimited number of further printer 
  561.     drivers in the form of .VDP disk files; select "L"oad, then type the file 
  562.     name.  [See PRINTER INSTALLATION for instructions on how to create such 
  563.     files.]  The new driver will replace the previous primary.
  564.  
  565. PRINTING (^KP) -  The ^KP command Prints the file you are editing.  The page 
  566.     format is determined by several factors: the current page length (^OP) 
  567.     determines the number of lines of text per page.  The top and left margins 
  568.     can be varied with options below.  Other options produce either a footer 
  569.     with a page number in the center, or a header, consisting of a page number 
  570.     in the corner and, optionally, a string of text; either one uses three 
  571.     more lines of space on the page.  Various printers position paper 
  572.     differently, but can typically put about 60 lines of text on a standard 
  573.     11-inch page.
  574.          You will be asked for a set of "Options:", at which point you may 
  575.     enter one or more of the following, in any order:
  576.  
  577.        @nn    begins printing AT page nn of the document.
  578.        =nn    RENUMBERS the printout to start at page nn.
  579.        #nn    prints only (up to) a TOTAL of nn pages.
  580.        O,E    prints only Odd or Even pages (print one, then run the paper 
  581.             back through and print the other, for double-sided printing).
  582.        F      prints FACING pages (header/number reversed on even pages).
  583.        *nn    prints the entire job out nn TIMES (nn=1...255).
  584.  
  585.        N      NUMBERS pages sequentially, at top right.
  586.        C      numbers pages at bottom CENTER.
  587.        "..."  uses the quoted string as a HEADER.  The string will print at 
  588.             the top right next to the page number unless it begins with a "<" 
  589.             character, in which case it prints at the left edge.
  590.               Note: you can include the current Filename, Time or Date in the 
  591.             header simply by entering ^F, ^T, or ^D, respectively.  To enter a 
  592.             quote mark, double it ("").
  593.        S      SUPPRESSES the header/page number on the first page of output.
  594.        R      RESERVES 3 lines of space as a blank header when no header has 
  595.             been specified.  (If your printer driver already has this setting, 
  596.             "R" negates it.)
  597.        Tnn    sets a TOP MARGIN skip of nn lines.     [The default margins can
  598.        Lnn    sets a LEFT MARGIN skip of nn columns.    be set with VINST.]
  599.  
  600.        B      prints only the currently marked BLOCK.  Pagination is disabled, 
  601.             and no final formfeed is sent; you may have to eject the page.
  602.        (FILENAME)   redirects printer output to a disk file.  All print 
  603.             control codes will go into the file just as they would have been 
  604.             sent to your printer.  If you want to append the output to an 
  605.             existing file, type a "+" before the name: (+FILENAME).
  606.        A      ADDRESSES an envelope; see ENVELOPES.
  607.        P      PAUSES for your keystroke before each page prints (sheet feed).
  608.        ^      FILTERS control codes (like ^X) so they print out as text "^X".
  609.        D      DOUBLESPACES the printout.
  610.        '...'  sends a string of printer control commands before printing 
  611.             begins.  These must be entered as ASCII characters or control 
  612.             codes, not digits.  If the command is "Esc A" (1B 41 hex), press 
  613.             the four keys:  ['] [Esc] [A] ['].  To enter a quote mark (27 
  614.             hex), double it ('').  (For control codes, 01 = ^A, 02 = ^B, etc.  
  615.             Some will require the ^P prefix: 00 (^@) = ^P@, etc.  You may find 
  616.             an ASCII table helpful; see PRINTER INSTALLATION.)
  617.  
  618.     (NOTES: the paging options (@,=,#,O,E,F,N,C,"...",S,T,P) will NOT work if 
  619.     the page length is set to 0 (^OP), or if 'B'lock print was chosen.  'C' 
  620.     cannot be used together with 'N'.)
  621.  
  622.               EXAMPLE 1:      Options:  "<STATUS REPORT: ^D" N F
  623.     will put a header like "STATUS REPORT: 10/19/90" at the top left of each 
  624.     page, and the page number at the top right (vice versa on even pages).
  625.               EXAMPLE 2:      Options:  L12 #1
  626.     will print one page only, with an added left margin of 12.  (Printing a 
  627.     single page is a good check of page layout before going ahead to print a 
  628.     long file.  To continue at page two, of course, use Options:  @2.)
  629.               EXAMPLE 3:      Options:  BD(+SCRATCH)
  630.     will append the print output of the current marked Block, double spaced, 
  631.     to the disk file SCRATCH.
  632.  
  633.          NOTES:  The left margin setting (via "Lnn" or VINST) is in columns, 
  634.     and its physical width will vary according to the font in use.  If you 
  635.     need a fixed margin, it is better to find your printer's Esc command for a 
  636.     left margin setting in inches or dot columns, and add this to your printer 
  637.     initialization string.
  638.          If you are in /W or /S file mode, any WordStar dot commands in the 
  639.     file (lines beginning with ".") will not be printed.
  640.          You can cancel printing at any time by pressing [Esc], or pause by 
  641.     pressing any other key (press a key again to resume).
  642.  
  643. PROPORTIONAL SPACING (^OK) -  Normally VDE assumes a fixed pitch font: one 
  644.     character equals one print column.  Yet if your printer has a proportional 
  645.     font, you can get VDE to use it, and to format text so that it will print 
  646.     with more appropriate margins.  With ^OK on, your printer will be put in 
  647.     proportional mode when printing (^KP); and all wordwrap and reformatting 
  648.     (^B,^OC,^OF) will take advantage of a table of varying character widths, 
  649.     resulting in a better aligned printout.
  650.          In proportional mode, the right margin needs to be interpreted in 
  651.     inches rather than characters, based on a conversion of 10 cpi, so that a 
  652.     right margin (^OR) of 70 means 7.0".  (Note: characters may well extend 
  653.     beyond the 70th column.)
  654.          [See PRINTER INSTALLATION to install codes for proportional mode on 
  655.     your printer, and CHARACTER WIDTHS to adjust the width table.]
  656.  
  657. REFORMAT ([Enter],^B;^OB) -  In documents, pressing [Enter] creates a 
  658.     permanent or "hard" Carriage Return marking the end of a paragraph.  (This 
  659.     is a CR without a preceding space; wordwrap creates a removable "soft CR", 
  660.     preceded by a space.  See TEXT FORMATTING.)
  661.            ^B reformats the paragraph the cursor is in according to the 
  662.     current margin settings and line spacing.  (Thus ^B is used not only to 
  663.     reshape a paragraph after editing, but also to change its format in 
  664.     various ways: see MARGINS, JUSTIFICATION, LINE SPACING.)  If the top line 
  665.     is indented relative to the next one, VDE preserves that as paragraph 
  666.     indentation.  To reformat an entire file use the MACRO command (Esc[) to 
  667.     repeat ^B.  (See also AUTO FORMAT.)
  668.          ^OB toggles display of hard CRs, which are normally marked by a left- 
  669.     arrow character in document files, to distinguish them from soft ones.  If 
  670.     you find this distracting, it can be turned off.
  671.  
  672. RULER LINE (^OT) -  To help you align text properly, ^OT displays a "ruler 
  673.     line" above the text.  Type ^OT again to remove it.  A moving pointer 
  674.     indicates the current column.
  675.          In each column you will see one of several symbols: the arrow "v" is 
  676.     the cursor column; "L,R" designate the current margins; "." indicates 
  677.     areas outside the current margins, "-" within them.  Also, tab stops are 
  678.     marked by either "!" (Variable) or ":" (Hard).  Examples:
  679.         (/A mode)      L-----!---!----------v--!--------------R........
  680.         (/N mode)      :.......:.......:....v..:.......:.......:.......
  681.  
  682. RUN COMMAND/SHELL (AltR) -  AltR lets you run DOS commands without leaving 
  683.     VDE.  An imitation DOS prompt is produced (e.g., "C:\WORK>"); you can copy 
  684.     or rename files, or run any other program you like, and afterwards VDE 
  685.     will prompt you to "Press [Esc]", which will return you to your undis- 
  686.     turbed VDE editing session.
  687.          In addition, you may simply hit [Enter], which lets you out into what 
  688.     is known as a Command Shell: you are actually back IN DOS, and can use any 
  689.     number of commands or move around as you like; when through, you need to 
  690.     type the DOS command EXIT to return to VDE.
  691.          Caution: don't load new memory-resident utilities from within the 
  692.     AltR command; this fouls up the DOS memory allocation.
  693.          To use AltR, you must have enough free memory to load and run the 
  694.     chosen program; and VDE must be able to find COMMAND.COM in order to 
  695.     execute it, via the COMSPEC environment variable.  Be sure either that 
  696.     your AUTOEXEC.BAT file includes a line like
  697.                         SET COMSPEC=C:\COMMAND.COM
  698.     or that your CONFIG.SYS file includes a line like
  699.                         SHELL=C:\COMMAND.COM C:\ /P
  700.     (In either case replace "C:\" with the appropriate directory.)
  701.  
  702. SAVE/EXIT (^KE,^KS,^KX,^KD,^KQ) -  ^KE renames your work, allowing you to 
  703.     change to a new filename (and/or new directory or file mode) before 
  704.     saving.  If you enter a new directory or file mode alone, that change will 
  705.     be made, while the filename remains the same.  (Note: If you want to make 
  706.     your work "untitled", press ^J or ^[Enter], instead of [Enter], at the 
  707.     prompt.)
  708.          ^KS saves your work so far, writing the file to disk under the 
  709.     filename in the header.  (If it's "untitled", a new name will be 
  710.     requested.)  If the file has not been modified, you will be prompted to 
  711.     confirm that you meant to save it again anyway.
  712.          For safety, if you make changes to an existing file, a copy of the 
  713.     original is preserved as a BACKUP FILE (with extension ".BAK").  [If you 
  714.     prefer not to use BAK files, you can suppress their use with VINST.]
  715.          There are several different commands for finishing up:
  716.          ^KX saves your work (if modified), and then EXITS to DOS.
  717.          ^KD saves your work, then loads a new file to edit.
  718.          ^KQ just QUITS, without saving to disk.  If the file has been 
  719.     modified, you will be prompted to confirm that you meant to do this!
  720.  
  721. SCREEN CONTROLS (^W,^Z; Esc[^,v,<,>]; ^OE,^OZ) -  VDE provides a number of 
  722.     commands to control the display screen:
  723.          ^W and ^Z scroll the screen up and down a line at a time, without 
  724.     moving the cursor in the text (unless necessary).
  725.          Preceded by [Esc], any arrow key also causes the screen to scroll: 
  726.     up/down by 1/4 screen, or right/left 32 columns.  Again, the cursor is not 
  727.     moved unless necessary.  (The screen cannot shift rightward past the end 
  728.     of the current line.)
  729.          ^OE makes the current line the top of the screen.
  730.          ^OZ temporarily blanks the entire screen; good for avoiding CRT burn- 
  731.     in, or just protecting work from prying eyes or fingers.  Restore the 
  732.     screen by pressing [Esc].  This is also useful if some other software 
  733.     (like a memory-resident utility) has messed up the screen: type ^OZ,Esc 
  734.     and VDE will completely restore it.
  735.  
  736. SCREEN SIZE (AltA,AltE) -  On IBM compatible systems, VDE automatically adapts 
  737.     to any size text screen currently in use (minimum: 40 columns, 8 lines).  
  738.     This means that (1) VDE will run on laptop/palmtop computers with small 
  739.     displays, and (2) visually impaired users can use the DOS command MODE 
  740.     CO40 to edit with a 40 column large-type screen.  When running with fewer 
  741.     than 80 columns, VDE omits toggle indicators from the header; also, some 
  742.     menus remain in 80-column format, and can be scrolled horizontally by 
  743.     pressing the right and left arrow keys while they are on screen.
  744.          On IBM EGA/VGA video systems, you can use your own software (like the 
  745.     popular UltraVision program, or any utilities that may have come with your 
  746.     video adapter card) to change the font or screen size (lines,columns) 
  747.     before running VDE, or even while editing (via the AltR command).  VDE 
  748.     also offers two internal commands to vary screen size:
  749.          AltA changes the screen width, toggling between normal (80-column) 
  750.     mode and wide (132-column) mode.  It can be used alone, or in combination 
  751.     with AltE.  This command works ONLY with certain brands of video cards 
  752.     which offer 132 column displays [see INSTALLATION to specify yours], or if 
  753.     you are running UltraVision with a card that supports its 132 column mode.
  754.          AltE changes the screen length, varying the number of text lines 
  755.     displayed.  In its most basic form it simply toggles between normal 25- 
  756.     line mode and a compressed mode of 43 (EGA) or 50 (VGA) lines.  But when 
  757.     possible (with VDEOPT.DAT present or under UltraVision), it displays a 
  758.     prompt offering a wider range of sizes:
  759.               with VDEOPT.DAT  VGA - 20,25,28,33,40,50,57 lines
  760.                                EGA - 17,25,29,35,43,50    lines
  761.               with UltraVision VGA - 25,36,50,60/63 lines
  762.                                EGA - 25,34,43,60    lines
  763.     You can enter a letter code A-G, or [Enter] for your default value [which 
  764.     can be changed with VINST].  Larger text is easy on the eyes; smaller text 
  765.     can pack a whole page of text into one screen.  To make this range of 
  766.     sizes available (without UltraVision), the VDEOPT.DAT file must be in the 
  767.     current or VDE directory (set with the SET command -- see DIRECTORIES).
  768.  
  769. SPLITTING FILES (AltS) -  If you encounter a text file that is too large for 
  770.     VDE to load and edit, you can divide it into manageable chunks with the 
  771.     Split command.  You will be prompted for the name of the file to split; 
  772.     VDE will divide it in pieces whose names have a number added at the end of 
  773.     the file name.  Example: BIG.DOC will split into BIG1.DOC, BIG2.DOC, etc, 
  774.     each of which you can edit separately.  After 9, the numbers continue with 
  775.     letters A..Z.  (The original file also remains on disk.)
  776.          If necessary, the files can later be reassembled into one with the 
  777.     DOS COPY command, for example:  COPY BIG1.DOC+BIG2.DOC BIG.DOC.
  778.  
  779. TABS ([Tab],Shft[Tab]; ^OV,^OI,^ON; ^PI,Esc[Tab]) -  There are two Tab modes, 
  780.     Variable and Hard; ^OV toggles between them.  In Hard Tab mode the Tab key 
  781.     produces an actual ^I (ASCII TAB) character.  Hard Tabs display at fixed 
  782.     intervals [normally 8 columns; optionally 4 or 16].
  783.          In Variable Tab mode (the default for documents), the Tab key moves 
  784.     to the next tab stop set.  The cursor moves over any existing text; spaces 
  785.     are added at the end of a line if needed.
  786.          Up to eight tab stops may be set with ^OI, or cleared with ^ON; the 
  787.     defaults are in columns 6, 15, 35, and 55.  [These can be changed.]  Both 
  788.     commands prompt for a list of column numbers, or you can press [Enter] for 
  789.     the cursor column.  The Set command ^OI also accepts two options, both of 
  790.     which replace all previous tab settings:
  791.               @nn           Set tabs every "nn" columns
  792.               #n1,n2,...    Set tabs to columns "n1,n2,..."
  793.     You can simply clear all variable tabs by typing ^ON followed by "*".
  794.          The Shft[Tab] command tabs backwards (left to the previous stop), 
  795.     useful for moving around in tables, etc.
  796.          You can always get a Hard Tab with ^PI, or a Variable Tab with 
  797.     Esc[Tab], no matter which tab mode you are in.
  798.  
  799. TIME/DATE (AltT,AltD) -  VDE can read the DOS system clock and insert the 
  800.     current time and date in your file automatically.  Just press AltT for the 
  801.     Time, or AltD for the Date.  The string will appear at the current cursor 
  802.     location, as though you had typed it in yourself: for example,
  803.               1:21 PM            [or 13:21 -- VINST selects the format]
  804.               January 15, 1988   [or 1/15/88, 15 January 1988, 15.1.88]
  805.  
  806. UNDELETING (^U) -  The undelete function can be used to recover accidentally 
  807.     deleted text or overstruck characters.  The lost text will be replaced at 
  808.     the current cursor location.  ^U may be used repeatedly to undo a sequence 
  809.     of deletions, recovering each character, word, or line in order.  (Once 
  810.     all deleted text is restored, ^U does nothing.)
  811.          Exception: block deletions cannot be recovered sequentially, they 
  812.     must be undeleted immediately (before any other deletion occurs).
  813.          Undeletion can also be used as a sort of quick-and-dirty block move.  
  814.     For example, if the cursor is at the start of a word, the commands ^T^F^U 
  815.     (which of course can be assigned to a macro key) will swap that word with 
  816.     the one following it.  Similarly, ^Y^X^U will swap two lines.
  817.  
  818. UPPER/LOWER CASE (^^; ^K",^K',^K^) -  ^^ (Ctrl-caret or 6) reverses the case 
  819.     of the character at the cursor, if it was a letter, and moves to the next.
  820.          The ^K^ (^K-caret) command reverses all text in a marked block (see 
  821.     BLOCK COMMANDS); ^K" makes all text in the block uppercase, ^K' lowercase.
  822.  
  823. WINDOWS (^OW; AltW,AltF; ^[PgUp,PgDn]) -  VDE can split the screen into two 
  824.     windows, showing either two parts of the same file or two different files.  
  825.     In either case, AltF moves the cursor back and forth between the two 
  826.     windows.  ^[PgUp] and ^[PgDn] scroll BOTH windows in synchronization.
  827.         ^OW is used in a SINGLE file; it creates a window in the bottom half 
  828.     of the screen, duplicating the current file text.  You can move to a 
  829.     different place in the file within this window, and continue editing, with 
  830.     the original text still in view in the top window.  (Note: any 
  831.     modifications made to the file will not be reflected in the inactive 
  832.     window until you return to it.)  Type ^OW again to undo windowing.
  833.         AltW splits the screen Window between two DIFFERENT files being 
  834.     edited, showing you both at once.  Type AltW again to undo.
  835.         If you call up a command menu (like ^J or ^KP) that will not fit in 
  836.     one window on a small screen, windowing will be turned off to display it.
  837.  
  838.  
  839. ================================  7. MACROS  =================================
  840.  
  841.  
  842. AUTOEXEC MACRO (Esc0) -  Any macro you assign to the '0' key will execute 
  843.     automatically whenever you first enter VDE.  This feature can be used for 
  844.     a variety of purposes, including changing defaults not available through 
  845.     VINST options.  See also MACRO KEYS.
  846.  
  847. FUNCTION KEYS ([F1]...[F12]) -  Up to 48 macros can be assigned to function 
  848.     keys; they can then be recalled and used with one keystroke.  Each IBM 
  849.     function key can be used alone or with Shift, Ctrl, or Alt, to produce:
  850.                     [F1]...[F10]  =  F01...F10 in VDE notation
  851.               Shift-[F1]...[F10]  =  F11...F20
  852.                Ctrl-[F1]...[F10]  =  F21...F30
  853.                 Alt-[F1]...[F10]  =  F31...F40
  854.     And, if you have an Enhanced (101-key) AT keyboard, also:
  855.              [F11],[F12]  =  F41,F42         Ctrl-[F11],[F12]  =  F45,F46
  856.        Shift-[F11],[F12]  =  F43,F44          Alt-[F11],[F12]  =  F47,F48
  857.     VDE comes with [F1] set as a "Help" key (^J), but this can be changed.
  858.          Otherwise, function keys are defined (with the Esc[ or Esc] command, 
  859.     or with VINST) and used exactly like macro keys.  See MACRO KEYS.
  860.  
  861. KEY DEFINITION FILES (AltU) -  These files save sets of macro key or function 
  862.     key definitions, and should be given file types of ".VDK" and ".VDF", 
  863.     respectively.  You can load any key file, along with your text file(s) to 
  864.     edit, from the command line (see SYNTAX).
  865.          AltU can be used while editing: it will ask whether you want to 
  866.     "L"oad or "S"ave such a file, then prompt for the name of the file.  The 
  867.     filetype MUST be ".VDK" or ".VDF", and will determine whether MACRO or 
  868.     FUNCTION keys are affected.  If you load such a file, those definitions 
  869.     will replace any previous ones.  If you save, the current definitions will 
  870.     be written to the file.  [Key files can also be created or installed as 
  871.     defaults in your copy of VDE, using VINST.]
  872.  
  873. MACRO DEFINITION AND USE (Esc[,Esc]) -  To DEFINE a macro, type Esc[.  You 
  874.     will be asked for the macro definition; then, whether to Use or Store it.  
  875.     (On storing, see MACRO and FUNCTION KEYS.)  You may want to plan the macro 
  876.     first with pen and paper.  Many special IBM PC keys cannot be entered in a 
  877.     macro; you must use the WordStar equivalent (like ^R instead of [PgUp]).
  878.          Then you need to decide whether you want the macro to repeat (and if 
  879.     so how many times), and whether you want to watch it happen or not.
  880.             VDE asks "Make Quiet, No-repeat, Both?"  Reply "Q" for 
  881.          Quiet (fast) operation, or press [Enter] for visible (slower) 
  882.          execution.  (The "N" option is intended for storing keys, 
  883.          but can also be typed here to skip the next question.)
  884.             VDE asks "Repeat count?"  Type the number of times to 
  885.          execute (0-254), or just [Enter] for 1; or "*" to repeat 
  886.          indefinitely.
  887.         Normally, you can see the results as the macro executes, and you can 
  888.     cancel it at any time by pressing [Esc].  If you choose to speed up macro 
  889.     execution by specifying "Q"uiet mode, only the header will be updated as 
  890.     the macro runs.  (Don't do this if the macro concludes by requesting user 
  891.     input -- the necessary prompts would not display!)
  892.          Macros will stop automatically if an error condition occurs, in which 
  893.     case the error message will display briefly; or if the cursor attempts to 
  894.     move past the top or end of the file, in which case no error displays.  
  895.     (Exception: Esc$ can change error handling.  See MACRO PROGRAMMING.)  
  896.     Thus some macros will halt on their own when they reach the end of a file; 
  897.     others will have to be terminated manually, by pressing [Esc].
  898.          Once defined, a macro can be re-used with the Esc] command, which 
  899.     again gives you the options to Use or Store the previously defined macro.
  900.  
  901.          EXAMPLES:  Note -- for clarity, macro examples will be given here as 
  902.     they function, not as they are typed in; remember that you will need to 
  903.     add ^P prefixes for certain control keys ([BkSp] (^H), [Enter] (^M), ^J, 
  904.     ^X, ^U, ^P).  Keystrokes are often separated by spaces for clarity; the 
  905.     "_" symbol is used to represent an actual space character typed.
  906.             1.  Reformat an entire file: after Esc[, just enter
  907.                                   ^B
  908.          Specify Quiet and indefinite repeat as options ("Q,*").
  909.             2.  View a file by scrolling slowly through it:
  910.                                Esc; ^Z   (or ^C)
  911.          This pauses, then scrolls down.  (Again, repeat with "*".)
  912.             3.  Macros are quite powerful.  Can you figure out what 
  913.          this one does, if entered with indefinite repeat "*"?
  914.                 ^QR ^QF(^J ^G ^KB ^QF)^J ^G ^KK ^QC [Enter] ^KV
  915.          (It takes all phrases in parentheses out of a file, making 
  916.          a list of them at the end of the file.)
  917.  
  918.          TECHNICAL NOTE: Ordinarily macros are completely self-contained, and 
  919.     NEVER request input from the keyboard while executing.  There is one 
  920.     exception: using AltR to run a program from a macro is tricky.  Input 
  921.     while in the program or shell must be typed by you.  (VDE resumes control 
  922.     only when the program ends.)
  923.  
  924. MACRO KEYS (Esc0...Z) -  Both the Esc[ and Esc] commands also give the option 
  925.     of Storing the macro definition to a key.  Up to 36 of these can be stored 
  926.     on keys 0...9,A...Z; they can then be called up with two key-strokes.  (48 
  927.     more can be stored on IBM function keys; see FUNCTION KEYS.)  Example: if 
  928.     stored to key 3, a macro can be reused simply by typing Esc3.
  929.             VDE asks "Make Quiet, No-repeat, Both?"  Reply "Q" for a 
  930.          key that executes in Quiet (fast) mode; "N" for a key that 
  931.          runs once, without asking for a repeat count; or "B" for 
  932.          both of these.  Press [Enter] instead for a key that executes 
  933.          just like the "use macro" option, visibly, asking for a 
  934.          repeat count first.
  935.             VDE asks "Store to key?"  Press the desired key: a 
  936.          number 0...9 or letter A...Z for a Macro key (Esc0...Z), or 
  937.          a Function key like [F3], Alt[F9], etc.
  938.     Again, don't choose "Q"uiet for a key that will request input from you.
  939.          There is a total of about 974 bytes available for all 36 keys, and a 
  940.     128 byte limit for any one key.  (VDE's own input line is of limited 
  941.     width, but VINST can handle up to the full 128.)  Trying to use an 
  942.     undefined key results in an error.  You can delete a key definition by 
  943.     entering an empty macro string (Esc[, [Enter]) and storing it to the key.
  944.          Keys defined with Esc[ or ] last only during the current editing 
  945.     session (VDE.COM itself is not modified).  [VINST lets you install 
  946.     definitions permanently; see DEFAULT MACRO KEYS.]
  947.  
  948.          EXAMPLES: Keys are useful for storing a frequently repeated phrase; 
  949.     "EscW" is much more convenient than "World Wide Widgets Ltd. (N.A.)".  You 
  950.     might also use several for sets of margins, like: ^OL 5 [Enter] ^OR 60 
  951.     [Enter].  A key defined as ^QR ^N AltD ^OF would place the current date at 
  952.     the top right of a letter.  Many VDE users set up a macro key to produce a 
  953.     personalized letterhead: for example, the macro
  954.               ^N John Doe ^OC ^N 123 Main St ^OC ^N City, State ^OC
  955.     will insert that three-line address, neatly centered.  You can add print 
  956.     effects (bold, italic) to suit your taste.  For a solid line separating 
  957.     this from the body of the letter, try adding
  958.                           ^N ^PS ^OF ^E ^V ^PS ^V ^X
  959.          Macro keys can be used to create powerful new commands, for example: 
  960.     ^D ^A ^KB ^F ^KK will mark the current word as a block.  And, similarly, 
  961.     ^QS ^KB ^X ^KK will mark the current line as a block.
  962.          Macro keys can also effectively change the way VDE commands behave.  
  963.     For example, the Cut (AltC) command does not remove the cut text from the 
  964.     file; but if you wish it did, you can set up a command that does: just 
  965.     define EscC as a macro key consisting of AltC, ^KY.
  966.  
  967. MACRO PROGRAMMING (^F Esc; Esc0..Z Esc! Esc=,~,<,> Esc$ Esc() Esc+,- Esc&) - 
  968.     VDE has several commands that operate only within a macro definition, and 
  969.     give you conditional control over the execution of a macro, allowing real 
  970.     programming.
  971.          ^F, entered as part of an input string, will be replaced by the 
  972.     current filename when the macro executes.  This can be useful to refer to 
  973.     the current file when running compilers and file utilities.  Thus, if you 
  974.     define the macro
  975.                          AltR compile ^PF /g /r1 [Enter],
  976.     the ^F embedded in the string will be expanded, so that the DOS command 
  977.     executed by AltR will actually be something like
  978.                          compile C:\PGM\MYPROG.C /g /r1.
  979.          Esc; (Esc-semicolon) gives a brief pause before macro execution 
  980.     continues, presumably so the user can see what's happening on screen.  Use 
  981.     two or more to get a longer pause.
  982.          Esc0...Z, when placed IN a macro, function simply as local "labels" 
  983.     0...Z.  They have no effect, but can be "jumped" to by other commands.
  984.          Esc! followed by 0...Z is a "jump" instruction, causing macro 
  985.     execution to resume with the command following that label.  Example: Esc!2 
  986.     jumps to label 2.  As two special cases, Esc![ jumps to the beginning of 
  987.     the macro, and Esc!] jumps to the end (exits).
  988.          Esc= and Esc~ perform tests on the character at the current cursor 
  989.     position.  There are two ways to use them:
  990.               (1) Followed by a character, then a label 0...Z (or 
  991.          "[","]" for start or end), they are conditional jumps: they 
  992.          jump IF the character does (or for "~", does NOT) match the 
  993.          one specified.  Example: Esc~^M2 jumps to label 2 if the 
  994.          current character is NOT a CR.
  995.              (2) Followed by a character, then ">" or "<", they are 
  996.         search loops.  They will continue to move the cursor right 
  997.         (or for "<", left) as long as the character at the cursor 
  998.         does (or for "~", doesn't) match, or until the beginning or 
  999.         end of the file.  Example: Esc=_> moves right as long as the 
  1000.         current character is a space (so it stops on a NONspace).
  1001.          Similarly, Esc< and Esc> test the cursor character's ASCII value and 
  1002.     act accordingly: thus Esc<A2 jumps to label 2 if the character is less 
  1003.     than ASCII "A" (41 hex), etc.
  1004.          If you program an endless loop, you will at some point have to halt 
  1005.     execution of the macro by pressing Esc.
  1006.          Normally, a macro halts when an error occurs.  With Esc$ you can 
  1007.     instead specify a label where execution should continue.  Thus, after the 
  1008.     command Esc$E, any command resulting in an error (like "not found") will 
  1009.     cause a jump to label E, ignoring the error.
  1010.          Several commands allow the use of a counter variable.  Esc() sets the 
  1011.     value: for example, Esc(0) initializes it to zero.  The Esc+ command 
  1012.     simply increments the value; Esc-(minus) decrements the value, then jumps 
  1013.     if it is zero to a specified label.  (In addition to a number, you may use 
  1014.     "[" or "]" for the start or end, or "@" to avoid jumping entirely.)  
  1015.     Example: Esc-] decrements the counter, jumping to the end (exiting) if it 
  1016.     reaches zero; Esc-@ simply decrements it.
  1017.          Esc&, followed by 0...Z, is used to "chain" to another macro key.  In 
  1018.     this way you can build up strings longer than the 128-byte limit on any 
  1019.     one key.  This is a "jump", not a "call"; there is no returning.  Example: 
  1020.     Esc&M causes key M to execute.  (You cannot chain to function keys.)
  1021.          The examples below will give some idea of how these commands can be 
  1022.     used to construct your own new VDE commands.  They will work faster if 
  1023.     you store them as Quiet keys, but in general, don't make macro programs 
  1024.     Quiet until you're sure they work.
  1025.  
  1026.          EXAMPLES: 1. Here is a good macro program (best stored as a Quiet 
  1027.     key) to move the cursor to the start of the current sentence:
  1028.     Esc~.1 ^S Esc1 Esc~.< ^D Esc=_2 Esc=^M2 ^S^S Esc!1 Esc2 ^D Esc=_2 Esc=^M2
  1029.          You could explain this in programmer's pseudo-code as:
  1030.               If not "." goto label1    ;move left if already on period
  1031.               Move left
  1032.      label1:  While not "." move left   ;move left to previous period
  1033.               Move right                ;move right to following character
  1034.               If " "  or ^M goto label2
  1035.               Move left twice           ;skip over a period if it's not
  1036.               Goto label1               ;  followed by a space or return
  1037.      label2:  Move right                ;okay, now move right as long
  1038.               If " " or ^M goto label2  ;  as you see a space or return
  1039.               (all done)
  1040.          2. This macro moves to the start of the current paragraph:
  1041.                           ^QS ^S^S Esc=_[ ^D^D
  1042.          3. If you have some text that you can't reformat because every line 
  1043.     ends in HARD CRs, here is a macro that will "soften up" one paragraph's 
  1044.     worth, leaving just one HARD CR at the end:
  1045.                    ^QS ^X Esc=_] Esc=^M] ^S_^D Esc![
  1046.          4. This macro moves to the center of the current line; note how the 
  1047.     counter variable is used to figure the line length, then move back only 
  1048.     halfway:   ^QS Esc(0) Esc1 Esc+ ^D Esc~^M1 Esc2 Esc-] Esc-] ^S Esc!2
  1049.          5. Many programming languages use nested sets of parentheses, for 
  1050.     example "{}" in C.  This macro, when the cursor is placed on an open 
  1051.     bracket "{", will move ahead to find the closed bracket "}" that matches 
  1052.     it:  Esc~{] Esc(0) Esc1 Esc~{2 Esc+ Esc!3 Esc2 Esc~}3 Esc-] Esc3 ^D Esc!1
  1053.  
  1054. TOGGLE CONTROL (Esc*) -  "Toggle" commands can create difficulties when used 
  1055.     in macro and function keys: ^V, for example, toggles insert mode.  But 
  1056.     when you plan a macro key, you don't necessarily know how Insert will be 
  1057.     set when the key is used!  So if you use ^V in the macro, you don't know 
  1058.     whether you just turned it off or on; you might be overstriking or 
  1059.     inserting, and can't tell.
  1060.          The Esc* command provides a solution, by letting you specify exactly 
  1061.     what state you want for each toggle.  Esc* must be followed by a LETTER to 
  1062.     identify a toggle, UPPERcase to turn it ON or LOWERcase to turn it off.  
  1063.     (Insert and Justify each have a third state, as well.)  For example, Esc*i 
  1064.     will set INSERT OFF, regardless of its previous state.  The toggles are:
  1065.               Autoindent    (^OA)  'a'=off  'A'=on
  1066.               Doublespace   (^OS)  'd'=off  'D'=on
  1067.               auto Format   (^OM)  'f'=off  'F'=on
  1068.               Hyphenation   (^OH)  'h'=off  'H'=on
  1069.               Insert        (^V)   'i'=off  'I'=on  'W'=word
  1070.               Justification (^OJ)  'j'=off  'J'=on  'R'= emove
  1071.               Proportional  (^OK)  'p'=off  'P'=on
  1072.               Varitab       (^OV)  'v'=off  'V'=on
  1073.     Once you've used one of these you can revert to the usual commands (like 
  1074.     ^V), if you prefer, because you WILL now know the toggle setting.
  1075.               NOTE: Previous versions of VDE handled this problem 
  1076.          for Insert mode (alone) by turning insert OFF automatically 
  1077.          before running any macro.  This is no longer the case.
  1078.  
  1079. RECORDING MACROS (Esc") - As an alternative to composing macros and using the 
  1080.     Esc[ command to type them in, you can simply record a macro as you go 
  1081.     about a task.  Press Esc" to activate recording; type away; then press 
  1082.     Esc" again to conclude.  You will then be asked whether to use or store 
  1083.     it, etc (see MACROS).  No confusing ^P prefixes are needed, and you can 
  1084.     take advantage of the full 128-key macro length.  While recording, a quote 
  1085.     mark (") will be visible in the upper right (prefix) area of the header, 
  1086.     if the header is displayed.
  1087.          Note: Function and macro key commands themselves will not work while 
  1088.     macro recording is in progress.
  1089.  
  1090.  
  1091. =====================  8. REVIEWS / ABOUT THE AUTHOR  ========================
  1092.  
  1093.  
  1094.                    A sampling of recent comments about VDE:
  1095.  
  1096.        "VDE is a word-processing program for people who like their 
  1097.     programs lean, mean and simple... executes all the standard 
  1098.     operations necessary for writing articles, books or screenplays... 
  1099.     blazingly fast... Even the loading and storing of files is speedy."     
  1100.               - Paul Ciotti, Los Angeles Times Magazine (18 March 1990)
  1101.  
  1102.        "This may be the finest piece of word processing code ever 
  1103.     written.  I have never been as impressed with anything as I have with 
  1104.     VDE 1.5... writing software in 100 percent assembly language still 
  1105.     pays off in performance and reduced code size.  It's an astonishing 
  1106.     product, believe me.  It's more than the perfect laptop word 
  1107.     processor.  Actually, it's something that corporations should 
  1108.     consider if they want to save tens of thousands of dollars...  I 
  1109.     cannot give a higher recommendation for any product that I have seen 
  1110.     in ten years than I can for VDE 1.5.  Top recommendation."
  1111.               - John Dvorak, PC Magazine (24 April 1990)
  1112.  
  1113.        "What fascinated Dvorak was not just the astonishing functionality 
  1114.     achieved with very little programming code, but also the attitude -- 
  1115.     and implications -- of the author who circulated it freely asking 
  1116.     only for a modest sum for site licenses...  VDE is an amazing word- 
  1117.     processor, offering almost everything except the layout and document 
  1118.     processing features found in far fatter programs... it supports the 
  1119.     old WordStar command set... ergonomically the most efficient I've 
  1120.     ever learned."
  1121.               - Colin Brace, Language Technology/Electric Word (July/Aug 1990)
  1122.  
  1123.        "I've used various versions of WordStar, WordPerfect, and Wang 
  1124.     IWP.  I wouldn't trade my copy of VDE for shrink-wrapped sets of the 
  1125.     latest versions of all of these.  I congratulate you both on the 
  1126.     quality of your program and on your policy in making it available to 
  1127.     people."  - K.N., registered VDE user (August 1991)
  1128.  
  1129.  
  1130.      As of Spring 1992, VDE can be found in "Dvorak's Top 30", a boxed 
  1131. collection of shareware applications published by Interplay Productions, 
  1132. available in retail stores.  It is also included on-disk with the book 
  1133. "Dvorak's Inside Track to DOS and PC Performance" by John Dvorak and Nick 
  1134. Anis, published by Osborne/McGraw-Hill.
  1135.  
  1136.  
  1137.                                ABOUT THE AUTHOR
  1138.  
  1139.      Eric Meyer holds an A.B. in physics and a Ph.D. in history and philosophy 
  1140. of science, and has taught at the Universities of Indiana, Oklahoma, and 
  1141. Colorado.  A longtime advocate of microcomputers, he has done programming in 
  1142. HP-41, Z80 assembler, BASIC, FORTRAN, LISP, C, and APL; lately he has been 
  1143. writing utilities in 8086 assembler for the IBM PC.  In a period of escalating 
  1144. software complexity and retail prices, he still believes it is important that 
  1145. useful, inexpensive software remain available to computer users worldwide.
  1146.  
  1147.  
  1148. ================================[end VDE.REF]=================================
  1149.