home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / EDITORES / VEDT.ZIP / VPHELP.HLP < prev    next >
Encoding:
Text File  |  1990-10-16  |  50.6 KB  |  1,528 lines

  1. BASIC COMMANDS                TEXT REGISTER COMMANDS
  2. A    Append text from input file    RA    Auto-execute text register
  3. B    Go to beginning of text        RC    Copy text to text register
  4. C    Change edit position        RD    Dump register
  5. D    Delete characters        RE    Empty text register
  6. F    Find string            RF    Select file using Point&Shoot
  7. G    Get (copy) text within file    RG    Get (insert) register
  8. H    Help                RI    Insert into text register
  9. I    Insert text            RJ    Jump to macro register
  10. K    Kill text            RL    Load register from disk
  11. L    Line change            RM    Match register/edit buffer
  12. M    Macro execution            RP    Print text register
  13. N    Next string (search)        RPOP    Pop text registers
  14. S    Search and Replace        RPUSH    Push text registers
  15. T    Type text            RPROT    Write-protect registers
  16. U    Display unused/used memory    RQ    Query for input line
  17. V    Enter Visual mode        RR    Register to register copy
  18. W    Write text to output file    RS    Save register to disk
  19. Z    Go to end of text        RT    Type (display) register
  20.                     RU    Display size of registers
  21. R*    Comment line            RX    Load and execute register
  22.  
  23. Type letter(s) for desired command or <Enter> for next screen: 
  24. EXTENDED COMMANDS
  25. EA    Save file and edit again    EU    Change drive/directory
  26. EB    Edit new file (with backup)    EV    VEDIT version number
  27. EC    Change disks            EW    Open write (output) file
  28. ED    Display disk directory        EX    Finish edit session, exit
  29. EE    Enter edit buffer        EY    Finish edit session, remain
  30. EF    Finish (close file)        EZ    Quit edit session, remain
  31. EG    Insert (get) text file
  32. EH    Query extra help file        JUMP COMMANDS
  33. EI    Insert special character    JL    Exit loop
  34. EJ    Set (jump) edit pointer        JM    Exit macro (return)
  35. EK    Erase (kill) file        JN    Start next iteration
  36. EL    Display enumerated lines    JO    Abort to Command Mode prompt
  37. EM    Match text at edit pointer    JP    Jump to specified label
  38. EN    Need room, squeeze buffer
  39. EO    Set/Display edit options    PRINT COMMANDS
  40. EP    Set/display edit parameters    PE    Eject page
  41. EQ    Quit edit session, leave    PF    Flush print job (network)
  42. ER    Open read (input) file        PP    Set/display print parameters
  43. ES    Set/display edit switches    PR    Print text
  44. ET    Set/display tab positions
  45.  
  46. Type letter(s) for desired command or <Enter> for next screen: 
  47. MISCELLANEOUS COMMANDS
  48. YA    Alert - sound tone        YUD    Undo (insert) last deletion
  49. YB    Write block to disk        YUE    Undo last edit operation
  50. YC    Set block-column override    YUR    Reset Undo stacks
  51. YD    Dump ASCII char to console    YV    Execute Visual Mode functions
  52. YF    Format paragraph        YZ    Delay
  53. YG    Search matching parentheses
  54. YI    Insert (reroute) console text    OPERATING SYSTEM COMMANDS
  55. YKL    Load keyboard layout from disk    OC    Execute DOS command/program
  56. YKS    Save keyboard layout to disk    OD    Display date
  57. YML    Set left margin            OH    Harware access commands
  58. YMR    Set right margin        OS    Shell (enter) DOS
  59. YMS    Set (Visual) scroll amount    OT    Display time
  60. YOD    Route console text to DOS
  61. YOF    Route console text to file
  62. YP    Route console text to printer
  63. YR    Route console text to T-Reg.
  64. YS    Strip high bits from text
  65. YT    Type text string
  66.  
  67.  
  68.  
  69. Type letter(s) for desired command or <Enter> for next screen: 
  70. WINDOW COMMANDS
  71.  
  72. YEA    Set window attribute(s)        YWA    Attach window to edit buffer
  73. YEB    Type blanks (spaces)        YWB    Create window at bottom
  74. YEC    Clear window            YWD    Delete a window
  75. YEH    Position cursor horizontally    YWI    Initialize/remove windows
  76. YEL    Erase end-of-line in window    YWL    Create window at left
  77. YEM    Change screen size (mode)    YWR    Create window at right
  78. YEN    Type new-lines (blank lines)    YWS    Switch to another window
  79. YES    Erase end-of-screen in window    YWT    Create window at top
  80. YET    Tab-out to specified column    YWZ    Zoom current window
  81. YEV    Position cursor vertically
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92. Type letter(s) for desired command or <Enter> for next screen: 
  93. NUMERIC REGISTER COMMANDS
  94.  
  95. XA    Add to numeric register
  96. XBB    Set/clear block-begin marker
  97. XBE    Set/clear block-end marker
  98. XF    Read function key
  99. XI    Insert numeric value into text
  100. XK    Read any key
  101. XM    Set/clear a text marker
  102. XPOP    Pop numeric registers
  103. XPUSH    Push numeric registers
  104. XQ    Query and input numeric value
  105. XS    Set numeric register
  106. XT    Type numeric register
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115. Type letter(s) for desired command or <Enter> for next screen: 
  116.  
  117. HELP IS AVAILABLE ON THESE TOPICS:
  118.  
  119.         Command Modifiers:
  120.  _         Global file operations
  121.  @        Explicit text delimiter, block-column modifier
  122.  :        Suppress error message, suppress <CR><LF>
  123.  $ and \    Override search mode
  124.  
  125. [ENTER CTRL]    (<CTRL-Q>) Enter Control characters.
  126. [CANCEL]    (<CTRL-C>) Cancel operation / macro.
  127.  
  128.  .        Internal Values
  129.  
  130.  ;        Shorthand for ".erJL"
  131.  "        ASCII constant specifier
  132.  ^        Control character specifier
  133.  
  134.  
  135.  
  136.  
  137.  
  138. Type character(s) for Topic or <Enter> for next screen: 
  139.             GENERAL INFORMATION
  140.  
  141. KEYBOARD CONTROL            GENERIC/INDIRECT
  142. <CTRL-Q> Literal Character        |    Search pattern code
  143. <CTRL-C> BREAK out             |R    Variable filename specifier
  144.                     #x    Num. reg. 'x' has buffer name
  145. <ESC>     Terminate string/command    #x    Num. reg. 'x' has window name
  146. ESC ESC     Begin processing commands
  147. <CR>     Begin processing commands
  148.  
  149. COMMAND MODIFIERS            NUMERIC SPECIFIERS
  150. _     Global file operations        #    Maximum number 8,388,607
  151. @    Explicit text delimiter        "    ASCII constant specifier
  152. :    Suppress error message        ^    Control character specifier
  153. :     Suppress <CR><LF>        Q    Numeric register
  154. -    Backwards, opp., diminished    .    Internal read-only values
  155. +    Augmented command (e.g. +RL)
  156.  
  157. HELP AIDS                MISCELLANEOUS
  158. ??    Display last executed commands    ;    Shorthand for ".erJL"
  159. ?    Enter trace mode        ,    Separates second parameter
  160.                     !    Label/comment delimiter
  161.  
  162. Press <Enter> to continue: 
  163.             GENERAL INFORMATION
  164.  
  165. NUMERIC OPERATORS            LOGICAL OPERATORS
  166. +    Addition            &    AND
  167. -    Subtraction            |  ^    OR
  168. *    Multiplication            ~    NOT
  169. /    Division
  170. %    Remainder of division
  171. &    Bitwise AND
  172. ^    Bitwise OR
  173. '    Bitwise complement
  174.  
  175.  
  176. RELATIONAL OPERATORS            OPERATOR PRECEDENCE
  177. =  ==    Equal to            '          Complement
  178. <>    Not equal to            *  /  %          Mult., Div., Remainder
  179. <    Less than             +  -          Addition, subtraction
  180. <=    Less than or equal to        <  >  =  etc. Relationals
  181. >    Greater than            ~          NOT
  182. >=    Greater than or equal to    &          AND (Bitwise & Logical)
  183.                     ^  |          OR  (Bitwise & Logical)
  184.  
  185. Press <Enter> to return to Command Mode: 
  186.  
  187. \A\ \W\
  188. nA    Append 'n' lines from the input file to the edit buffer.
  189. 0A    Append lines until edit buffer is nearly full.
  190.  
  191. -nA    Read back 'n' lines from the output file.
  192. -0A    Read back lines until the edit buffer is nearly full.
  193.  
  194.  
  195. nW    Write 'n' lines to the disk from the beginning of the edit buffer and
  196.     delete them from the buffer.
  197.  
  198. 0W    Write out the edit buffer up to the current line.
  199.  
  200. -nW    Write last 'n' lines in the edit buffer to the ".$R$" file.
  201.     This makes more memory space free.
  202.  
  203. -0W    Write the current line and the rest of the edit buffer to the
  204.     ".$R$" file.
  205.  
  206. \B\ \Z\
  207. B    Move to the beginning of the edit buffer or file, depending upon the
  208.     "global file" option (ES 10).
  209.  
  210. :B    Move to the beginning of the edit buffer.
  211.  
  212. _B    Move to the beginning of the file.
  213.  
  214.  
  215. Z    Move past the last character in the edit buffer or file, depending
  216.     upon the "global file" option.
  217.  
  218. :Z    Move past the last character in the edit buffer.
  219.  
  220. _Z    Move past the last character in the file.
  221.  
  222. \C\ \L\
  223. mC    Move the edit pointer by 'm' characters.
  224.  
  225. m_C    Move the edit pointer, performing file buffering if necessary.
  226.  
  227.  
  228. mL    Move the edit pointer by 'm' lines and leave at the beginning of
  229.     that line.
  230.  
  231. m_L    Move, performing file buffering if needed.
  232.  
  233. 0L    Move to the beginning of the current line.
  234.  
  235. m:L    Suppresses the error message and command abort in case the command
  236.     attempts to go past the beginning or end of the text. However the
  237.     current iteration loop is still terminated and the ".er" error flag
  238.     is set.
  239.  
  240. \D\ \K\
  241. mD    Delete 'm' characters, starting at the edit pointer.
  242. m_D    Delete 'm' characters, performing file buffering if necessary.
  243.  
  244. p,qD    Delete the block of text between file positions 'p' and 'q'. The
  245.     edit pointer is moved to the character following the deleted text.
  246.  
  247. p,q@D    Delete a columnar block of text. If "YC" is not set, file positions
  248.     'p' and 'q' define the "corners" of the columnar block. If "YC" is
  249.     set, 'p' and 'q' define the outer limits and "YC" defines the columns
  250.     of the block.
  251.  
  252. 0,1D    Delete the first character in the file. The edit pointer also moves
  253.     to the beginning of the file.
  254.  
  255. mK    Kill 'm' lines of text.
  256. m_K    Kill 'm' lines, performing file buffering if necessary.
  257.  
  258. 0K    Delete characters from beginning of line up to edit position.
  259.  
  260. 0KK    Kill (delete) the current line.
  261.  
  262. p,qK    Equivalent to "p,qD".
  263.  
  264. \E\
  265. E    First letter of extended two letter commands.
  266.  
  267. \F\
  268. nF/string/    Search forwards for the 'n'th occurrence of 'string' and
  269.         position the edit pointer after it.
  270.  
  271. nF(string)    Alternate command form using the special delimiters "(" and
  272.         ")".
  273.  
  274. nFstring<ESC>    Command form when explicit delimiters are globally disabled.
  275.  
  276. n@F/string/    Alternate command form using explicit delimiters, when they
  277.         are globally disabled.
  278.  
  279. p,qF/string/    Restrict the search within the block of text between file
  280.         positions 'p' and 'q'.
  281.  
  282. p,q@F/string/    Restrict the search within a columnar block of text. File
  283.         positions 'p' and 'q' define the "corners" of the columnar
  284.         block. Note that explicit delimiters must be used.
  285.  
  286. F//        Search again for the previously used 'string'.
  287.         (Explicit delimiters must be enabled or use "@F//".)
  288.  
  289. F<ESC><ESC>    Search again for the previously used 'string'.
  290.  
  291. -nF/string/    Perform the search in the reverse direction. The edit
  292.         pointer is positioned at the beginning of 'string'.
  293.  
  294. n:F/string/    Suppresses the error message and command abort in case
  295.         'string' is not found. However the current iteration loop is
  296.         still terminated and the ".er" and ".es" error flags are set.
  297.  
  298. m_F/string/    Search for the 'm'th occurrence of 'string', performing file
  299.         buffering if necessary. The "_" is only needed when the
  300.         "global file" option is not set.
  301.  
  302.         (If file buffering is performed and there are no more
  303.         occurrences of 'string', the edit pointer is left at beginning
  304.         of the buffer for forward searches and at the end of the
  305.         buffer for reverse searches).
  306. \G\
  307. p,qG        Copy (get) the block of text between file positions 'p' and
  308.         'q' to the edit pointer. 'p' and 'q' must be in memory.
  309.  
  310. p,q@G        Copy a columnar block of text to the edit pointer. If "YC"
  311.         is not set, file positions 'p' and 'q' define the "corners"
  312.         of the columnar block. If "YC" is set, 'p' and 'q' define
  313.         the outer text limits and "YC" defines the columns of the
  314.         columnar block.
  315.  
  316. \H\ \EH\
  317. H        On-line help for Command Mode commands using the help file
  318.         "VPHELP.HLP".
  319.  
  320. H text <term>    Immediately search help file for "\text\" and display
  321.         the associated help message.
  322.  
  323. EH <term>    On-line help for Command Mode topics using the help file
  324.         "VPEHELP.HLP".
  325.  
  326. EH text <term>    Immediately search help file for "\text\" and display
  327.         the associated help message.
  328.  
  329. \I\
  330. I/text/        Insert 'text' into the edit buffer and advance the edit
  331.         pointer past 'text'.
  332.  
  333. Itext<ESC>    Command form when explicit delimiters are globally disabled.
  334.  
  335. @I/text/    Alternate command form using use explicit delimiters when they
  336.         are globally disabled.
  337.  
  338. nI/text/    Insert 'n' copies of 'text' into the edit buffer.
  339.  
  340. -I/text/    Overwrite existing characters with 'text'.
  341.  
  342. \M\
  343. M(r)    Execute text register 'r' as a command macro. When finished,
  344.     continue processing the commands following "M(r)".
  345.  
  346.     See also "RJ(r)" and "RX(r)".
  347.  
  348. \N\
  349. mN/string/    Search for the 'm'th occurrence of 'string' and position the
  350.         edit pointer after it. If 'm' is negative search backwards.
  351.  
  352.     NOTE:    "N" is the same as "`osF`os", except it does does not use or
  353.         alter the current search string. Therefore, 'string' must
  354.         be specified each time; "N//" is INVALID.
  355.  
  356.         "N" is intended for use inside macros which perform searching,
  357.         but should not alter the [FIND] and [REPLACE] strings.
  358.  
  359. \O\
  360. O    First letter of two letter DOS commands.
  361.  
  362. \P\
  363. P    First letter of two letter printing commands.
  364.  
  365. \Q\
  366. Qx    Access the value in numeric register 'x'. Not a command!
  367.  
  368. Q(x)    Equivalent.
  369.  
  370. \R\
  371. R    First letter of two letter text register commands.
  372.  
  373. \S\
  374. nS/ss/text/        Search for the next occurrence of 'ss', and if found,
  375.             replace it with 'text'; perform 'n' times.
  376.  
  377. #S/ss/text/        Search for all occurrences of 'ss' and replace with
  378.             'text'.
  379.  
  380. p,qS/ss/text/        Restrict the replacement within the block of text
  381.             between file positions 'p' and 'q'.
  382.  
  383. p,q@S/ss/text/        Restrict the replacement within a columnar block of
  384.             text. File positions 'p' and 'q' define the "corners"
  385.             of the columnar block. Note that explicit delimiters
  386.             must be used.
  387.  
  388. nSss<ESC>text<ESC>    Command form when explicit delimiters are not used.
  389.  
  390. n_:S/ss/text/        Replace the next 'n' occurrences of 'ss' with 'text',
  391.             performing file buffering if needed. Suppress error
  392.             message in case 'ss' is not found 'n' times.
  393.  
  394. \T\
  395. mT    Type (display) 'm' lines of text.
  396.  
  397. m_T    Type lines, performing file buffering if needed. The edit pointer
  398.     position is restored following file buffering.
  399.  
  400. p,qT    Type the block of text between file positions 'p' and 'q'. The
  401.     edit pointer is moved to file position 'p'.
  402.  
  403. p,q@T    Type a columnar block of text. If "YC" is not set, file positions
  404.     'p' and 'q' define the "corners" of the columnar block. If "YC" is
  405.     set, 'p' and 'q' define the outer limits and "YC" defines the columns
  406.     of the block.
  407.  
  408. \U\ \RU\
  409. U    Display # of free bytes in current edit buffer; # bytes used in the
  410.     edit buffer; total # bytes in all text registers which are not edit
  411.     buffers. Also displays name of the current edit buffer (except for
  412.     the main '@' edit buffer).
  413.  
  414. RU    After displaying memory usage as in the 'U' command, display the size
  415.     of each text register. Astericks "*" indicate edit buffers.
  416.  
  417. \V\
  418. V    Enter Visual Mode - sets cursor position from current edit pointer.
  419.  
  420. -V    Perform only an update of the Visual Mode window. Remains in Command
  421.     Mode. Primarily used inside macros which need to update a Visual
  422.     Mode window. The Visual Mode window(s) update automatically while
  423.     waiting for keyboard characters.
  424.  
  425. \EA\
  426. EA    Save the file being edited on disk and allow further editing
  427.     to continue. Maintains edit position and text markers.
  428.  
  429. :EA    Save file, but suppress "Saving..." message.
  430.  
  431. -EA    Save file, but leave edit pointer at the beginning of file.
  432.     Maintains text markers.
  433.  
  434. +EA file    Save the current file under the new name 'file' and allow
  435.         further editing under this new filename.
  436.  
  437. \EB\
  438. EB file <term>    Begin editing the file 'file'. If the file does not exist
  439.         "NEW FILE" is displayed.
  440.  
  441. EB file1 file2  Open 'file1' for reading and 'file2' for writing; read
  442.         'file1' into memory.
  443.  
  444. EB <term>    Display the current input and output filenames.
  445.  
  446. \EC\
  447. EC    Allow user to change disks. Used for write error recovery, or
  448.     to edit files on other disks.
  449.  
  450. \ED\
  451. ED fspec    Display disk directory. Optional drive, path, and wildcard
  452.         characters "?" and "*" may be specified.
  453.  
  454. nED fspec    Display the filenames in 'n' columns instead of 4.
  455.  
  456. -ED fspec    Display the filenames in one column and omit the header line.
  457.         Also omits extra spaces in filenames.
  458.  
  459. -0ED fspec    Same as "-ED" except it also omits subdirectory names and
  460.         other files with attributes.
  461.  
  462. :ED fspec    Test for existence of the file 'fspec'. Report result in
  463.         ".rv": 0 = file doesn't exist; 1 = file exists, n = number
  464.         of files matched by the wildcard specification.
  465.  
  466. 0:ED fspec    Same as ":ED" except it omits subdirectory names and other
  467.         files with attributes.
  468.  
  469. Note:        ".rv" is set by all forms of the "ED" command.
  470.  
  471. YI -ED -YI    Insert the disk directory into the edit buffer, one file per
  472.         line.
  473.  
  474. \EE\
  475. EE(r)    Switch to begin editing in buffer 'r', converting text register 'r'
  476.     into an edit buffer if not one already.
  477.  
  478. EE(#x)    Switch to the buffer specified by the ASCII value contained in
  479.     numeric register 'x'.
  480.  
  481. -EE(r)    Do not perform file buffering on current edit buffer before
  482.     switch to edit buffer 'r'. (See also "EN").
  483.  
  484. :EE(r)    Suppress normally displayed message.
  485.  
  486. \EF\
  487. EF    Close the current output file WITHOUT writing additional text.
  488.     The input file and edit buffer are unaffected. Primarily used after
  489.     a "W" command.
  490.  
  491.     USE WITH CAUTION!  INCORRECT USE WILL RESULT IN DELETED FILES!
  492.  
  493. EFY    Skip the confirmation prompt.
  494.  
  495. \EG\ \EL\
  496. EG file[line range]    Insert the specified line range of 'file' into the
  497.             edit buffer and advance the edit pointer. If no line
  498.             range is specified, the entire file is inserted.
  499.  
  500.  
  501. EL file[line range]    Display with line numbers the specified line range of
  502.             'file'. If no line range is specified, the entire
  503.             file is displayed.
  504.  
  505. \EI\
  506. nEI    Insert the character with decimal value 'n' into the edit buffer and
  507.     advance the edit pointer. The value "26" <CTRL-Z> is not allowed.
  508.     Values of 128 to 255 are allowed.
  509.  
  510. -nEI    Overwrite the existing character at the edit pointer; advance the
  511.     edit pointer. Gives error if at end-of-file.
  512.  
  513. \EJ\
  514. nEJ    Jump the edit pointer to the 'n'th position in the file. Range is
  515.     0 - 8,388,607. "0EJ" jumps to the beginning of the file.
  516.  
  517. \EK\
  518. EK fspec    Erase (kill) the file(s) specified by 'fspec' from the disk. This
  519.         frees more space on the disk. Optional drive, path, and wildcard
  520.         characters "?" and "*".
  521.  
  522.         Requires confirmation after displaying filenames about to be erased.
  523.  
  524. -EK fspec   Erase the specified files, skipping the directory display and
  525.         confirmation prompt.
  526.  
  527. :EK fspec   Suppress error is the file(s) is not found.
  528.  
  529. -:EK fspec  Erase the specified files, skipping confirmation and suppressing
  530.         error if not found.
  531.  
  532. Note:        ".rv" is set to the number of files erased.
  533.  
  534. \EM\
  535. nEM/ss/        Compare the text at edit pointer with 'ss'; advance edit
  536.         pointer if it matches. Must match 'n' times to be successful.
  537.         'ss' may contain patern matching codes.
  538.  
  539.     .rv    .n    .er (.es)
  540.     -------------------------
  541.     0    #     0        Match, '.n' = # edit chars matched
  542.     1    -    1        No match - 'ss' lexically less
  543.     2    -    1        No match - 'ss' lexically greater
  544.     3    -    1        No match - 'ss' contains pattern codes
  545.  
  546.         As with the "F" command, ".er" is not set when 'n' is "#"
  547.         and at least one occurrence of 'ss' is matched.
  548.  
  549. EM/|W/        Spans (skips over) white space.
  550.  
  551. #EM/|A/        One way to move the edit pointer past the end of a word.
  552.  
  553. See also:    "RM".
  554.  
  555. \EN\
  556. nEN    Free 'n' bytes of memory space in edit buffer, if possible.
  557.  
  558. 0EN    Make configured "Free memory after auto-read" free.
  559.  
  560. EN    Squeeze edit buffer down to configured "page" size.
  561.  
  562. Note:    Primarily for backwards compatibility with macros written for older
  563.     versions of VEDIT PLUS.
  564.  
  565. \EO\
  566. EO <term>    Display current values of all editing options.
  567.  
  568. EO n<term>    Store value of parameter 'n' in ".rv".
  569.  
  570. EO n k        Change the value of parameter 'n' to 'k' after saving
  571.         the old value in ".rv". Affects all edit buffers.
  572.  
  573. 1   Cursor type                (0 - 4)
  574. 2   Cursor blink rate            (10 - 255)
  575. 3   Cursor positioning mode        (0 - 4)
  576. 4   Typewriter emulation mode        (0 - 2)
  577. 5   Expand <TAB> key with spaces    (0=NO 1=YES)
  578. 6   Auto-Cancel [FIND] and [REPLACE]    (0=NO 1=YES)
  579. 7   Auto-Cancel Block Markers        (0=NO 1=YES)
  580. 8   Insert Mode (Visual Mode)        (0=NO 1=YES)
  581. 9   Block-Columnar Mode (Visual Mode)    (0=NO 1=YES)
  582. 10  Keyboard Input processing        (0 - 7)
  583. 11  Screen Output processing        (0 - 3)
  584. 12  Delay for Command Mode scrolling    (0 - 255)
  585. 13  Help level                (0 - 1)
  586. 14  Mouse cursor            (0=OFF 1=CORNER 2=CENTER)
  587. 15  Keyboard repeat rate        (0=Off, 1 - 32)
  588. 16  Use V-SWAP when entering DOS    (0=NO 1=YES)
  589.  
  590. \EP\
  591. EP <term>    Display current values of all parameters.
  592.  
  593. EP n<term>    Store value of parameter 'n' in ".rv".
  594.  
  595. EP n k        Change the value of parameter 'n' to 'k' after saving
  596.         the old value in ".rv". Affects all edit buffers.
  597.  
  598. -EP n k        Affects only the current edit buffer.
  599. :EP n k        Affects only the current and subsequently created edit buffers.
  600.  
  601. 1   User configured parameter        (0 - 255)
  602. 2   Auto-Indent mode            (0=NO 1=YES)
  603. 3   Indent increment            (1 - 20)
  604. 4   Lower/upper case conversion        (0=NO, Mode 1, 2 or 3)
  605. 5   Conditional conversion character    (32 - 126)
  606. 6   Left margin                (0 - 80)
  607. 7   Right margin            (0=Off, 20 - 255)
  608. 8   End of line character        (0 - 255)
  609. 9   Tab fill character            (0 - 255)
  610. 10  Horizontal scroll margin        (0=Off, 40 - 255)
  611. 11  Horizontal scroll increment        (1 - 100)
  612. 12  File type                (0=Binary 1=Text 2=EOF-Mark 3=Padding)
  613. 13  Normal End-Of-Line            (0=CR+LF 1=LF)
  614.  
  615. \EQ\ \EZ\
  616.  
  617. EQ    Quit (abandon) the file in the current edit buffer. Any changes are
  618.     lost. If there are any other edit buffers, switch to one of them;
  619.     otherwise, return to DOS. Requests confirmation if the file has been
  620.     altered.
  621.  
  622. EQY    Skip the confirmation prompt.
  623.  
  624. @EQ    Switch to main "@" edit buffer after quitting current buffer.
  625.  
  626. -EQ    Same as "EZ" - quit file, but stay in edit buffer.
  627.  
  628. EQA    Quit all edit buffers without saving changes.
  629.  
  630. EQAY    Skip the confirmation prompt. (BAD HABIT TO GET INTO!!)
  631.  
  632.  
  633. EZ    Quit (abandon) the file in the current edit buffer. Any changes are
  634.     lost. Stays in the current edit buffer. Requests confirmation if
  635.     the file has been altered.
  636.  
  637. EZY    Skip the confirmation prompt.
  638.  
  639. \ER\ \EW\
  640. ER file        Open the file 'file' for input (reading).
  641.  
  642. ER <term>    Display the input (read) filename.
  643.  
  644. +ER <term>    Display filename and include its drive and/or path.
  645.  
  646. :ER <term>    Display, but suppress "INPUT FILE:" header and final <CR><LF>.
  647.  
  648.  
  649. EW file        Open the file 'file' for output (writing). Any existing file 
  650.         by that name will be renamed to have the file extension ".BAK" 
  651.         when the file is saved to disk.
  652.  
  653. EW <term>    Display the output (write) filename.
  654.  
  655. +EW <term>    Display filename and include its drive and/or path.
  656.  
  657. :EW <term>    Display, but suppress "OUTPUT FILE:" header and final
  658.         <CR><LF>.
  659.  
  660. \ES\
  661. ES <term>    Display current values of all switches.
  662.  
  663. ES n<term>    Store value of switch 'n' in ".rv".
  664.  
  665. ES n k        Change the value of switch 'n' to 'k' after saving
  666.         the old value in ".rv". Affects all edit buffers.
  667.  
  668. 1   Enable auto-buffering            (0=NO 1=FWD 2=FWD & BACK)
  669. 2   Retab during block-column insert        (0=NO 1=YES)
  670. 3   Trim spaces after block-column insert    (0=NO 1=YES)
  671. 4   Advance cursor past block insert        (0=NO 1=YES)
  672. 5   Equate UC/LC when searching            (0=NO 1=YES)
  673. 6   Regular expression search mode        (0=NO 1=YES)
  674. 7   Undo in Command Mode            (0=NO 1=COMMAND 2=MACROS)
  675. 8   Suppress error handling            (0=NO 1=PARTIAL 2=FULLY)
  676. 9   Explicit string delimiters            (0=NO 1=YES)
  677. 10  Enable global file operations        (0=NO 1=YES)
  678. 11  Justify paragraphs                (0=NO 1=YES 2=UNJUSTIFY)
  679. 10  Enable backup files                (0=NO 1=YES)
  680.  
  681. \ET\
  682. ET n1,n2,n3 ...    Set new tab positions. ET is followed by up to 33 decimal
  683.         numbers specifying the tab positions. Affects all edit
  684.         buffers.
  685.  
  686. -ET n1,n2 ...    Affects only the current edit buffer.
  687. :ET n1,n2 ...    Affects only the current and subsequently created edit buffers.
  688.  
  689. ET n        When ET is followed by just one 'n', tabs are set to every
  690.         'n' positions.
  691.  
  692. ET        Display current tab positions.
  693.  
  694. \EU\
  695. EU d:subd    Change to drive 'd' and/or subdirectory 'subd'.
  696.  
  697. EU <term>    Display current drive/subdirectory.
  698.  
  699. :EU <term>    Display, but suppress header and final <CR><LF>.
  700.  
  701. \EV\
  702. EV        Display the VEDIT version number.
  703.  
  704. \EX\ \EY\
  705. EX    Exit edit buffer after saving entire file being edited on disk. If
  706.     there are any other edit buffers, switch to one of them; otherwise,
  707.     return to DOS.
  708.  
  709. @EX    Same as "EX", but always switches to the main edit buffer "@".
  710.  
  711. :EX    Suppress normally displayed message.
  712.  
  713. -EX    Same as "EY" - save file, but stay in edit buffer.
  714.  
  715. EXA    Exit all edit buffers, saving edit changes for all output files that
  716.     are open.
  717.  
  718.  
  719. EY    Save the entire file being edited on disk and remain in the current
  720.     edit buffer. You can edit another file with the "EB" command.
  721.  
  722. :EY    Suppress normally displayed message.
  723.  
  724. Note:    Only altered files are rewritten to disk.
  725.  
  726. \J\ \JL\ \JM\ \JN\ \JO\ \JP\
  727. Jump Commands:
  728.  
  729. cJL        If 'c' is TRUE, exit the current REPEAT-UNTIL loop.
  730.  
  731. cJM        If 'c' is TRUE, exit the currently executing macro.
  732.  
  733. cJN        If 'c' is TRUE, start next iteration of current loop.
  734.  
  735. cJO        If 'c' is TRUE, abort any macro and return to the Command
  736.         Mode prompt or to an "auto-executing" macro.
  737.         (See "RA" command).
  738.  
  739. +JO        Abort any macro and return to Visual Mode unless there is an
  740.         "auto-executing" macro.
  741.  
  742. cJP/label/    If 'c' is TRUE, jump to !label!.
  743.  
  744. cJPlabel<ESC>    Alternate form when explicit delimiters are not enabled.
  745.  
  746. Note:        If no 'c' is specified, the Jump is taken unconditionally.
  747.  
  748. \OC\ \OS\
  749. OCcommand<term> Execute the specified DOS command or program. Returns to
  750.         VEDIT after command/program is done. If V-SWAP is installed
  751.         in memory and {CONFIG, File Handling, Use V-SWAP when entering
  752.         DOS} is set, VEDIT will be swapped out of memory. ".rc" will be
  753.         set to the return code (errorlevel) from the DOS program.
  754.  
  755. OC|Rr<term>    Execute the DOS command in text register 'r'.
  756.  
  757. -OCcommand    Suppress the "Press any key to continue" prompt upon returning
  758.         to VEDIT.
  759.  
  760. @OC/command/    "@" modifier MUST be present to use explicit delimiters.
  761.  
  762. OS        Temporarily enter DOS. Return to VEDIT with the DOS command
  763.         "EXIT".
  764.  
  765. @OS/prompt/    Enter DOS using the specified DOS prompt.
  766.  
  767. @OS/$p$g$g/    Example.
  768.  
  769. -OS        Enter DOS using the existing DOS prompt.
  770.  
  771. Note:        Don't use the command "DOS" to enter DOS, the "D" deletes
  772.         a character.
  773.  
  774. \OD\ \OT\
  775. OD        Display the current system date.
  776.  
  777. :OD        Suppress the final <CR><LF>.
  778.  
  779. YI OD -YI    Insert the date into the text.
  780.  
  781. OT        Display the current system time.
  782.  
  783. :OT        Suppress the final <CR><LF>.
  784.  
  785. +OT        Display system time with 1/18 second resolution.
  786.  
  787. \OH\
  788. Note: these hardware access commands require a preceding "+" as a safety
  789.       precaution.
  790.  
  791. +nOHI        Input a 16 bit Word from I/O port 'n'. The value is
  792.         placed in the internal value ".rv".
  793.  
  794. +n@OHI        Input an 8 bit Byte from I/O port 'n'. The value is
  795.         placed in ".rv".
  796.  
  797. +n,kOHO        Output the 16 bit value 'k' to I/O port 'n'.
  798.  
  799. +n,k@OHO    Output the 8 bit value 'k' to I/O port 'n'.
  800.  
  801. +n,kOHR        Read a 16 bit Word from memory location "n:k", e.g. 'n'
  802.         is the segment and 'k' is the segment address. The value
  803.         is placed in ".rv".
  804.  
  805. +n,k@OHR    Read an 8 bit Byte from memory location "n:k". The value
  806.         is placed in ".rv".
  807.  
  808.  
  809. ...more...
  810.  
  811. +n,kOHS        Set the 16 bit memory location "n:k" from the contents of
  812.         numeric register 20.
  813.  
  814. +n,k@OHS    Set the 8 bit memory location "n:k" from the contents of
  815.         numeric register 20.
  816.  
  817. +n,kOHC        Performs a "CALL" to memory location "n:k".
  818.  
  819. +nOHV        Performs an "INT" to interrupt vector 'n'.
  820.  
  821.     OHC and OHV use numeric registers 20 thru 29 for passing the register
  822.     values:
  823.  
  824.         AX = Q20    SI = Q24    DS = Q27
  825.         BX = Q21    DI = Q25    ES = Q28
  826.         CX = Q22    BP = Q26     Flags = Q29
  827.         DX = Q23
  828.  
  829. \PE\
  830. PE    Page eject - advance printer to next page. Uses Form-Feed character
  831.     if selected by "PP 6 1".
  832.  
  833. -PE    Reset only the internal line counter used for printing. This command
  834.     may be needed after a user performs a manual form-feed on the printer.
  835.  
  836. PF    Flush print job on network. Performs a page eject and forces text to
  837.     print on a network printer.
  838.  
  839. \PP\
  840.      PP <term>    Display current values of all print parameters.
  841.  
  842.      PP n<term>    Store value of parameter 'n' in ".rv".
  843.  
  844.      PP n k    Change the value of parameter 'n' to 'k' after saving
  845.         the old value in ".rv".
  846.  
  847.     1  Paper length (lines)        (5 - 100)
  848.     2  Top margin            (0 - 60)
  849.     3  Bottom margin        (0 - 60)
  850.     4  Left margin            (0 - 80)
  851.     5  Line spacing            (1 - 4)
  852.     6  Enable Form-Feed        (0=NO 1=YES)
  853.     7  Printer            (0=PRN 1=LPT1... 4=COM1)
  854.  
  855. \PR\
  856. mPR    Print the specified 'm' lines of text. Tabs are expanded to spaces.
  857.     Other control characters are sent verbatim to the printer - without
  858.     expansion.
  859.  
  860. m_PR    Print lines, performing file buffering if needed. Edit pointer
  861.     position is restored following file buffering.
  862.  
  863. p,qPR    Print the block of text between file positions 'p' and 'q'. Moves
  864.     the edit pointer to file position 'p'.
  865.  
  866. YP mT    Similar to "mPR", but control characters are expanded, e.g.<CTRL-L> is
  867.     printed as ^L.
  868.  
  869. \R*\
  870. R*    Treat following text on line as a comment.
  871.  
  872. \RA\
  873. +RA(r)        Auto-execute text register 'r' in place of the "COMMAND:"
  874.         prompt. 'r' cannot be "0".
  875.  
  876. RA <term>    Disable auto-execution. Or use "RA0" or "RA(0)".
  877.  
  878. \RC\
  879. mRC(r)        Copy 'm' lines from the edit buffer into text register 'r'.
  880.  
  881. mRC(+r)        Append 'm' lines to any existing contents in register 'r'.
  882.  
  883. mRC(-r)        Insert 'm' lines at the beginning of register 'r'.
  884.  
  885. p,qRC(r)    Copy the block of text between file positions 'p' and 'q'
  886.         into register 'r'. Moves the edit pointer to file position
  887.         'p'.
  888.  
  889. mRCr        Alternate form not using the optional "(" and ")".
  890.  
  891. p,q@RC(r)    Copy the columnar block of text into register 'r'. If "YC" is
  892.         not set, file positions 'p' and 'q' define the "corners" of
  893.         the columnar block. If "YC" is set, 'p' and 'q' define the
  894.         outer text limits and "YC" defines the columns of the
  895.         columnar block.
  896.  
  897. n@RC(r)        When "YC" is set, equivalent to "p,q@RC" where the edit
  898.         pointer defines 'p' and the beginning of the following 'n'th
  899.         line defines 'q'. When "YC" is not set, the edit pointer
  900.         defines the left column. All text on the following 'n'
  901.         lines, beginning with the left column is copied to the
  902.         register. The right edge of the copy is ragged (no padding).
  903.  
  904. -n@RC(r)    Equivalent to "p,q@RC" where the edit pointer defines 'q' and
  905.         the beginning of the previous 'n'th line defines
  906.  
  907. \RD\ \RT\
  908. RD(r)        Dump the contents of text register 'r' to the console.
  909.         Control characters are not expanded.
  910.  
  911. YO RD(r)    Dump the contents of text register 'r' directly to DOS.
  912.         (Might be used to program function keys using ANSI escape
  913.         sequences.)
  914.  
  915. YP RD(r)    Dump the contents of text register 'r' directly to the
  916.         printer. (Might be used to set up printer fonts.)
  917.  
  918. RT(r)        Type (display) contents of register 'r'. Control characters
  919.         are expanded. An embedded <CTRL-S> "stop character" causes a
  920.         pause - press any key to continue.
  921.  
  922. p,qRT(r)    Types the block of characters between positions 'p' and 'q' in
  923.         text register 'r'. Permits performing substring operations
  924.         with text registers; using text registers as fixed length
  925.         string arrays and much more. Can be used in conjunction with
  926.         the "YI" command to insert a substring of a text register.
  927.  
  928. \RE\
  929. RE(r)        Empty text register 'r'.
  930.  
  931. +RE(r)        Empty text register 'r', even if it is currently executing as
  932.         a macro.
  933.  
  934. \RF\
  935. RF(r) filespec    Selects a filename using Point & Shoot. 'filespec' is the
  936.         initial "filter". When selected, the complete drive,
  937.         directory and filename is placed into register 'r'.
  938.  
  939. \RG\
  940. RG(r)        Get (insert) contents of register 'r' into the edit buffer.
  941.         Advances edit pointer only if "ES 4 1" is set.
  942.  
  943. @RG(r)        Perform columnar block insertion of register 'r'. No
  944.         justification is performed on the right edge if 'r' contains
  945.         ragged lines.
  946.  
  947. \RI\
  948. RI(r)/text/    Insert 'text' into text register 'r'.
  949.  
  950. RI(r)text<ESC>    Alternate form when explicit delimiters are not used.
  951.  
  952. RI(+r)/text/    Append 'text' to any existing contents of register 'r'.
  953.  
  954. RI(-r)/text/    Insert 'text' at the beginning of register 'r'.
  955.  
  956. \RJ\
  957. RJ(r)    Jump to macro register 'r' without "returning" to the current macro
  958.     after 'r' is done executing. Don't follow "RJ" with other commands
  959.     - they won't be executed.
  960.  
  961. \RL\ \RS\
  962. RL(r) file    Load text register 'r' from file 'file'.
  963.  
  964. RL(+r) file    Append 'file' to any existing contents of register 'r'.
  965.  
  966. +RL(r) file    Perform extended search for 'file'.
  967.  
  968. RS(r) file    Save contents of register 'r' in file 'file'.
  969.  
  970. -RS(r) file    Skip confirmation prompt when 'file' already exists.
  971.  
  972. \RM\
  973. RM(r)    Compare contents of text register 'r' with text at edit pointer. Move
  974.     the edit pointers over as many characters as matched.
  975.  
  976.     Return # characters matched in ".n" and the match result in
  977.     ".rv": {0,1,2} for {=,<,>}.
  978.  
  979.     This is a character by character comparison. "ES 5" controls
  980.     whether upper/lower case letters are equated.
  981.  
  982. _RM(r)    Perform file buffering, if necessary, to complete match. Often used
  983.     when 'r' is also an edit buffer.
  984.  
  985.     See also: "EM".
  986.  
  987. \RP\
  988. RP(r)        Print contents of register 'r'. Tab characters are expanded
  989.         to spaces, other control characters are sent verbatim.
  990.  
  991.     NOTE:    The "(" and ")" are required to prevent confusion with the
  992.         "RPOP" and "RPUSH" commands.
  993.  
  994. YP RD(r)    Print contents of register 'r'. No character are expanded -
  995.         all characters are sent verbatim. (Might be used to setup
  996.         printer fonts.)
  997.  
  998. YP RT(r)    Similar to "RP(r)", but control characters are expanded, e.g.
  999.         <CTRL-L> is printed as ^L.
  1000.  
  1001. \RPOP\ \RPUSH\ \RPROT\
  1002. RPUSH(r,s)    Push (save) text registers 'r' through 's' onto the text
  1003.         register stack and erase (clear) the registers. This
  1004.         first-in last-out stack has a maximum depth of 100.
  1005.  
  1006.         Allows use of "local registers" which do not affect use of
  1007.         the same text registers in other parts of a macro.
  1008.  
  1009. RPOP(r,s)    Pop (restore) text registers 'r' through 's' from the
  1010.         register stack. User must ensure that registers are pushed
  1011.         and popped in the correct order.
  1012.  
  1013. nRPROT(r,s)    Set write-protection of registers 'r' through 's' to 'n'.
  1014.         
  1015.         0 - write protection off.
  1016.         1 - Visual Mode cannot alter registers (nor keystroke macros).
  1017.             Registers can be altered from command macros.
  1018.         2 - Registers cannot be altered, loaded or emptied.
  1019.  
  1020. \RQ\
  1021. RQ(r)/text/    Query for user input with 'text'. Get keyboard input line
  1022.         including terminating <CR><LF> or <ESC><ESC> and save in text
  1023.         register 'r'.
  1024.  
  1025. +RQ(r)/text/    As above, but prompt on status line.
  1026.  
  1027. RQ(+r)/text/    Append input line to any contents of register 'r'.
  1028.  
  1029. RQ(-r)/text/    Insert input line at beginning of register 'r'.
  1030.  
  1031. :RQ(r)/text/    Get keyboard input line without the <CR><LF> or <ESC><ESC>.
  1032.  
  1033. RQrtext<ESC>    Alternate form when explicit delimiters are not used AND
  1034.         optional "(" and ")" are not used. (Difficult to read!)
  1035.  
  1036. \RR\
  1037. RR(r,s)        Copy the contents of text register 'r' to text register 's'.
  1038.         The "(" and ")" are optional, but greatly improve the
  1039.         readability of the command.
  1040.  
  1041. RR(r,+s)    Append the contents of register 'r' to the end of register 's'.
  1042.  
  1043. RR(r,-s)    Insert the contents of register 'r' at the beginning of
  1044.         register 's'.
  1045.  
  1046. RR(#x,#y)    Copy from the text register specified by the ASCII value in
  1047.         numeric register 'x' to the text register specified by the
  1048.         ASCII value in numeric register 'y'.
  1049.  
  1050. \RX\
  1051. RX(r) file    Load 'file' into text register 'r' and execute register 'r'
  1052.         as a command macro. Perform extended search for 'file'.
  1053.         Equivalent to "+RL(r) file M(r)".
  1054.  
  1055. \XA\ \XS\
  1056. nXA(x)        Add 'n' to numeric register 'x'.
  1057.  
  1058. -nXA(x)        Subtract 'n' from numeric register 'x'.
  1059.  
  1060. nXS(x)        Set numeric register 'x' to 'n'.
  1061.  
  1062. Q4XA(7)        Add value in numeric register "4" to register "7".
  1063.  
  1064.     NOTE:    'n' may be any numeric expression.
  1065.  
  1066.         Numeric range is -8,388,608 to 8,388,607
  1067.  
  1068. \XB\ \XBB\ \XBE\ \XM\
  1069. nXBB    Set the block-begin marker at position 'n' in the file.
  1070.     (This corresponds to the "1-END" message in Visual Mode.)
  1071.  
  1072. .pXBB    Set the block-begin marker at the current edit position.
  1073.  
  1074. -XBB    Clear the block-begin and block-end markers.
  1075.  
  1076. nXBE    Set the block-end marker at position 'n' in the file.
  1077.     (If the block-begin marker has not yet been set, XBE sets the
  1078.      block-begin marker instead.)
  1079.  
  1080. -XBE    Clear the block-end marker. (Any negative value clears marker.)
  1081.  
  1082. nXM(m)    Set text marker 'm' to position 'n' in the file.
  1083.  
  1084. -XM(m)    Clear text marker 'm'.
  1085.  
  1086. \XF\ \XK\
  1087. XF(x)/text/    Prompt for user input with 'text'. Read and store decoded
  1088.         value of next function key in numeric register 'x'.
  1089.  
  1090. +XF(x)/text/    As above, but prompt on status line.
  1091.  
  1092. :XF(x)/text/    Allow [CANCEL] (<CTRL-C>) as valid function key.
  1093.         Otherwise pressing [CANCEL] stops any command macro.
  1094.  
  1095.  
  1096. XK(x)/text/    Prompt for user input with 'text'. Store value of next
  1097.         keyboard character in numeric register 'x'.
  1098.  
  1099. +XK(x)/text/    As above, but prompt on status line.
  1100.  
  1101. XKxtext<ESC>    Alternate form when explicit delimiters are not used AND
  1102.         optional "(" and ")" are not used. (Difficult to read!)
  1103.  
  1104. :XK(x)/text/    Allow [CANCEL] (<CTRL-C>) as valid input character.
  1105.         Otherwise pressing [CANCEL] stops any command macro.
  1106.  
  1107. \XP\ \XPOP\ \XPUSH\
  1108. XPUSH(x,y)    Push (save) numeric registers 'x' through 'y' onto the numeric
  1109.         register stack; the registers are not changed. This
  1110.         first-in last-out stack has a maximum depth of 100.
  1111.  
  1112.         Allows use of "local variables" which do not affect use
  1113.         of the same numeric registers in other parts of a macro.
  1114.  
  1115. XPOP(x,y)    Pop (restore) numeric registers 'x' through 'y' from the
  1116.         register stack. User must ensure that registers are pushed
  1117.         and popped in the correct order.
  1118.  
  1119. \XQ\
  1120. XQ(x)/text/    Query for user input with 'text'. Store input number or
  1121.         expression in numeric register 'x'. Input ends in <Enter>.
  1122.         Invalid expression is evaluated as "0".
  1123.  
  1124. +XQ(x)/text/    As above, but prompt on status line.
  1125.  
  1126. XQxtext<ESC>    Alternate form when explicit delimiters are not used AND
  1127.         optional "(" and ")" are not used. (Difficult to read!)
  1128.  
  1129. \XT\ \XI\
  1130. XT(x)    Type numeric register 'x' in decimal followed by <CR><LF>. Numbers
  1131.     in the range 0 < n < 65535 are right justified in field of 5 columns.
  1132.     Numbers in the range 65536 < n < 8,388607 use field of 7 columns.
  1133.     Negative numbers use fields one column larger (6 or 8).
  1134.  
  1135. -XT(x)    Number is displayed left justified.
  1136.  
  1137. :XT(x)    Suppress the <CR><LF> following the number.
  1138.  
  1139. XI(x)    Insert the ASCII value of numeric register 'x' into
  1140.     the text at the edit pointer. (Same as "YI XT(x) -YI".)
  1141.  
  1142. \YA\
  1143. YA        Alert - sound a tone by sending a <CTRL-G> to DOS.
  1144.  
  1145. n,kYA        Create a sound (tone) of frequency 'n' hertz and duration
  1146.         'k' milliseconds.
  1147.  
  1148. \YB\
  1149. p,qYB file    Write the block of text between file positions 'p' and 'q' to
  1150.         the file 'file'. The edit pointer is moved to file position
  1151.         'p'. Requires confirmation if the file already exists.
  1152.  
  1153. -p,qYB file    Skip confirmation prompt when 'file' already exists.
  1154.  
  1155. p,q@YB file    Write a columnar block of text. If "YC" is not set, file
  1156.         positions 'p' and 'q' define the "corners" of the columnar
  1157.         block. If "YC" is set, 'p' and 'q' define the outer limits
  1158.         and "YC" defines the columns of the block.
  1159.  
  1160. \YC\
  1161.  
  1162. n,kYC    Set column override to columns 'n' and 'k' for the "@D", "@F", "@G", 
  1163.     "@K", "@S", "@T", "@RC" and "@YB" commands. If "YC" is not set, then 
  1164.     in a command such as "p,q@RC", file positions 'p' and 'q' define the 
  1165.     "corners" of the columnar block. If "YC" is set, 'p' and 'q' define 
  1166.     the outer limits and "YC" defines the columns of the block.
  1167.  
  1168. 7,10YC
  1169. B #[0,#@S/x/y/]     This example changes all occurrences of "x" between columns
  1170.          7 and 9 (inclusive) to "y".
  1171.  
  1172. \YD\
  1173. nYD    Dump the character with ASCII value 'n' to the console followed by
  1174.     <CR><LF>.
  1175.  
  1176. n:YD    Suppress the <CR><LF> following the character.
  1177.  
  1178. .bnYD    Display the name of the current edit buffer.
  1179.  
  1180. ^mYD    Send <CR><CR><LF> to the console. This is a convenient way of
  1181.     advancing to the next window line.
  1182.  
  1183. ^m:YD    Send <CR> to the console. This is a convenient way of backing up
  1184.     to the beginning of the current window line.
  1185.  
  1186. \YEA\
  1187. nYEA        Set window attribute to 'n'.
  1188.         (1 - 6 is color, 7 is white on black).
  1189.  
  1190. n,kYEA        Set window attribute to 'n' for text characters and to 'k'
  1191.         for characters used to erase window.
  1192.  
  1193. Note:        If you mess up the screen with the wrong attribute values,
  1194.         use 'YWI" to initialize the screen to the Configured values.
  1195.  
  1196.         On the IBM PC, an attribute of 0 (zero) results in
  1197.         "invisible" characters.
  1198.  
  1199. \YEC\ \YEL\ \YES\ \YEH\ \YEV\
  1200. YEC    Clear (erase) entire window; home cursor.
  1201.  
  1202. YEL    Erase from cursor to end-of-line in window.
  1203.  
  1204. YES    Erase from cursor to end-of-screen in window.
  1205.  
  1206. nYEH    Position cursor horizontally to window column 'n'.
  1207.  
  1208. nYEV    Position cursor vertically to window line 'n'.
  1209.  
  1210. \YEB\ \YEN\ \YET\
  1211. nYEB    Type 'n' blanks (spaces).
  1212.  
  1213. nYEN    Type 'n' newlines. Used to start a new line and type blank lines.
  1214.  
  1215. nYET    Tab-out by typing spaces to column 'n'. If already at or past column
  1216.     'n', types two (2) spaces.
  1217.  
  1218. \YEM\
  1219. nYEM    Change screen mode to 'n' lines (removes windows).
  1220.  
  1221. +YEM    Toggle between 25 line and 43/50 line (EGA/VGA) modes.
  1222.  
  1223. YEM    Resets VEDIT to current screen mode.
  1224.  
  1225. 43YEM    Change to 43 line EGA mode or 50 line VGA mode.
  1226.  
  1227. \YF\
  1228. nYF    Format the current paragraph. The current left and right margins are
  1229.     used unless 'n' is specified as the temporary left margin. Justify if
  1230.     justification switch (ES 11 1) is set. After formatting, move the
  1231.     edit pointer to the beginning of the next paragraph.
  1232.  
  1233. NOTE:    If the right margin is not set, or the left-margin > right-margin,
  1234.     the command is ignored and no error given.
  1235.  
  1236. \YG\
  1237. YG    If the edit pointer is at one of the group delimiters "{} [] <> ()",
  1238.     find its matching pair; otherwise, search forwards for the next
  1239.     group delimiter.
  1240.  
  1241. _YG    Find (matching) group delimiter, performing file buffering if
  1242.     necessary.
  1243.  
  1244. \YI\ \YO\ \YOD\ \YOF\ \YP\ \YR\
  1245. YI        Re-route console output until the next command prompt into the
  1246.         edit buffer and advance the edit pointer.
  1247.  
  1248. -YI        Disable "YI", allowing output to go back to the console.
  1249.  
  1250. YOD        Re-route console output directly to DOS. This bypasses the
  1251.         normal screen/window handler and allows special characters
  1252.         (e.g. ANSI escape sequences) to be sent to DOS.
  1253.  
  1254. -YOD        Disable "YO".
  1255.  
  1256. YOF file    Re-route console output to the file 'file'.
  1257.  
  1258. -YOF        Disable "YOF".
  1259.  
  1260. YP        Re-route console output to the printer.
  1261.  
  1262. -YP        Disable "YP".
  1263.  
  1264. YR(r)        Re-route console output to text register 'r'.
  1265.  
  1266. -YR        Disable "YR".
  1267.  
  1268.     NOTE:    The "YI", "YOD", "YOF", "YP" and "YR" commands can be nested,
  1269.         i.e. following "YP ... YI ... -YI" console output is
  1270.         re-routed to the printer.
  1271.  
  1272. \YK\ \YKL\ \YKS\
  1273. YKS file    Save current keyboard layout, including any keystroke macros,
  1274.         to the file 'file'.
  1275.  
  1276. YKL file    Load new keyboard layout from the file 'file'.
  1277.  
  1278. +YKL file    Perform extended search for the file.
  1279.  
  1280. \YML\ \YMR\ \YMS\
  1281. nYML    Set the left margin (indent position) to 'n'.
  1282.     (This is equivalent to "EP 6 n", but is easier to remember.)
  1283.  
  1284. nYMR    Set the right margin (word wrap column) to 'n'.
  1285.     (This is equivalent to "EP 7 n", but is easier to remember.)
  1286.  
  1287. nYMS    Sets the horizontal scroll amount used in Visual Mode to 'n'.
  1288.     However, Visual Mode will only use this value if the current cursor
  1289.     position can be properly displayed.
  1290.  
  1291. Note:    These margins only affect Visual Mode and the "YF" command.
  1292.  
  1293. \YS\
  1294. mYS    Strip the 8th bit from all characters in the specified 'm' lines.
  1295.     Primarily for converting WordStar files to ASCII files.
  1296.  
  1297. m_YS    Strip characters, performing file buffering if needed. Edit pointer
  1298.     position is restored following file buffering.
  1299.  
  1300. p,qYS    Strip the the block of characters between file positions
  1301.     'p' and 'q'. Moves the edit pointer to file position 'p'.
  1302.  
  1303. \YT\
  1304. YT/text/    Type 'text' on the console. 'text' may be multiple lines long.
  1305.  
  1306. YTtext<ESC>    Alternate form when explicit delimiters are not used.
  1307.  
  1308. +YT/text/    Type 'text' on the status line.
  1309.  
  1310. \YV\
  1311. YV/vm codes/    Execute the Visual Mode functions 'vm codes' from within
  1312.         Command Mode. 'vm codes' are two letter codes (listed on
  1313.         page 413) enclosed in "\  \". Normal displayable characters
  1314.         can also be included; they are not enclosed in "\  \".
  1315.  
  1316. YV/\CD\\CD\/    Perform two [CURSOR DOWN] operations.
  1317.  
  1318. YV/\ME\EC/    Center a line by selecting this function from the menu system.
  1319.  
  1320. \YWA\ \YWB\ \YWD\ \YWI\ \YWL\ \YWR\ \YWS\ \YWT\ \YWZ\
  1321. YWA(w)        Attach window 'w' to the current edit buffer.
  1322. -YWA(w)        Detach window 'w' from any edit buffer.
  1323.  
  1324. YWD        Delete current window.
  1325. YWD(w)        Delete window 'w'.
  1326.  
  1327. YWI        Initialize screen - delete all windows, reset attributes.
  1328.  
  1329. YWS(w)        Switch to window 'w'.
  1330. YWS<term>    Switch to window "@".
  1331. YWS(#x)        Switch to the window specified by numeric register 'x'.
  1332. +YWS(w)        Switch to window 'w', and if attached, make it the current
  1333.         edit buffer's "primary" window.
  1334.         (For multiple windows per file).
  1335.  
  1336. YWS(?)        Switch to the status line window. Allows displaying messages
  1337.         on the status line and is more flexible than using "+YT",
  1338.         "+XQ" and "+RQ". You must switch back when done!
  1339.  
  1340. YWZ        Zoom current window to full screen.
  1341.  
  1342.  
  1343.  
  1344.  
  1345. YWB(w) n    Create window 'w' of 'n' lines at bottom.
  1346. YWL(w) n    Create window 'w' of 'n' columns at left.
  1347. YWR(w) n    Create window 'w' of 'n' columns at right.
  1348. YWT(w) n    Create window 'w' of 'n' lines at top.
  1349.  
  1350. +YWT(w) n    Create window 'w' and attach it to the current window.
  1351.         Same for "YWB`os", "YWL" and "YWR".
  1352.  
  1353. \YZ\
  1354. nYZ        Delay for 'n' / 10 seconds. (Max = 25.5 seconds.)
  1355.  
  1356. \[\ \ENTER CTRL]\ \[CANCEL]\ \<CTRL-Q>\ \<CTRL-C>\
  1357. <CTRL-Q>    Is normally assigned to the [ENTER CTRL] function.
  1358.  
  1359. [ENTER CTRL]    The character, usually a control character, is taken
  1360.         literally and not interpreted. Allows searching and
  1361.         inserting of control characters including line editing
  1362.         characters and <CR>.
  1363.  
  1364. <CTRL-C>    Is normally assigned to the [CANCEL] function.
  1365.  
  1366. [CANCEL]    Abort or cancel key. Will stop an iteration macro or command
  1367.         macro before the next command is executed.
  1368.  
  1369. \_\
  1370. _    Precedes commands to indicate a "global" operation in the entire
  1371.     file. It is only needed when the "global file" option (ES 10) is not
  1372.     enabled.
  1373.  
  1374.     "_F" and "_S" perform the search/replace to the end-of-file instead
  1375.     of just the end of the edit buffer.
  1376.  
  1377.     Precedes "B", "K", "L", "T", "Z", "EM", "PR", "RM", "YG", "YS" to
  1378.     indicate a global operation. "_EM" allows a match at the end of the
  1379.     edit buffer to continue.
  1380.  
  1381. \@\
  1382. @    Precedes commands to indicate that explicit delimiters are being used.
  1383.     Only needed when the explicit delimiter option (ES 8) is not enabled.
  1384.  
  1385.     E.g.  @F/string/     @I"string"         @JP.label.
  1386.  
  1387.     Precedes "D", "G", "K", "T", "RC" and "RG" to select columnar block
  1388.     operations.
  1389.  
  1390. \:\
  1391. :    Precedes "F", "L", "N" or "S" to suppress error reporting.
  1392.     (See also switch ES 8).
  1393.  
  1394.     Precedes "ER", "EW", "XT", "YD" to suppress the following <CR><LF>.
  1395.  
  1396.     Precedes "EA", "EX", "EY" to suppress normal "SAVING..." message.
  1397.  
  1398.     Precedes "XF" and "XQ" to suppress [CANCEL] checking.
  1399.  
  1400.     Precedes "B" and "Z" to suppress global option.
  1401.  
  1402.     Precedes "RQ" to prevent <CR><LF> or <ESC><ESC> from being included
  1403.     in the input string being copied into the designated text register.
  1404.  
  1405. \$\ \\\
  1406. "$" and "\" can precede "F", "N", "S" or "EM" to override the current search
  1407. mode and select pattern matching or regular expressions, respectively.
  1408.  
  1409. E.g:    $F/|U|A/         Search for capitalized word with pattern matching.
  1410.                  (Upper case letter followed by any letter.)
  1411.     \F/[A-Z][A-Za-z]/    Equivalent using regular expressions.
  1412.  
  1413. \|\ \|R\
  1414. |    "|" is the lead-in character for pattern matching codes usable with
  1415.     the "F", "N", "S" and "EM" commands.
  1416.  
  1417.     E.g.    F/|D|D|D|D/    Search for a four (or more) digit number.
  1418.  
  1419.     On-line help for [FIND] lists all of the pattern matching codes.
  1420.  
  1421. |Rr    The form "|Rr" permits using the contents of text register 'r' as
  1422.     part of a string. The following example prompts for a filename and
  1423.     then opens the specified file for editing.
  1424.  
  1425.     :RQ(t)/Enter Filename:/
  1426.     EB |Rt
  1427.  
  1428. \;\
  1429. ;    Shorthand for ".erJL". Used with "ES 8 2" following the "F",
  1430.     "S" and "L" commands. Does not clear the error flag ".er" as
  1431.     "JL" would do.
  1432.  
  1433. \#\ \"\ \^\
  1434. #    Represents maximum positive number 8,388,607. Signifies "forever" or
  1435.     "all occurrences of".
  1436.  
  1437. "    Converts the following character into its numeric ASCII value; e.g.
  1438.     "S has a value of 83.
  1439.  
  1440. ^    Converts the following letter into the numeric ASCII value for the
  1441.     corresponding control character; e.g. ^C has a value of 3.
  1442.  
  1443. \.\
  1444. INTERNAL VALUES
  1445.  
  1446. .bb    Block-begin marker's offset in file. (-1 = not set)
  1447. .be    Block-end marker's offset in file. (-1 = not set)
  1448. .bn    Name of current edit buffer (in ASCII)
  1449. .bob    Beginning-of-buffer flag for edit pointer (0 = No/False)
  1450. .bof    Beginning-of-file flag for edit pointer
  1451. .bw    Edit buffer's primary window (in ASCII)
  1452. .bx    Name of the "next" existing edit buffer (which is not executing)
  1453. .c    ASCII value of character at the edit pointer
  1454. .cl    Left column override set with YC. (0 = not set)
  1455. .cm    Column Mode in Visual Mode (same as EO 9)
  1456. .cn    Column number of character at the edit pointer
  1457. .cr    Right column override set with YC. (0 = not set)
  1458. .ed    Demo version flag. (0 = normal version)
  1459. .eob    End-of-buffer flag for edit pointer (0 = No/False)
  1460. .eof    End-of-file flag for edit pointer
  1461. .er    Error flag. Set by F, L, N, S and EM
  1462. .es    Search error flag. Set/reset by F, N, S, EM, RM
  1463. .ev    Editor version number (Version 3.11 has value 311)
  1464. .ew    Write error flag. Set/reset by last disk write operation
  1465.  
  1466. Press <Enter> to continue: 
  1467.  
  1468. .fm    Number of free memory bytes
  1469. .fr    Find/replace status: 0=Cancelled, 1=[FIND], 2=[REPLACE]
  1470. .ic    Value of configuration task 9.2 -
  1471.     "Look for Help and Macro files on current drive".
  1472. .if    Input file open flag. (0 = file not open)
  1473. .im    Insert Mode in Visual Mode (same as EO 8)
  1474. .ip    Index into pattern set - which item was matched
  1475. .kc    Wait for and get next keyboard char/function-code
  1476. .kp(m)    Previous 'm'th raw keystroke
  1477. .ks    Keyboard status. (1 = char ready)
  1478. .ln    Line number in the file of current character
  1479. .lo    Number of lines written to the output file
  1480. .ma    Mouse active flag. (0 = not active)
  1481. .ml    Left margin (Indent position)
  1482. .mn    Name of currently executing text register (in ASCII)
  1483. .mr    Right margin (word wrap column; same as EP 7)
  1484. .ms    Horizontal scroll amount in Visual Mode
  1485. .m(m)    Position of text marker 'm' in file. (-1 = not set)
  1486. .n    Number of characters matched by F, N, S, EM, RM
  1487.  
  1488. Press <Enter> to continue: 
  1489.  
  1490. .oa    Alter flag. (0 = output file has not been altered)
  1491. .oe    Explicit output file - EB or invoked with two filenames
  1492. .of    Output file open flag (0 = file not open)
  1493. .os    Operating system: 0 = CP/M,  1 = CP/M-86, 2 = MSDOS/PCDOS
  1494.               3 = FlexOS 4 = XENIX
  1495. .ov    V-SWAP installed flag. (0 = not installed)
  1496. .p    Edit pointer's offset in file (0 = beginning of file)
  1497. .ra    Register set by "RA" to auto-execute (0 = none, ASCII #)
  1498. .rc    Return code from last DOS program run by OC/OS command
  1499. .rm    Absolute value of the remainder from last division
  1500. .rp(r)    "Protection" for register r. Set by RPROT command.
  1501. .rt(r)    "Type" for register r: (.rt(#x) also valid)
  1502.     0 = unused, 1 = text register, 2 = edit buffer
  1503. .rv    Return value from F, S, ED, EK, EM, EO, EP, ES, PP, RM
  1504. .sc    Screen columns - total columns displayed on screen
  1505. .sd    Screen display type:
  1506.     0 = CRT, 1 = MM, 2 = IBM Mono, 3 = IBM Color
  1507. .si    IBM PC display type: 0 = None, 1 = Mono, 2 = CGA, 4 = EGA, 5 = VGA
  1508. .sl    Screen lines - total lines displayed on screen
  1509. .t    Next tab position based on ".cn"
  1510. .u(r)    Number of bytes in register 'r'; (.u(#x) also valid)
  1511. .v    Numerical value of expression at edit pointer
  1512.  
  1513. Press <Enter> to continue: 
  1514.  
  1515. .wa    Attribute for displayed text in current window
  1516. .wc    Size of current window in columns
  1517. .we    Attribute for erased parts of current window
  1518. .wl    Size of current window in lines
  1519. .wm    Mode of current window (mask to 7 bits): 0 = Command Mode,
  1520.     n = Visual Mode for edit buffer 'n'; Bit 8 = window clear
  1521. .wn    Name of the current window (in ASCII)
  1522. .ws(w)    Status of window 'w': 0 = does not exist, 1 = exists,
  1523.     n = attached to edit buffer 'n'
  1524. .wt    Total number of windows on the screen
  1525. .wx    Horizontal ("x") cursor position in window
  1526. .wy    Vertical ("y") cursor position in window
  1527. .wz    Window zoomed flag: 0 = none, n = window 'n' is zoomed
  1528.