home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-10-16 | 50.6 KB | 1,528 lines |
- BASIC COMMANDS TEXT REGISTER COMMANDS
- A Append text from input file RA Auto-execute text register
- B Go to beginning of text RC Copy text to text register
- C Change edit position RD Dump register
- D Delete characters RE Empty text register
- F Find string RF Select file using Point&Shoot
- G Get (copy) text within file RG Get (insert) register
- H Help RI Insert into text register
- I Insert text RJ Jump to macro register
- K Kill text RL Load register from disk
- L Line change RM Match register/edit buffer
- M Macro execution RP Print text register
- N Next string (search) RPOP Pop text registers
- S Search and Replace RPUSH Push text registers
- T Type text RPROT Write-protect registers
- U Display unused/used memory RQ Query for input line
- V Enter Visual mode RR Register to register copy
- W Write text to output file RS Save register to disk
- Z Go to end of text RT Type (display) register
- RU Display size of registers
- R* Comment line RX Load and execute register
-
- Type letter(s) for desired command or <Enter> for next screen:
- EXTENDED COMMANDS
- EA Save file and edit again EU Change drive/directory
- EB Edit new file (with backup) EV VEDIT version number
- EC Change disks EW Open write (output) file
- ED Display disk directory EX Finish edit session, exit
- EE Enter edit buffer EY Finish edit session, remain
- EF Finish (close file) EZ Quit edit session, remain
- EG Insert (get) text file
- EH Query extra help file JUMP COMMANDS
- EI Insert special character JL Exit loop
- EJ Set (jump) edit pointer JM Exit macro (return)
- EK Erase (kill) file JN Start next iteration
- EL Display enumerated lines JO Abort to Command Mode prompt
- EM Match text at edit pointer JP Jump to specified label
- EN Need room, squeeze buffer
- EO Set/Display edit options PRINT COMMANDS
- EP Set/display edit parameters PE Eject page
- EQ Quit edit session, leave PF Flush print job (network)
- ER Open read (input) file PP Set/display print parameters
- ES Set/display edit switches PR Print text
- ET Set/display tab positions
-
- Type letter(s) for desired command or <Enter> for next screen:
- MISCELLANEOUS COMMANDS
- YA Alert - sound tone YUD Undo (insert) last deletion
- YB Write block to disk YUE Undo last edit operation
- YC Set block-column override YUR Reset Undo stacks
- YD Dump ASCII char to console YV Execute Visual Mode functions
- YF Format paragraph YZ Delay
- YG Search matching parentheses
- YI Insert (reroute) console text OPERATING SYSTEM COMMANDS
- YKL Load keyboard layout from disk OC Execute DOS command/program
- YKS Save keyboard layout to disk OD Display date
- YML Set left margin OH Harware access commands
- YMR Set right margin OS Shell (enter) DOS
- YMS Set (Visual) scroll amount OT Display time
- YOD Route console text to DOS
- YOF Route console text to file
- YP Route console text to printer
- YR Route console text to T-Reg.
- YS Strip high bits from text
- YT Type text string
-
-
-
- Type letter(s) for desired command or <Enter> for next screen:
- WINDOW COMMANDS
-
- YEA Set window attribute(s) YWA Attach window to edit buffer
- YEB Type blanks (spaces) YWB Create window at bottom
- YEC Clear window YWD Delete a window
- YEH Position cursor horizontally YWI Initialize/remove windows
- YEL Erase end-of-line in window YWL Create window at left
- YEM Change screen size (mode) YWR Create window at right
- YEN Type new-lines (blank lines) YWS Switch to another window
- YES Erase end-of-screen in window YWT Create window at top
- YET Tab-out to specified column YWZ Zoom current window
- YEV Position cursor vertically
-
-
-
-
-
-
-
-
-
-
- Type letter(s) for desired command or <Enter> for next screen:
- NUMERIC REGISTER COMMANDS
-
- XA Add to numeric register
- XBB Set/clear block-begin marker
- XBE Set/clear block-end marker
- XF Read function key
- XI Insert numeric value into text
- XK Read any key
- XM Set/clear a text marker
- XPOP Pop numeric registers
- XPUSH Push numeric registers
- XQ Query and input numeric value
- XS Set numeric register
- XT Type numeric register
-
-
-
-
-
-
-
-
- Type letter(s) for desired command or <Enter> for next screen:
-
- HELP IS AVAILABLE ON THESE TOPICS:
-
- Command Modifiers:
- _ Global file operations
- @ Explicit text delimiter, block-column modifier
- : Suppress error message, suppress <CR><LF>
- $ and \ Override search mode
-
- [ENTER CTRL] (<CTRL-Q>) Enter Control characters.
- [CANCEL] (<CTRL-C>) Cancel operation / macro.
-
- . Internal Values
-
- ; Shorthand for ".erJL"
- " ASCII constant specifier
- ^ Control character specifier
-
-
-
-
-
- Type character(s) for Topic or <Enter> for next screen:
- GENERAL INFORMATION
-
- KEYBOARD CONTROL GENERIC/INDIRECT
- <CTRL-Q> Literal Character | Search pattern code
- <CTRL-C> BREAK out |R Variable filename specifier
- #x Num. reg. 'x' has buffer name
- <ESC> Terminate string/command #x Num. reg. 'x' has window name
- ESC ESC Begin processing commands
- <CR> Begin processing commands
-
- COMMAND MODIFIERS NUMERIC SPECIFIERS
- _ Global file operations # Maximum number 8,388,607
- @ Explicit text delimiter " ASCII constant specifier
- : Suppress error message ^ Control character specifier
- : Suppress <CR><LF> Q Numeric register
- - Backwards, opp., diminished . Internal read-only values
- + Augmented command (e.g. +RL)
-
- HELP AIDS MISCELLANEOUS
- ?? Display last executed commands ; Shorthand for ".erJL"
- ? Enter trace mode , Separates second parameter
- ! Label/comment delimiter
-
- Press <Enter> to continue:
- GENERAL INFORMATION
-
- NUMERIC OPERATORS LOGICAL OPERATORS
- + Addition & AND
- - Subtraction | ^ OR
- * Multiplication ~ NOT
- / Division
- % Remainder of division
- & Bitwise AND
- ^ Bitwise OR
- ' Bitwise complement
-
-
- RELATIONAL OPERATORS OPERATOR PRECEDENCE
- = == Equal to ' Complement
- <> Not equal to * / % Mult., Div., Remainder
- < Less than + - Addition, subtraction
- <= Less than or equal to < > = etc. Relationals
- > Greater than ~ NOT
- >= Greater than or equal to & AND (Bitwise & Logical)
- ^ | OR (Bitwise & Logical)
-
- Press <Enter> to return to Command Mode:
-
- \A\ \W\
- nA Append 'n' lines from the input file to the edit buffer.
- 0A Append lines until edit buffer is nearly full.
-
- -nA Read back 'n' lines from the output file.
- -0A Read back lines until the edit buffer is nearly full.
-
-
- nW Write 'n' lines to the disk from the beginning of the edit buffer and
- delete them from the buffer.
-
- 0W Write out the edit buffer up to the current line.
-
- -nW Write last 'n' lines in the edit buffer to the ".$R$" file.
- This makes more memory space free.
-
- -0W Write the current line and the rest of the edit buffer to the
- ".$R$" file.
-
- \B\ \Z\
- B Move to the beginning of the edit buffer or file, depending upon the
- "global file" option (ES 10).
-
- :B Move to the beginning of the edit buffer.
-
- _B Move to the beginning of the file.
-
-
- Z Move past the last character in the edit buffer or file, depending
- upon the "global file" option.
-
- :Z Move past the last character in the edit buffer.
-
- _Z Move past the last character in the file.
-
- \C\ \L\
- mC Move the edit pointer by 'm' characters.
-
- m_C Move the edit pointer, performing file buffering if necessary.
-
-
- mL Move the edit pointer by 'm' lines and leave at the beginning of
- that line.
-
- m_L Move, performing file buffering if needed.
-
- 0L Move to the beginning of the current line.
-
- m:L Suppresses the error message and command abort in case the command
- attempts to go past the beginning or end of the text. However the
- current iteration loop is still terminated and the ".er" error flag
- is set.
-
- \D\ \K\
- mD Delete 'm' characters, starting at the edit pointer.
- m_D Delete 'm' characters, performing file buffering if necessary.
-
- p,qD Delete the block of text between file positions 'p' and 'q'. The
- edit pointer is moved to the character following the deleted text.
-
- p,q@D Delete a columnar block of text. If "YC" is not set, file positions
- 'p' and 'q' define the "corners" of the columnar block. If "YC" is
- set, 'p' and 'q' define the outer limits and "YC" defines the columns
- of the block.
-
- 0,1D Delete the first character in the file. The edit pointer also moves
- to the beginning of the file.
-
- mK Kill 'm' lines of text.
- m_K Kill 'm' lines, performing file buffering if necessary.
-
- 0K Delete characters from beginning of line up to edit position.
-
- 0KK Kill (delete) the current line.
-
- p,qK Equivalent to "p,qD".
-
- \E\
- E First letter of extended two letter commands.
-
- \F\
- nF/string/ Search forwards for the 'n'th occurrence of 'string' and
- position the edit pointer after it.
-
- nF(string) Alternate command form using the special delimiters "(" and
- ")".
-
- nFstring<ESC> Command form when explicit delimiters are globally disabled.
-
- n@F/string/ Alternate command form using explicit delimiters, when they
- are globally disabled.
-
- p,qF/string/ Restrict the search within the block of text between file
- positions 'p' and 'q'.
-
- p,q@F/string/ Restrict the search within a columnar block of text. File
- positions 'p' and 'q' define the "corners" of the columnar
- block. Note that explicit delimiters must be used.
-
- F// Search again for the previously used 'string'.
- (Explicit delimiters must be enabled or use "@F//".)
-
- F<ESC><ESC> Search again for the previously used 'string'.
-
- -nF/string/ Perform the search in the reverse direction. The edit
- pointer is positioned at the beginning of 'string'.
-
- n:F/string/ Suppresses the error message and command abort in case
- 'string' is not found. However the current iteration loop is
- still terminated and the ".er" and ".es" error flags are set.
-
- m_F/string/ Search for the 'm'th occurrence of 'string', performing file
- buffering if necessary. The "_" is only needed when the
- "global file" option is not set.
-
- (If file buffering is performed and there are no more
- occurrences of 'string', the edit pointer is left at beginning
- of the buffer for forward searches and at the end of the
- buffer for reverse searches).
- \G\
- p,qG Copy (get) the block of text between file positions 'p' and
- 'q' to the edit pointer. 'p' and 'q' must be in memory.
-
- p,q@G Copy a columnar block of text to the edit pointer. If "YC"
- is not set, file positions 'p' and 'q' define the "corners"
- of the columnar block. If "YC" is set, 'p' and 'q' define
- the outer text limits and "YC" defines the columns of the
- columnar block.
-
- \H\ \EH\
- H On-line help for Command Mode commands using the help file
- "VPHELP.HLP".
-
- H text <term> Immediately search help file for "\text\" and display
- the associated help message.
-
- EH <term> On-line help for Command Mode topics using the help file
- "VPEHELP.HLP".
-
- EH text <term> Immediately search help file for "\text\" and display
- the associated help message.
-
- \I\
- I/text/ Insert 'text' into the edit buffer and advance the edit
- pointer past 'text'.
-
- Itext<ESC> Command form when explicit delimiters are globally disabled.
-
- @I/text/ Alternate command form using use explicit delimiters when they
- are globally disabled.
-
- nI/text/ Insert 'n' copies of 'text' into the edit buffer.
-
- -I/text/ Overwrite existing characters with 'text'.
-
- \M\
- M(r) Execute text register 'r' as a command macro. When finished,
- continue processing the commands following "M(r)".
-
- See also "RJ(r)" and "RX(r)".
-
- \N\
- mN/string/ Search for the 'm'th occurrence of 'string' and position the
- edit pointer after it. If 'm' is negative search backwards.
-
- NOTE: "N" is the same as "`osF`os", except it does does not use or
- alter the current search string. Therefore, 'string' must
- be specified each time; "N//" is INVALID.
-
- "N" is intended for use inside macros which perform searching,
- but should not alter the [FIND] and [REPLACE] strings.
-
- \O\
- O First letter of two letter DOS commands.
-
- \P\
- P First letter of two letter printing commands.
-
- \Q\
- Qx Access the value in numeric register 'x'. Not a command!
-
- Q(x) Equivalent.
-
- \R\
- R First letter of two letter text register commands.
-
- \S\
- nS/ss/text/ Search for the next occurrence of 'ss', and if found,
- replace it with 'text'; perform 'n' times.
-
- #S/ss/text/ Search for all occurrences of 'ss' and replace with
- 'text'.
-
- p,qS/ss/text/ Restrict the replacement within the block of text
- between file positions 'p' and 'q'.
-
- p,q@S/ss/text/ Restrict the replacement within a columnar block of
- text. File positions 'p' and 'q' define the "corners"
- of the columnar block. Note that explicit delimiters
- must be used.
-
- nSss<ESC>text<ESC> Command form when explicit delimiters are not used.
-
- n_:S/ss/text/ Replace the next 'n' occurrences of 'ss' with 'text',
- performing file buffering if needed. Suppress error
- message in case 'ss' is not found 'n' times.
-
- \T\
- mT Type (display) 'm' lines of text.
-
- m_T Type lines, performing file buffering if needed. The edit pointer
- position is restored following file buffering.
-
- p,qT Type the block of text between file positions 'p' and 'q'. The
- edit pointer is moved to file position 'p'.
-
- p,q@T Type a columnar block of text. If "YC" is not set, file positions
- 'p' and 'q' define the "corners" of the columnar block. If "YC" is
- set, 'p' and 'q' define the outer limits and "YC" defines the columns
- of the block.
-
- \U\ \RU\
- U Display # of free bytes in current edit buffer; # bytes used in the
- edit buffer; total # bytes in all text registers which are not edit
- buffers. Also displays name of the current edit buffer (except for
- the main '@' edit buffer).
-
- RU After displaying memory usage as in the 'U' command, display the size
- of each text register. Astericks "*" indicate edit buffers.
-
- \V\
- V Enter Visual Mode - sets cursor position from current edit pointer.
-
- -V Perform only an update of the Visual Mode window. Remains in Command
- Mode. Primarily used inside macros which need to update a Visual
- Mode window. The Visual Mode window(s) update automatically while
- waiting for keyboard characters.
-
- \EA\
- EA Save the file being edited on disk and allow further editing
- to continue. Maintains edit position and text markers.
-
- :EA Save file, but suppress "Saving..." message.
-
- -EA Save file, but leave edit pointer at the beginning of file.
- Maintains text markers.
-
- +EA file Save the current file under the new name 'file' and allow
- further editing under this new filename.
-
- \EB\
- EB file <term> Begin editing the file 'file'. If the file does not exist
- "NEW FILE" is displayed.
-
- EB file1 file2 Open 'file1' for reading and 'file2' for writing; read
- 'file1' into memory.
-
- EB <term> Display the current input and output filenames.
-
- \EC\
- EC Allow user to change disks. Used for write error recovery, or
- to edit files on other disks.
-
- \ED\
- ED fspec Display disk directory. Optional drive, path, and wildcard
- characters "?" and "*" may be specified.
-
- nED fspec Display the filenames in 'n' columns instead of 4.
-
- -ED fspec Display the filenames in one column and omit the header line.
- Also omits extra spaces in filenames.
-
- -0ED fspec Same as "-ED" except it also omits subdirectory names and
- other files with attributes.
-
- :ED fspec Test for existence of the file 'fspec'. Report result in
- ".rv": 0 = file doesn't exist; 1 = file exists, n = number
- of files matched by the wildcard specification.
-
- 0:ED fspec Same as ":ED" except it omits subdirectory names and other
- files with attributes.
-
- Note: ".rv" is set by all forms of the "ED" command.
-
- YI -ED -YI Insert the disk directory into the edit buffer, one file per
- line.
-
- \EE\
- EE(r) Switch to begin editing in buffer 'r', converting text register 'r'
- into an edit buffer if not one already.
-
- EE(#x) Switch to the buffer specified by the ASCII value contained in
- numeric register 'x'.
-
- -EE(r) Do not perform file buffering on current edit buffer before
- switch to edit buffer 'r'. (See also "EN").
-
- :EE(r) Suppress normally displayed message.
-
- \EF\
- EF Close the current output file WITHOUT writing additional text.
- The input file and edit buffer are unaffected. Primarily used after
- a "W" command.
-
- USE WITH CAUTION! INCORRECT USE WILL RESULT IN DELETED FILES!
-
- EFY Skip the confirmation prompt.
-
- \EG\ \EL\
- EG file[line range] Insert the specified line range of 'file' into the
- edit buffer and advance the edit pointer. If no line
- range is specified, the entire file is inserted.
-
-
- EL file[line range] Display with line numbers the specified line range of
- 'file'. If no line range is specified, the entire
- file is displayed.
-
- \EI\
- nEI Insert the character with decimal value 'n' into the edit buffer and
- advance the edit pointer. The value "26" <CTRL-Z> is not allowed.
- Values of 128 to 255 are allowed.
-
- -nEI Overwrite the existing character at the edit pointer; advance the
- edit pointer. Gives error if at end-of-file.
-
- \EJ\
- nEJ Jump the edit pointer to the 'n'th position in the file. Range is
- 0 - 8,388,607. "0EJ" jumps to the beginning of the file.
-
- \EK\
- EK fspec Erase (kill) the file(s) specified by 'fspec' from the disk. This
- frees more space on the disk. Optional drive, path, and wildcard
- characters "?" and "*".
-
- Requires confirmation after displaying filenames about to be erased.
-
- -EK fspec Erase the specified files, skipping the directory display and
- confirmation prompt.
-
- :EK fspec Suppress error is the file(s) is not found.
-
- -:EK fspec Erase the specified files, skipping confirmation and suppressing
- error if not found.
-
- Note: ".rv" is set to the number of files erased.
-
- \EM\
- nEM/ss/ Compare the text at edit pointer with 'ss'; advance edit
- pointer if it matches. Must match 'n' times to be successful.
- 'ss' may contain patern matching codes.
-
- .rv .n .er (.es)
- -------------------------
- 0 # 0 Match, '.n' = # edit chars matched
- 1 - 1 No match - 'ss' lexically less
- 2 - 1 No match - 'ss' lexically greater
- 3 - 1 No match - 'ss' contains pattern codes
-
- As with the "F" command, ".er" is not set when 'n' is "#"
- and at least one occurrence of 'ss' is matched.
-
- EM/|W/ Spans (skips over) white space.
-
- #EM/|A/ One way to move the edit pointer past the end of a word.
-
- See also: "RM".
-
- \EN\
- nEN Free 'n' bytes of memory space in edit buffer, if possible.
-
- 0EN Make configured "Free memory after auto-read" free.
-
- EN Squeeze edit buffer down to configured "page" size.
-
- Note: Primarily for backwards compatibility with macros written for older
- versions of VEDIT PLUS.
-
- \EO\
- EO <term> Display current values of all editing options.
-
- EO n<term> Store value of parameter 'n' in ".rv".
-
- EO n k Change the value of parameter 'n' to 'k' after saving
- the old value in ".rv". Affects all edit buffers.
-
- 1 Cursor type (0 - 4)
- 2 Cursor blink rate (10 - 255)
- 3 Cursor positioning mode (0 - 4)
- 4 Typewriter emulation mode (0 - 2)
- 5 Expand <TAB> key with spaces (0=NO 1=YES)
- 6 Auto-Cancel [FIND] and [REPLACE] (0=NO 1=YES)
- 7 Auto-Cancel Block Markers (0=NO 1=YES)
- 8 Insert Mode (Visual Mode) (0=NO 1=YES)
- 9 Block-Columnar Mode (Visual Mode) (0=NO 1=YES)
- 10 Keyboard Input processing (0 - 7)
- 11 Screen Output processing (0 - 3)
- 12 Delay for Command Mode scrolling (0 - 255)
- 13 Help level (0 - 1)
- 14 Mouse cursor (0=OFF 1=CORNER 2=CENTER)
- 15 Keyboard repeat rate (0=Off, 1 - 32)
- 16 Use V-SWAP when entering DOS (0=NO 1=YES)
-
- \EP\
- EP <term> Display current values of all parameters.
-
- EP n<term> Store value of parameter 'n' in ".rv".
-
- EP n k Change the value of parameter 'n' to 'k' after saving
- the old value in ".rv". Affects all edit buffers.
-
- -EP n k Affects only the current edit buffer.
- :EP n k Affects only the current and subsequently created edit buffers.
-
- 1 User configured parameter (0 - 255)
- 2 Auto-Indent mode (0=NO 1=YES)
- 3 Indent increment (1 - 20)
- 4 Lower/upper case conversion (0=NO, Mode 1, 2 or 3)
- 5 Conditional conversion character (32 - 126)
- 6 Left margin (0 - 80)
- 7 Right margin (0=Off, 20 - 255)
- 8 End of line character (0 - 255)
- 9 Tab fill character (0 - 255)
- 10 Horizontal scroll margin (0=Off, 40 - 255)
- 11 Horizontal scroll increment (1 - 100)
- 12 File type (0=Binary 1=Text 2=EOF-Mark 3=Padding)
- 13 Normal End-Of-Line (0=CR+LF 1=LF)
-
- \EQ\ \EZ\
-
- EQ Quit (abandon) the file in the current edit buffer. Any changes are
- lost. If there are any other edit buffers, switch to one of them;
- otherwise, return to DOS. Requests confirmation if the file has been
- altered.
-
- EQY Skip the confirmation prompt.
-
- @EQ Switch to main "@" edit buffer after quitting current buffer.
-
- -EQ Same as "EZ" - quit file, but stay in edit buffer.
-
- EQA Quit all edit buffers without saving changes.
-
- EQAY Skip the confirmation prompt. (BAD HABIT TO GET INTO!!)
-
-
- EZ Quit (abandon) the file in the current edit buffer. Any changes are
- lost. Stays in the current edit buffer. Requests confirmation if
- the file has been altered.
-
- EZY Skip the confirmation prompt.
-
- \ER\ \EW\
- ER file Open the file 'file' for input (reading).
-
- ER <term> Display the input (read) filename.
-
- +ER <term> Display filename and include its drive and/or path.
-
- :ER <term> Display, but suppress "INPUT FILE:" header and final <CR><LF>.
-
-
- EW file Open the file 'file' for output (writing). Any existing file
- by that name will be renamed to have the file extension ".BAK"
- when the file is saved to disk.
-
- EW <term> Display the output (write) filename.
-
- +EW <term> Display filename and include its drive and/or path.
-
- :EW <term> Display, but suppress "OUTPUT FILE:" header and final
- <CR><LF>.
-
- \ES\
- ES <term> Display current values of all switches.
-
- ES n<term> Store value of switch 'n' in ".rv".
-
- ES n k Change the value of switch 'n' to 'k' after saving
- the old value in ".rv". Affects all edit buffers.
-
- 1 Enable auto-buffering (0=NO 1=FWD 2=FWD & BACK)
- 2 Retab during block-column insert (0=NO 1=YES)
- 3 Trim spaces after block-column insert (0=NO 1=YES)
- 4 Advance cursor past block insert (0=NO 1=YES)
- 5 Equate UC/LC when searching (0=NO 1=YES)
- 6 Regular expression search mode (0=NO 1=YES)
- 7 Undo in Command Mode (0=NO 1=COMMAND 2=MACROS)
- 8 Suppress error handling (0=NO 1=PARTIAL 2=FULLY)
- 9 Explicit string delimiters (0=NO 1=YES)
- 10 Enable global file operations (0=NO 1=YES)
- 11 Justify paragraphs (0=NO 1=YES 2=UNJUSTIFY)
- 10 Enable backup files (0=NO 1=YES)
-
- \ET\
- ET n1,n2,n3 ... Set new tab positions. ET is followed by up to 33 decimal
- numbers specifying the tab positions. Affects all edit
- buffers.
-
- -ET n1,n2 ... Affects only the current edit buffer.
- :ET n1,n2 ... Affects only the current and subsequently created edit buffers.
-
- ET n When ET is followed by just one 'n', tabs are set to every
- 'n' positions.
-
- ET Display current tab positions.
-
- \EU\
- EU d:subd Change to drive 'd' and/or subdirectory 'subd'.
-
- EU <term> Display current drive/subdirectory.
-
- :EU <term> Display, but suppress header and final <CR><LF>.
-
- \EV\
- EV Display the VEDIT version number.
-
- \EX\ \EY\
- EX Exit edit buffer after saving entire file being edited on disk. If
- there are any other edit buffers, switch to one of them; otherwise,
- return to DOS.
-
- @EX Same as "EX", but always switches to the main edit buffer "@".
-
- :EX Suppress normally displayed message.
-
- -EX Same as "EY" - save file, but stay in edit buffer.
-
- EXA Exit all edit buffers, saving edit changes for all output files that
- are open.
-
-
- EY Save the entire file being edited on disk and remain in the current
- edit buffer. You can edit another file with the "EB" command.
-
- :EY Suppress normally displayed message.
-
- Note: Only altered files are rewritten to disk.
-
- \J\ \JL\ \JM\ \JN\ \JO\ \JP\
- Jump Commands:
-
- cJL If 'c' is TRUE, exit the current REPEAT-UNTIL loop.
-
- cJM If 'c' is TRUE, exit the currently executing macro.
-
- cJN If 'c' is TRUE, start next iteration of current loop.
-
- cJO If 'c' is TRUE, abort any macro and return to the Command
- Mode prompt or to an "auto-executing" macro.
- (See "RA" command).
-
- +JO Abort any macro and return to Visual Mode unless there is an
- "auto-executing" macro.
-
- cJP/label/ If 'c' is TRUE, jump to !label!.
-
- cJPlabel<ESC> Alternate form when explicit delimiters are not enabled.
-
- Note: If no 'c' is specified, the Jump is taken unconditionally.
-
- \OC\ \OS\
- OCcommand<term> Execute the specified DOS command or program. Returns to
- VEDIT after command/program is done. If V-SWAP is installed
- in memory and {CONFIG, File Handling, Use V-SWAP when entering
- DOS} is set, VEDIT will be swapped out of memory. ".rc" will be
- set to the return code (errorlevel) from the DOS program.
-
- OC|Rr<term> Execute the DOS command in text register 'r'.
-
- -OCcommand Suppress the "Press any key to continue" prompt upon returning
- to VEDIT.
-
- @OC/command/ "@" modifier MUST be present to use explicit delimiters.
-
- OS Temporarily enter DOS. Return to VEDIT with the DOS command
- "EXIT".
-
- @OS/prompt/ Enter DOS using the specified DOS prompt.
-
- @OS/$p$g$g/ Example.
-
- -OS Enter DOS using the existing DOS prompt.
-
- Note: Don't use the command "DOS" to enter DOS, the "D" deletes
- a character.
-
- \OD\ \OT\
- OD Display the current system date.
-
- :OD Suppress the final <CR><LF>.
-
- YI OD -YI Insert the date into the text.
-
- OT Display the current system time.
-
- :OT Suppress the final <CR><LF>.
-
- +OT Display system time with 1/18 second resolution.
-
- \OH\
- Note: these hardware access commands require a preceding "+" as a safety
- precaution.
-
- +nOHI Input a 16 bit Word from I/O port 'n'. The value is
- placed in the internal value ".rv".
-
- +n@OHI Input an 8 bit Byte from I/O port 'n'. The value is
- placed in ".rv".
-
- +n,kOHO Output the 16 bit value 'k' to I/O port 'n'.
-
- +n,k@OHO Output the 8 bit value 'k' to I/O port 'n'.
-
- +n,kOHR Read a 16 bit Word from memory location "n:k", e.g. 'n'
- is the segment and 'k' is the segment address. The value
- is placed in ".rv".
-
- +n,k@OHR Read an 8 bit Byte from memory location "n:k". The value
- is placed in ".rv".
-
-
- ...more...
-
- +n,kOHS Set the 16 bit memory location "n:k" from the contents of
- numeric register 20.
-
- +n,k@OHS Set the 8 bit memory location "n:k" from the contents of
- numeric register 20.
-
- +n,kOHC Performs a "CALL" to memory location "n:k".
-
- +nOHV Performs an "INT" to interrupt vector 'n'.
-
- OHC and OHV use numeric registers 20 thru 29 for passing the register
- values:
-
- AX = Q20 SI = Q24 DS = Q27
- BX = Q21 DI = Q25 ES = Q28
- CX = Q22 BP = Q26 Flags = Q29
- DX = Q23
-
- \PE\
- PE Page eject - advance printer to next page. Uses Form-Feed character
- if selected by "PP 6 1".
-
- -PE Reset only the internal line counter used for printing. This command
- may be needed after a user performs a manual form-feed on the printer.
-
- PF Flush print job on network. Performs a page eject and forces text to
- print on a network printer.
-
- \PP\
- PP <term> Display current values of all print parameters.
-
- PP n<term> Store value of parameter 'n' in ".rv".
-
- PP n k Change the value of parameter 'n' to 'k' after saving
- the old value in ".rv".
-
- 1 Paper length (lines) (5 - 100)
- 2 Top margin (0 - 60)
- 3 Bottom margin (0 - 60)
- 4 Left margin (0 - 80)
- 5 Line spacing (1 - 4)
- 6 Enable Form-Feed (0=NO 1=YES)
- 7 Printer (0=PRN 1=LPT1... 4=COM1)
-
- \PR\
- mPR Print the specified 'm' lines of text. Tabs are expanded to spaces.
- Other control characters are sent verbatim to the printer - without
- expansion.
-
- m_PR Print lines, performing file buffering if needed. Edit pointer
- position is restored following file buffering.
-
- p,qPR Print the block of text between file positions 'p' and 'q'. Moves
- the edit pointer to file position 'p'.
-
- YP mT Similar to "mPR", but control characters are expanded, e.g.<CTRL-L> is
- printed as ^L.
-
- \R*\
- R* Treat following text on line as a comment.
-
- \RA\
- +RA(r) Auto-execute text register 'r' in place of the "COMMAND:"
- prompt. 'r' cannot be "0".
-
- RA <term> Disable auto-execution. Or use "RA0" or "RA(0)".
-
- \RC\
- mRC(r) Copy 'm' lines from the edit buffer into text register 'r'.
-
- mRC(+r) Append 'm' lines to any existing contents in register 'r'.
-
- mRC(-r) Insert 'm' lines at the beginning of register 'r'.
-
- p,qRC(r) Copy the block of text between file positions 'p' and 'q'
- into register 'r'. Moves the edit pointer to file position
- 'p'.
-
- mRCr Alternate form not using the optional "(" and ")".
-
- p,q@RC(r) Copy the columnar block of text into register 'r'. If "YC" is
- not set, file positions 'p' and 'q' define the "corners" of
- the columnar block. If "YC" is set, 'p' and 'q' define the
- outer text limits and "YC" defines the columns of the
- columnar block.
-
- n@RC(r) When "YC" is set, equivalent to "p,q@RC" where the edit
- pointer defines 'p' and the beginning of the following 'n'th
- line defines 'q'. When "YC" is not set, the edit pointer
- defines the left column. All text on the following 'n'
- lines, beginning with the left column is copied to the
- register. The right edge of the copy is ragged (no padding).
-
- -n@RC(r) Equivalent to "p,q@RC" where the edit pointer defines 'q' and
- the beginning of the previous 'n'th line defines
-
- \RD\ \RT\
- RD(r) Dump the contents of text register 'r' to the console.
- Control characters are not expanded.
-
- YO RD(r) Dump the contents of text register 'r' directly to DOS.
- (Might be used to program function keys using ANSI escape
- sequences.)
-
- YP RD(r) Dump the contents of text register 'r' directly to the
- printer. (Might be used to set up printer fonts.)
-
- RT(r) Type (display) contents of register 'r'. Control characters
- are expanded. An embedded <CTRL-S> "stop character" causes a
- pause - press any key to continue.
-
- p,qRT(r) Types the block of characters between positions 'p' and 'q' in
- text register 'r'. Permits performing substring operations
- with text registers; using text registers as fixed length
- string arrays and much more. Can be used in conjunction with
- the "YI" command to insert a substring of a text register.
-
- \RE\
- RE(r) Empty text register 'r'.
-
- +RE(r) Empty text register 'r', even if it is currently executing as
- a macro.
-
- \RF\
- RF(r) filespec Selects a filename using Point & Shoot. 'filespec' is the
- initial "filter". When selected, the complete drive,
- directory and filename is placed into register 'r'.
-
- \RG\
- RG(r) Get (insert) contents of register 'r' into the edit buffer.
- Advances edit pointer only if "ES 4 1" is set.
-
- @RG(r) Perform columnar block insertion of register 'r'. No
- justification is performed on the right edge if 'r' contains
- ragged lines.
-
- \RI\
- RI(r)/text/ Insert 'text' into text register 'r'.
-
- RI(r)text<ESC> Alternate form when explicit delimiters are not used.
-
- RI(+r)/text/ Append 'text' to any existing contents of register 'r'.
-
- RI(-r)/text/ Insert 'text' at the beginning of register 'r'.
-
- \RJ\
- RJ(r) Jump to macro register 'r' without "returning" to the current macro
- after 'r' is done executing. Don't follow "RJ" with other commands
- - they won't be executed.
-
- \RL\ \RS\
- RL(r) file Load text register 'r' from file 'file'.
-
- RL(+r) file Append 'file' to any existing contents of register 'r'.
-
- +RL(r) file Perform extended search for 'file'.
-
- RS(r) file Save contents of register 'r' in file 'file'.
-
- -RS(r) file Skip confirmation prompt when 'file' already exists.
-
- \RM\
- RM(r) Compare contents of text register 'r' with text at edit pointer. Move
- the edit pointers over as many characters as matched.
-
- Return # characters matched in ".n" and the match result in
- ".rv": {0,1,2} for {=,<,>}.
-
- This is a character by character comparison. "ES 5" controls
- whether upper/lower case letters are equated.
-
- _RM(r) Perform file buffering, if necessary, to complete match. Often used
- when 'r' is also an edit buffer.
-
- See also: "EM".
-
- \RP\
- RP(r) Print contents of register 'r'. Tab characters are expanded
- to spaces, other control characters are sent verbatim.
-
- NOTE: The "(" and ")" are required to prevent confusion with the
- "RPOP" and "RPUSH" commands.
-
- YP RD(r) Print contents of register 'r'. No character are expanded -
- all characters are sent verbatim. (Might be used to setup
- printer fonts.)
-
- YP RT(r) Similar to "RP(r)", but control characters are expanded, e.g.
- <CTRL-L> is printed as ^L.
-
- \RPOP\ \RPUSH\ \RPROT\
- RPUSH(r,s) Push (save) text registers 'r' through 's' onto the text
- register stack and erase (clear) the registers. This
- first-in last-out stack has a maximum depth of 100.
-
- Allows use of "local registers" which do not affect use of
- the same text registers in other parts of a macro.
-
- RPOP(r,s) Pop (restore) text registers 'r' through 's' from the
- register stack. User must ensure that registers are pushed
- and popped in the correct order.
-
- nRPROT(r,s) Set write-protection of registers 'r' through 's' to 'n'.
-
- 0 - write protection off.
- 1 - Visual Mode cannot alter registers (nor keystroke macros).
- Registers can be altered from command macros.
- 2 - Registers cannot be altered, loaded or emptied.
-
- \RQ\
- RQ(r)/text/ Query for user input with 'text'. Get keyboard input line
- including terminating <CR><LF> or <ESC><ESC> and save in text
- register 'r'.
-
- +RQ(r)/text/ As above, but prompt on status line.
-
- RQ(+r)/text/ Append input line to any contents of register 'r'.
-
- RQ(-r)/text/ Insert input line at beginning of register 'r'.
-
- :RQ(r)/text/ Get keyboard input line without the <CR><LF> or <ESC><ESC>.
-
- RQrtext<ESC> Alternate form when explicit delimiters are not used AND
- optional "(" and ")" are not used. (Difficult to read!)
-
- \RR\
- RR(r,s) Copy the contents of text register 'r' to text register 's'.
- The "(" and ")" are optional, but greatly improve the
- readability of the command.
-
- RR(r,+s) Append the contents of register 'r' to the end of register 's'.
-
- RR(r,-s) Insert the contents of register 'r' at the beginning of
- register 's'.
-
- RR(#x,#y) Copy from the text register specified by the ASCII value in
- numeric register 'x' to the text register specified by the
- ASCII value in numeric register 'y'.
-
- \RX\
- RX(r) file Load 'file' into text register 'r' and execute register 'r'
- as a command macro. Perform extended search for 'file'.
- Equivalent to "+RL(r) file M(r)".
-
- \XA\ \XS\
- nXA(x) Add 'n' to numeric register 'x'.
-
- -nXA(x) Subtract 'n' from numeric register 'x'.
-
- nXS(x) Set numeric register 'x' to 'n'.
-
- Q4XA(7) Add value in numeric register "4" to register "7".
-
- NOTE: 'n' may be any numeric expression.
-
- Numeric range is -8,388,608 to 8,388,607
-
- \XB\ \XBB\ \XBE\ \XM\
- nXBB Set the block-begin marker at position 'n' in the file.
- (This corresponds to the "1-END" message in Visual Mode.)
-
- .pXBB Set the block-begin marker at the current edit position.
-
- -XBB Clear the block-begin and block-end markers.
-
- nXBE Set the block-end marker at position 'n' in the file.
- (If the block-begin marker has not yet been set, XBE sets the
- block-begin marker instead.)
-
- -XBE Clear the block-end marker. (Any negative value clears marker.)
-
- nXM(m) Set text marker 'm' to position 'n' in the file.
-
- -XM(m) Clear text marker 'm'.
-
- \XF\ \XK\
- XF(x)/text/ Prompt for user input with 'text'. Read and store decoded
- value of next function key in numeric register 'x'.
-
- +XF(x)/text/ As above, but prompt on status line.
-
- :XF(x)/text/ Allow [CANCEL] (<CTRL-C>) as valid function key.
- Otherwise pressing [CANCEL] stops any command macro.
-
-
- XK(x)/text/ Prompt for user input with 'text'. Store value of next
- keyboard character in numeric register 'x'.
-
- +XK(x)/text/ As above, but prompt on status line.
-
- XKxtext<ESC> Alternate form when explicit delimiters are not used AND
- optional "(" and ")" are not used. (Difficult to read!)
-
- :XK(x)/text/ Allow [CANCEL] (<CTRL-C>) as valid input character.
- Otherwise pressing [CANCEL] stops any command macro.
-
- \XP\ \XPOP\ \XPUSH\
- XPUSH(x,y) Push (save) numeric registers 'x' through 'y' onto the numeric
- register stack; the registers are not changed. This
- first-in last-out stack has a maximum depth of 100.
-
- Allows use of "local variables" which do not affect use
- of the same numeric registers in other parts of a macro.
-
- XPOP(x,y) Pop (restore) numeric registers 'x' through 'y' from the
- register stack. User must ensure that registers are pushed
- and popped in the correct order.
-
- \XQ\
- XQ(x)/text/ Query for user input with 'text'. Store input number or
- expression in numeric register 'x'. Input ends in <Enter>.
- Invalid expression is evaluated as "0".
-
- +XQ(x)/text/ As above, but prompt on status line.
-
- XQxtext<ESC> Alternate form when explicit delimiters are not used AND
- optional "(" and ")" are not used. (Difficult to read!)
-
- \XT\ \XI\
- XT(x) Type numeric register 'x' in decimal followed by <CR><LF>. Numbers
- in the range 0 < n < 65535 are right justified in field of 5 columns.
- Numbers in the range 65536 < n < 8,388607 use field of 7 columns.
- Negative numbers use fields one column larger (6 or 8).
-
- -XT(x) Number is displayed left justified.
-
- :XT(x) Suppress the <CR><LF> following the number.
-
- XI(x) Insert the ASCII value of numeric register 'x' into
- the text at the edit pointer. (Same as "YI XT(x) -YI".)
-
- \YA\
- YA Alert - sound a tone by sending a <CTRL-G> to DOS.
-
- n,kYA Create a sound (tone) of frequency 'n' hertz and duration
- 'k' milliseconds.
-
- \YB\
- p,qYB file Write the block of text between file positions 'p' and 'q' to
- the file 'file'. The edit pointer is moved to file position
- 'p'. Requires confirmation if the file already exists.
-
- -p,qYB file Skip confirmation prompt when 'file' already exists.
-
- p,q@YB file Write a columnar block of text. If "YC" is not set, file
- positions 'p' and 'q' define the "corners" of the columnar
- block. If "YC" is set, 'p' and 'q' define the outer limits
- and "YC" defines the columns of the block.
-
- \YC\
-
- n,kYC Set column override to columns 'n' and 'k' for the "@D", "@F", "@G",
- "@K", "@S", "@T", "@RC" and "@YB" commands. If "YC" is not set, then
- in a command such as "p,q@RC", file positions 'p' and 'q' define the
- "corners" of the columnar block. If "YC" is set, 'p' and 'q' define
- the outer limits and "YC" defines the columns of the block.
-
- 7,10YC
- B #[0,#@S/x/y/] This example changes all occurrences of "x" between columns
- 7 and 9 (inclusive) to "y".
-
- \YD\
- nYD Dump the character with ASCII value 'n' to the console followed by
- <CR><LF>.
-
- n:YD Suppress the <CR><LF> following the character.
-
- .bnYD Display the name of the current edit buffer.
-
- ^mYD Send <CR><CR><LF> to the console. This is a convenient way of
- advancing to the next window line.
-
- ^m:YD Send <CR> to the console. This is a convenient way of backing up
- to the beginning of the current window line.
-
- \YEA\
- nYEA Set window attribute to 'n'.
- (1 - 6 is color, 7 is white on black).
-
- n,kYEA Set window attribute to 'n' for text characters and to 'k'
- for characters used to erase window.
-
- Note: If you mess up the screen with the wrong attribute values,
- use 'YWI" to initialize the screen to the Configured values.
-
- On the IBM PC, an attribute of 0 (zero) results in
- "invisible" characters.
-
- \YEC\ \YEL\ \YES\ \YEH\ \YEV\
- YEC Clear (erase) entire window; home cursor.
-
- YEL Erase from cursor to end-of-line in window.
-
- YES Erase from cursor to end-of-screen in window.
-
- nYEH Position cursor horizontally to window column 'n'.
-
- nYEV Position cursor vertically to window line 'n'.
-
- \YEB\ \YEN\ \YET\
- nYEB Type 'n' blanks (spaces).
-
- nYEN Type 'n' newlines. Used to start a new line and type blank lines.
-
- nYET Tab-out by typing spaces to column 'n'. If already at or past column
- 'n', types two (2) spaces.
-
- \YEM\
- nYEM Change screen mode to 'n' lines (removes windows).
-
- +YEM Toggle between 25 line and 43/50 line (EGA/VGA) modes.
-
- YEM Resets VEDIT to current screen mode.
-
- 43YEM Change to 43 line EGA mode or 50 line VGA mode.
-
- \YF\
- nYF Format the current paragraph. The current left and right margins are
- used unless 'n' is specified as the temporary left margin. Justify if
- justification switch (ES 11 1) is set. After formatting, move the
- edit pointer to the beginning of the next paragraph.
-
- NOTE: If the right margin is not set, or the left-margin > right-margin,
- the command is ignored and no error given.
-
- \YG\
- YG If the edit pointer is at one of the group delimiters "{} [] <> ()",
- find its matching pair; otherwise, search forwards for the next
- group delimiter.
-
- _YG Find (matching) group delimiter, performing file buffering if
- necessary.
-
- \YI\ \YO\ \YOD\ \YOF\ \YP\ \YR\
- YI Re-route console output until the next command prompt into the
- edit buffer and advance the edit pointer.
-
- -YI Disable "YI", allowing output to go back to the console.
-
- YOD Re-route console output directly to DOS. This bypasses the
- normal screen/window handler and allows special characters
- (e.g. ANSI escape sequences) to be sent to DOS.
-
- -YOD Disable "YO".
-
- YOF file Re-route console output to the file 'file'.
-
- -YOF Disable "YOF".
-
- YP Re-route console output to the printer.
-
- -YP Disable "YP".
-
- YR(r) Re-route console output to text register 'r'.
-
- -YR Disable "YR".
-
- NOTE: The "YI", "YOD", "YOF", "YP" and "YR" commands can be nested,
- i.e. following "YP ... YI ... -YI" console output is
- re-routed to the printer.
-
- \YK\ \YKL\ \YKS\
- YKS file Save current keyboard layout, including any keystroke macros,
- to the file 'file'.
-
- YKL file Load new keyboard layout from the file 'file'.
-
- +YKL file Perform extended search for the file.
-
- \YML\ \YMR\ \YMS\
- nYML Set the left margin (indent position) to 'n'.
- (This is equivalent to "EP 6 n", but is easier to remember.)
-
- nYMR Set the right margin (word wrap column) to 'n'.
- (This is equivalent to "EP 7 n", but is easier to remember.)
-
- nYMS Sets the horizontal scroll amount used in Visual Mode to 'n'.
- However, Visual Mode will only use this value if the current cursor
- position can be properly displayed.
-
- Note: These margins only affect Visual Mode and the "YF" command.
-
- \YS\
- mYS Strip the 8th bit from all characters in the specified 'm' lines.
- Primarily for converting WordStar files to ASCII files.
-
- m_YS Strip characters, performing file buffering if needed. Edit pointer
- position is restored following file buffering.
-
- p,qYS Strip the the block of characters between file positions
- 'p' and 'q'. Moves the edit pointer to file position 'p'.
-
- \YT\
- YT/text/ Type 'text' on the console. 'text' may be multiple lines long.
-
- YTtext<ESC> Alternate form when explicit delimiters are not used.
-
- +YT/text/ Type 'text' on the status line.
-
- \YV\
- YV/vm codes/ Execute the Visual Mode functions 'vm codes' from within
- Command Mode. 'vm codes' are two letter codes (listed on
- page 413) enclosed in "\ \". Normal displayable characters
- can also be included; they are not enclosed in "\ \".
-
- YV/\CD\\CD\/ Perform two [CURSOR DOWN] operations.
-
- YV/\ME\EC/ Center a line by selecting this function from the menu system.
-
- \YWA\ \YWB\ \YWD\ \YWI\ \YWL\ \YWR\ \YWS\ \YWT\ \YWZ\
- YWA(w) Attach window 'w' to the current edit buffer.
- -YWA(w) Detach window 'w' from any edit buffer.
-
- YWD Delete current window.
- YWD(w) Delete window 'w'.
-
- YWI Initialize screen - delete all windows, reset attributes.
-
- YWS(w) Switch to window 'w'.
- YWS<term> Switch to window "@".
- YWS(#x) Switch to the window specified by numeric register 'x'.
- +YWS(w) Switch to window 'w', and if attached, make it the current
- edit buffer's "primary" window.
- (For multiple windows per file).
-
- YWS(?) Switch to the status line window. Allows displaying messages
- on the status line and is more flexible than using "+YT",
- "+XQ" and "+RQ". You must switch back when done!
-
- YWZ Zoom current window to full screen.
-
-
-
-
- YWB(w) n Create window 'w' of 'n' lines at bottom.
- YWL(w) n Create window 'w' of 'n' columns at left.
- YWR(w) n Create window 'w' of 'n' columns at right.
- YWT(w) n Create window 'w' of 'n' lines at top.
-
- +YWT(w) n Create window 'w' and attach it to the current window.
- Same for "YWB`os", "YWL" and "YWR".
-
- \YZ\
- nYZ Delay for 'n' / 10 seconds. (Max = 25.5 seconds.)
-
- \[\ \ENTER CTRL]\ \[CANCEL]\ \<CTRL-Q>\ \<CTRL-C>\
- <CTRL-Q> Is normally assigned to the [ENTER CTRL] function.
-
- [ENTER CTRL] The character, usually a control character, is taken
- literally and not interpreted. Allows searching and
- inserting of control characters including line editing
- characters and <CR>.
-
- <CTRL-C> Is normally assigned to the [CANCEL] function.
-
- [CANCEL] Abort or cancel key. Will stop an iteration macro or command
- macro before the next command is executed.
-
- \_\
- _ Precedes commands to indicate a "global" operation in the entire
- file. It is only needed when the "global file" option (ES 10) is not
- enabled.
-
- "_F" and "_S" perform the search/replace to the end-of-file instead
- of just the end of the edit buffer.
-
- Precedes "B", "K", "L", "T", "Z", "EM", "PR", "RM", "YG", "YS" to
- indicate a global operation. "_EM" allows a match at the end of the
- edit buffer to continue.
-
- \@\
- @ Precedes commands to indicate that explicit delimiters are being used.
- Only needed when the explicit delimiter option (ES 8) is not enabled.
-
- E.g. @F/string/ @I"string" @JP.label.
-
- Precedes "D", "G", "K", "T", "RC" and "RG" to select columnar block
- operations.
-
- \:\
- : Precedes "F", "L", "N" or "S" to suppress error reporting.
- (See also switch ES 8).
-
- Precedes "ER", "EW", "XT", "YD" to suppress the following <CR><LF>.
-
- Precedes "EA", "EX", "EY" to suppress normal "SAVING..." message.
-
- Precedes "XF" and "XQ" to suppress [CANCEL] checking.
-
- Precedes "B" and "Z" to suppress global option.
-
- Precedes "RQ" to prevent <CR><LF> or <ESC><ESC> from being included
- in the input string being copied into the designated text register.
-
- \$\ \\\
- "$" and "\" can precede "F", "N", "S" or "EM" to override the current search
- mode and select pattern matching or regular expressions, respectively.
-
- E.g: $F/|U|A/ Search for capitalized word with pattern matching.
- (Upper case letter followed by any letter.)
- \F/[A-Z][A-Za-z]/ Equivalent using regular expressions.
-
- \|\ \|R\
- | "|" is the lead-in character for pattern matching codes usable with
- the "F", "N", "S" and "EM" commands.
-
- E.g. F/|D|D|D|D/ Search for a four (or more) digit number.
-
- On-line help for [FIND] lists all of the pattern matching codes.
-
- |Rr The form "|Rr" permits using the contents of text register 'r' as
- part of a string. The following example prompts for a filename and
- then opens the specified file for editing.
-
- :RQ(t)/Enter Filename:/
- EB |Rt
-
- \;\
- ; Shorthand for ".erJL". Used with "ES 8 2" following the "F",
- "S" and "L" commands. Does not clear the error flag ".er" as
- "JL" would do.
-
- \#\ \"\ \^\
- # Represents maximum positive number 8,388,607. Signifies "forever" or
- "all occurrences of".
-
- " Converts the following character into its numeric ASCII value; e.g.
- "S has a value of 83.
-
- ^ Converts the following letter into the numeric ASCII value for the
- corresponding control character; e.g. ^C has a value of 3.
-
- \.\
- INTERNAL VALUES
-
- .bb Block-begin marker's offset in file. (-1 = not set)
- .be Block-end marker's offset in file. (-1 = not set)
- .bn Name of current edit buffer (in ASCII)
- .bob Beginning-of-buffer flag for edit pointer (0 = No/False)
- .bof Beginning-of-file flag for edit pointer
- .bw Edit buffer's primary window (in ASCII)
- .bx Name of the "next" existing edit buffer (which is not executing)
- .c ASCII value of character at the edit pointer
- .cl Left column override set with YC. (0 = not set)
- .cm Column Mode in Visual Mode (same as EO 9)
- .cn Column number of character at the edit pointer
- .cr Right column override set with YC. (0 = not set)
- .ed Demo version flag. (0 = normal version)
- .eob End-of-buffer flag for edit pointer (0 = No/False)
- .eof End-of-file flag for edit pointer
- .er Error flag. Set by F, L, N, S and EM
- .es Search error flag. Set/reset by F, N, S, EM, RM
- .ev Editor version number (Version 3.11 has value 311)
- .ew Write error flag. Set/reset by last disk write operation
-
- Press <Enter> to continue:
-
- .fm Number of free memory bytes
- .fr Find/replace status: 0=Cancelled, 1=[FIND], 2=[REPLACE]
- .ic Value of configuration task 9.2 -
- "Look for Help and Macro files on current drive".
- .if Input file open flag. (0 = file not open)
- .im Insert Mode in Visual Mode (same as EO 8)
- .ip Index into pattern set - which item was matched
- .kc Wait for and get next keyboard char/function-code
- .kp(m) Previous 'm'th raw keystroke
- .ks Keyboard status. (1 = char ready)
- .ln Line number in the file of current character
- .lo Number of lines written to the output file
- .ma Mouse active flag. (0 = not active)
- .ml Left margin (Indent position)
- .mn Name of currently executing text register (in ASCII)
- .mr Right margin (word wrap column; same as EP 7)
- .ms Horizontal scroll amount in Visual Mode
- .m(m) Position of text marker 'm' in file. (-1 = not set)
- .n Number of characters matched by F, N, S, EM, RM
-
- Press <Enter> to continue:
-
- .oa Alter flag. (0 = output file has not been altered)
- .oe Explicit output file - EB or invoked with two filenames
- .of Output file open flag (0 = file not open)
- .os Operating system: 0 = CP/M, 1 = CP/M-86, 2 = MSDOS/PCDOS
- 3 = FlexOS 4 = XENIX
- .ov V-SWAP installed flag. (0 = not installed)
- .p Edit pointer's offset in file (0 = beginning of file)
- .ra Register set by "RA" to auto-execute (0 = none, ASCII #)
- .rc Return code from last DOS program run by OC/OS command
- .rm Absolute value of the remainder from last division
- .rp(r) "Protection" for register r. Set by RPROT command.
- .rt(r) "Type" for register r: (.rt(#x) also valid)
- 0 = unused, 1 = text register, 2 = edit buffer
- .rv Return value from F, S, ED, EK, EM, EO, EP, ES, PP, RM
- .sc Screen columns - total columns displayed on screen
- .sd Screen display type:
- 0 = CRT, 1 = MM, 2 = IBM Mono, 3 = IBM Color
- .si IBM PC display type: 0 = None, 1 = Mono, 2 = CGA, 4 = EGA, 5 = VGA
- .sl Screen lines - total lines displayed on screen
- .t Next tab position based on ".cn"
- .u(r) Number of bytes in register 'r'; (.u(#x) also valid)
- .v Numerical value of expression at edit pointer
-
- Press <Enter> to continue:
-
- .wa Attribute for displayed text in current window
- .wc Size of current window in columns
- .we Attribute for erased parts of current window
- .wl Size of current window in lines
- .wm Mode of current window (mask to 7 bits): 0 = Command Mode,
- n = Visual Mode for edit buffer 'n'; Bit 8 = window clear
- .wn Name of the current window (in ASCII)
- .ws(w) Status of window 'w': 0 = does not exist, 1 = exists,
- n = attached to edit buffer 'n'
- .wt Total number of windows on the screen
- .wx Horizontal ("x") cursor position in window
- .wy Vertical ("y") cursor position in window
- .wz Window zoomed flag: 0 = none, n = window 'n' is zoomed
-