".START","ADD","","PURPOSE","","The ADD command is used to enter text into the WORK file  from  a","terminal or from a specified file.","","FORMAT","","     ADD[D]  [line number][BY increment]","        [Q]  [FROM filename [(file range)][,UNNUMBERED]]","","     ADD#",".PAUSE","DESCRIPTION","","The ADD command adds text to the WORK file from the  terminal  or","from any file you specify.  The command adds text  between  exis-","ting  lines  in the WORK file if a specific line number is decla-"
"red,  or to the end of the WORK file if line number is not speci-","fied.","","If the line number parameter is absent from the ADD  command  and","the  WORK file is empty, text begins at the line specified by the","SET FROM=line number command.  Left and right bounds  are  deter-","mined  by  the SET LBOUND and SET RBOUND commands.","","ADD begins adding lines at the specified line number  and  incre-","ments by the value of SET INCREMENT (default is increment of one)"
"unless  the optional  BY increment  parameter is  specified.  For","example,  if  you want line numbers to be temporarily incremented","by 10, then specify BY 10 in your ADD command.",".PAUSE","PROMPT AND POINTER","","When EDITOR is ready to accept a new line  of  text,  it  prompts","with a colon (:).","","     >ADD 66","       66  :New text","       67  :Additional text","       68  ://BREAK","     >",".PAUSE","When AUTOMARGIN is ON, the colon may be followed by text from the"
"previous line if the length of that  line  exceeded  RBOUND.   In","such a case you begin typing after that text is displayed.","","     >ADD 100","      100   :First line of text runs over into second line","      101   :second line.  You begin typing ...   ^--RBOUND","      102   ://BREAK","","When AUTOMARGIN is OFF, text exceeding RBOUND  is  discarded  and","must be reentered on a new line.","","Text is entered one line at a time,  in  response  to  the  colon"
"prompt.  Following the addition of text, the pointer is position-","ed at column LBOUND of the last line added.",".PAUSE","BREAK KEY","","Pressing the BREAK key at any time after an ADD command has  been","entered terminates the operation.","","All text typed before the BREAK key is pressed  is  entered  into","the WORK file  before  the command is terminated.  If no text was","entered before the BREAK key was pressed, the line number remains","unused.",".PAUSE","LIMITATIONS",""
"The ADD command adds entire lines of text to  the  WORK  file  in","full  compliance  with  the  limits established by the LBOUND and","RBOUND parameters.",".PAUSE","ADD#","","ADD# permits you to add lines, one at a time, in any  order  that","appeals  to  you.  EDITOR issues a number sign prompt rather than","the usual colon.  You must enter an absolute number followed by a","blank or a colon before entering the text of  the  line.   Blanks","which follow the initial blanks are preserved as leading blanks.",""
"     >ADD#","     #53 Here is line 53.","     #42:Text of line 42.","     #//BREAK","     >","","Pressing the BREAK key or typing //BREAK terminates the # prompt-","ing.",".PAUSE","ADD FROM filename [(file range)]","","The FROM filename parameter causes numbered lines of text  to  be","added to the WORK file from the file you specify.","","When the entire file is to be added, simply supply the file name.","If only a select group of lines within the file is to  be  added,"
"specify them as the file range (first and last line numbers).","","","","ADD line number FROM filename (file range),UNNUMBERED","","When a line number is specified with FROM filename, the parameter","UNNUMBERED must also be specified.",".END",".START","REPLACE","","PURPOSE","","The REPLACE command is used to replace lines of text in the  WORK","file.","","FORMAT","","   REPLACE[D] [line rangelist]","          [Q] [FROM filename [(file range)][,UNNUMBERED]","","   REPLACE#",".PAUSE","DESCRIPTION",""
"The REPLACE command replaces lines of text that  were  previously","entered  into the WORK file.  You specify the number of the  line","to  be replaced, then enter the new text for that line.  Replace-","ment  text  may  be entered from your terminal or directed to the","WORK file from another file.","","You may specify a single line or a range of lines to be replaced,","depending on your needs.   Replacement  occurs  only  within  the","limits of LBOUND and RBOUND.",".PAUSE","PROMPT AND POINTER",""
"When EDITOR is ready to receive a line of  replacement  text,  it","prompts  with a colon (:).  If the DISPLAY option is ON, the cur-","rent contents of the line are displayed before  the  prompt.   In","response you enter the replacement text and press return.","","The new text entirely replaces the text between LBOUND and RBOUND","of the line specified.  Pressing RETURN without entering replace-","ment text deletes the content of  the  line  between  LBOUND  and"
"RBOUND,  but  does not delete the line number or any text outside","the boundaries, if any.","","Following the replacement operation, the pointer is positioned at","column LBOUND in the following line if any exist, otherwise it is","positioned at column RBOUND of the replaced line.",".PAUSE","BREAK KEY","","Pressing the BREAK key in response to the colon prompt terminates","the replacement of the current line and any following lines in  a","line rangelist.  The line being prompted  for  is  not  replaced;"
"text of each line to be replaced.  The original  content  of  the","line is not displayed regardless of the setting of DISPLAY.","","For example:","","    >REPLACE#","    #75 This is the replacement text","    #//BREAK","    >",".PAUSE","REPLACE  FROM filename [(file range)]","","Text for replacement lines may originate from a file.  When   the","entire  file  is  to be used as a replacement, simply specify the","file name, and the numbered lines in the file will replace  lines"
"with those numbers in the WORK file.","","If only a selected group of lines within the file is to  be  used","for replacement, specify them as the file range.",".PAUSE","REPLACE line rangelist,FROM filename(file range),UNNUMBERED","","When a line rangelist is specified with FROM filename  the  para-","meter  UNNUMBERED  must  also be specified.  A line rangelist may","not be specified when numbered lines are in the FROM  file.   The","file  supplying  the replacement text may contain more lines than"
"the line rangelist specifies, but must contain at least that many","lines or the message FULL RANGE NOT REPLACED is issued.  If  DIS-","PLAY is OFF, the message line number WAS THE LAST  LINE  REPLACED","is displayed.",".END",".START","INSERT","","PURPOSE","","The INSERT command is used to  insert  character  strings  within","lines  or  entire  lines of text into the WORK file at a specific","position.","","","FORMAT","","   INSERT[D]  [character position][BY increment]","         [Q]",".PAUSE","DESCRIPTION",""
"The INSERT command inserts character  strings  into  an  existing","line of text.  You specify the line and column position where the","insertion is to be made, then enter the text to be inserted.  The","INSERT command adds text to the WORK file, it does not replace or","delete existing text.",".PAUSE","PROMPT AND POINTER","","When EDITOR is ready to receive an insertion, it prompts  with  a","colon.    If  DISPLAY  is ON, the current contents of the line to"
"receive the inserted text is displayed with its line  number  be-","fore  the prompt is issued.  In response you enter the text to be","inserted and press the BREAK key followed by return.  If  DISPLAY","is OFF the line number is not displayed.","","After an insertion is made, the pointer is positioned one  column","beyond  the  end  of the inserted text.  If the insertion ends in","column RBOUND, the pointer is positioned to column LBOUND of  the"
"following  line.  When this occurs in the last line  the  pointer","remains at column RBOUND in the current line.",".PAUSE","BREAK KEY","","An insertion operation must be terminated by the BREAK key or  by","//BREAK.  The following conventions let you control the placement","of inserted text and the remainder of  the  line  in  which   the","insertion is made.","","~Pressing the BREAK key informs EDITOR that this is the last line"," to be inserted, and that any remaining text is  be  appended  to"
" this  line.  Existing text to the right of the insert is not af-"," fected by the insert; is placed at the end of the insert on  the"," same  line  if there is room, or on a new line below the insert,"," assuming there is not text beyond RBOUND and AUTOMARGIN  is  ON."," To illustrate:","","     >INSERT 12","       12  short line.","          :this is a <break>","       12  this is a short line.",".PAUSE","~Pressing return causes EDITOR to place text  originally  to  the"
" right  of  the insert column on a new line.  Text to the left of"," the insert column is unchanged.  To illustrate:","","     >INSERT 15","       15    short line.","            :this is a <return>","       15    this is a","       16   ://BREAK","       16    short line.","     >",".PAUSE","LIMITATIONS","","An insertion must always be made in an existing  line.   Use  the","ADD command to add lines between existing lines if necessary.","","INSERT respects the setting of LBOUND and RBOUND  at  all  times."
"Only  text within these boundaries is available for specification","as a character position.  Text beyond  these  boundaries  is  not","available  for  insertion;  nor can a multiline insert begin in a","line which has text to the right of RBOUND.","","When AUTOMARGIN=ON and text is inserted in a line  that  contains","no text to the right of RBOUND, new line  numbers  are  automati-","cally  supplied  to  contain text which exceeds the limits of one"
"line.  Thus if insertion text consists of  more  characters  than","are  allowed  on  one line, EDITOR creates new lines as necessary","to accomodate the additional text.",".PAUSE","New line numbers are determined by the SET INCREMENT value if the","BY increment parameter is not used.  The insert operation is ter-","minated and the error message: INSERT WILL NOT REPLACE OR  INTER-","LEAVE  LINES  is  issued  if an existing line is encountered when","incrementing to form new lines.",""
"When AUTOMARGIN=OFF, text is not  automatically  carried  to  the","next  line and a carrige return must be entered before the insert","text reaches RBOUND.  If you attempt to extend text beyond RBOUND","in this case, EDITOR issues the  message  RBOUND  VIOLATED,  TEXT","BEYOND RBOUND DISCARDED, and you must re-enter the discarded text","on a new line.  New line prompts are automatically supplied until","you terminate the insert operation with //BREAK or the BREAK key.",".END",".START","MODIFY","","PURPOSE",""
"The MODIFY command is used to modify lines of text interactively.","","FORMAT","","     MODIFY[D] line rangelist","           [Q]","","     MODIFY#",".PAUSE","DESCRIPTION","","The MODIFY command enables you to change specific portions of the","WORK file text interactively.  You specify the line or  range  of","lines to be modified, then identify the character to be modified,","and the type of changes to be made.","","MODIFY enables you to specify three types of modifications:",""
"D    Deletes the character directly above it.  A consecutive str-","     ing of characters can be deleted  by  typing  D  below  each","     character or below the first and last characters in the str-","     ing to be deleted.","","I    Inserts the characters typed  following  the  I  before  the","     character directly above the I.","","R    Replaces characters starting  with  the  character  directly","     above the R with characters typed following the R.",".PAUSE"
"Only one modification (D, I or R) may be used per line, with  two","exceptions:  the final D in a specification may be replaced by an","I followed by text to be inserted, and a greater  than  sign  may","follow  a single D to indicate that the rest of the line is to be","deleted.  For example:","","   >MODIFY 23:25","     23    This is line 23.","          :               r in total.","     23    This is line 23 in total.","          :                d      icomplete","     23    This is line 23 complete."
"          :<return>","     24    This is line 24.","          ://BREAK",".PAUSE","PROMPT AND POINTER","","Once you have specified the line or range of lines  to  be  modi-","fied,  EDITOR  displays  the  accessible  portion of the line and","prompts with a colon.  Use the space bar to position  the  cursor","or  print  head directly below the character to be modified, then","specify the modification (D, I or R).","","After a modification has been made, the pointer is positioned one"
"column beyond the modification.",".PAUSE","BREAK KEY","","The BREAK key may be used in three ways: to signal completion  of","a modification, to cancel all modifications made in a line, or to","terminate a MODIFY command.   To  signal  completion,  press  the","BREAK  key  after  entering  the modification but before pressing","return; the line is accepted without further display.   The  next","line of a range is then presented for modification.",""
"Pressing the BREAK key in response to a colon prompt after one or","more modifications have been made to a line, causes the  line  to","be redisplayed in its original form and you may specify the modi-","fications you prefer.  This application of the BREAK  key  allows","you to correct a mistake.","","To terminate the MODIFY command and return to the > prompt, press","the BREAK key followed immediately by return before any modifica-","tions have been made.  EDITOR then ignores  any  remaining  lines"
"(if  a  rangelist was specified) and returns the > prompt.  Lines","already modified remain modified.",".PAUSE","LIMITATIONS","","Only the space bar may be used to advance  the  cursor  or  print","head.   Cursor-right and the other cursor control keys should not","be used.","","MODIFY adheres to the limitations imposed by LBOUND  and  RBOUND.","Only text between these boundaries is available for modification.","",".PAUSE","MODIFY#","","Appending a number sign (#) to the MODIFY command instructs EDIT-"
"OR to prompt with a number sign.  You in turn enter the number of","the line to be modified.  This permits you to specify  lines  for","modification in any sequence you prefer.  For example:","","     >MODIFY#","     #126","      126   This is line 126.","           :             inumber","      126   This is line number 126.","           :<return>","     #//BREAK","     >","","You must enter the number of an existing line followed by return.","Pressing the BREAK key  or  entering  //BREAK  terminates  the  #"
"~the old text to be changed either as a string of  characters"," (string)  or  as a specific position in a line (start column"," :stop column)","","~the new text (string) to be used in place of  the  old  text","","~the line or group of lines (line  rangelist)  in  which  the"," change is to be made",".PAUSE","You may make changes to certain text occurrences such as","","     >CHANGE @will@ TO \34shall\34 IN 10","","or to the contents of certain positions in a line such as","","     >CHANGE 5:10 TO \34******\34 IN 12.5",""
"Changes may be specified for a single line","","     >CHANGE \34CHAPTER\34 TO \34SECTION\34 IN 23","","or in groups of lines such as","","     >CHANGE \34CHAPTER\34 TO \34SECTION\34 IN 23:95,110:125",".PAUSE","You may also use the CHANGE command to change one  specific  por-","tion  of  text rather than all occurrences of such text.  The al-","teration of one portion of text is called a directed  change  be-","cause  you direct EDITOR to that portion of text to be changed by","positioning the pointer.",""
"The FIND command (paragraph 8-50) must be used  to  position  the","pointer for a directed change.  To illustrate:","","     >FIND 10(13)","       10    A B C D E F H H I","                         ^(13)","     >CHANGE \34H\34 TO \34G\34","       10    A B C D E F G H I","","A directed change changes only the first occurrence found  beyond","the  current location of the pointer.  In the example above, FIND","10 would produce the same result.",".PAUSE","PROMPT AND POINTER",""
"Since you specify the type and place of the change  operation  in","the  context of the command itself, CHANGE does not issue its own","prompt.","","After each change operation, the pointer  is  positioned  to  the","column immediately following the last character of string.",".PAUSE","BREAK KEY","","You may press the BREAK key to terminate  the  operation  of  the","CHANGE  command  at any time.  Lines changed before the BREAK key","is pressed are not restored.",".PAUSE","LIMITATIONS",""
"The CHANGE command effects text only within  the  limits  set  by","LBOUND  and RBOUND.  If the anticipated result of any change vio-","lates RBOUND, the warning message: RBOUND  VIOLATED,  NO  CHANGES","MADE IN LINE line number is issued.",".PAUSE","CHANGED and CHANGEQ","","When CHANGED is specified, every changed line is displayed immed-","iately following the operation.  The display includes  only  text","between  and  including LBOUND and RBOUND.  Changed lines are not"
"displayed if CHANGEQ is specified.",".PAUSE","CHANGE start column:stop column TO string","","This form of the CHANGE command is a directed change.   The  FIND","command must be used to set the pointer to the desired line.  The","contents of start column:stop column are replaced by  string  and","the  length of the line is adjusted as necessary.  Start and stop","column specifications must not violate LBOUND and RBOUND  parame-","ters.",".PAUSE","CHANGE start column TO string",""
"This form of the command is a directed insertion  rather  than  a","replacement.  String is inserted in the line of text beginning in","the column specified as start column.  The original  contents  of","start column to RBOUND are adjusted to the right to make room for","string.  FIND must be used to position the pointer to the desired","line.",".PAUSE","CHANGE...TO //ASK string","","The optional //ASK string parameter may only be used from  a  USE"
"file; it may not be entered directly from the terminal as part of","the CHANGE command.","","The string which follows //ASK is issued as a prompt to the  per-","son  at  the  terminal.  The text which that person enters in re-","sponse to the prompt becomes the replacement string.",".PAUSE","...IN line rangelist","","When IN line rangelist is specified, all occurrences of string or","start column:stop column are replaced by TO string in the line or"
"group of lines specified.  The use of a start column only  causes","the string to be inserted at the start column in all lines encom-","passed by the line rangelist.",".END",".START","DELETE","","PURPOSE","","The DELETE command is used to delete ranges  of  text,  including","entire lines, from the WORK file.","","FORMAT","","    DELETE[D] character rangelist","          [Q]","    DELETE#","",".PAUSE","DESCRIPTION","","The DELETE command deletes text from the WORK file.  You may spe-"
"cify a portion of a line, an entire line, a range  of  lines,  or","ALL which indicates that the entire content of the WORK  file  is","to be deleted.",".PAUSE","PROMPT AND POINTER","","With the exception of DELETE#, the DELETE command does not  issue","its  own prompt, all parameters are specified as part of the com-","mand.","","DELETE positions the pointer one column beyond the deleted  text.",".PAUSE","BREAK KEY","","You may terminate an active DELETE command at any time  by  pres-"
"sing  the  BREAK key.  However, any text deleted prior to the re-","ception of BREAK is irretrievably lost.",".PAUSE","LIMITATIONS","","WORK file contents removed with a DELETE command are not recover-","able.","","The DELETE command ignores LBOUND and RBOUND limits when deleting","text.  When a range of text begins in one line and ends in anoth-","er, both the content and line numbers of  intervening  lines  are","deleted.  When an entire line is deleted, the line number is also"
"removed from the WORK file.",".PAUSE","DELETED and DELETEQ","","When DELETED is specified, EDITOR  displays  the  text  of  lines","which  are deleted entirely from the WORK file.  When only a part","of a line is deleted, an asterisk precedes text remaining in that","line is Nothing is displayed when ALL is specified as the  range.","DELETEQ  turns  off  the display option; instead, a message indi-","cates the number of lines deleted.",".PAUSE","DELETE#",""
"When # is appended to the DELETE command, no rangelist is permit-","ted.  Instead of a rangelist, you must enter the  number  of  the","lines to be deleted one by one.  EDITOR prompts you with a number","sign prompt for the line number of the next line to  be  deleted;","only entire lines can be deleted in this manner  and  nothing  is","displayed  regardless  of  the setting of DISPLAY.  Use the BREAK","key or //BREAK to discontinue prompts for deletions.",".PAUSE","DELETE character rangelist",""
"You may specify any range of text for deletion.  When  only  part","of a line is deleted, the remaining text in the line is  compres-","sed,  regardless  of RBOUND and LBOUND settings, and the effected","line is displayed.  For example:","","   >LIST 705.12","    705.12 The point is, however, how it is gone","   >DELETE @how@","    705.12*The point is, however, it is gone","","When a range of text encompasses entire lines,  the  content  and","the line numbers of those lines are deleted from the WORK file."
".END",".START","RENUMBER","","PURPOSE","","The RENUMBER command is used to renumber a range of lines in  the","WORK file.","","FORMAT","","   RENUMBER[D] line range  [TO line number] [BY increment]","           [Q]",".PAUSE","DESCRIPTION","","The RENUMBER command enables you to change the  numbers  assigned","to some or all of the lines in the WORK file.  You specify a sin-","gle range of lines to be renumbered (line range), then optionally","you specify the renumber options that you want EDITOR to use:",""
"~renumber lines according to SET FROM and SET INCREMENT values by"," omitting the TO and BY parameters.","","~renumber lines starting with the line  number  specified  as  TO"," line number.","","~renumber lines according to the interval specified as BY  incre-"," ment.",".PAUSE","PROMPT AND POINTER","","RENUMBER does not issue its own prompt as all necessary  informa-","tion is included in the command parameters.","","Following the renumbering operation, the pointer is positioned at"
"column LBOUND of the line following the last renumbered line.  If","the last line in the WORK file is renumbered the pointer is posi-","tioned in column RBOUND of that line.",".PAUSE","BREAK KEY","","The operation of the RENUMBER command may not be terminated dur-","ing its execution.  Pressing the BREAK key after the command has","been entered has no effect.",".PAUSE","LIMITATIONS","","The RENUMBER command will not interleave or move lines  of  text."
"The  only  function  that  it  will perform is the renumbering of","lines.",".PAUSE","RENUMBERD and RENUMBERQ","","When DISPLAY=ON or RENUMBERD is specified, both the old  and  new","line  numbers  are  displayed for each line renumbered.  An arrow","(=>) separates the two line numbers.  To illustrate:","","     >RENUMBERD 53:55 BY .1","        53    => 53","        53.01 => 53.1","        53.04 => 53.2","","When the range ALL is specified, the new  line  numbers  are  not"
"displayed  regardless  of  the  setting of DISPLAY.  RENUMBERQ is","used to disable the display facility.  When Q is appended to  the","command, nothing is displayed during the renumbering operation.",".END",".START","MOVE","","PURPOSE","","The MOVE command moves text from one location to another in   the","WORK file.","","FORMAT","","   MOVE[D] character range TO line number [BY increment]","       [Q]",".PAUSE","DESCRIPTION","","The MOVE command enables you to remove text from one location  in"
"the  WORK file and place it in another.  The repositioned text is","renumbered according to the current value of SET INCREMENT unless","you specify BY increment parameter.  When using the MOVE command,","you may specify only a single range of text to  be  moved  (char-","acter range) and the starting line number to which the text is to","be moved.  You may move whole lines or parts of lines.","","MOVE does not respect the settings  of  LBOUND  and  RBOUND  when"
"searching  for  a position, extracting text from a line range, or","forming new lines.  MOVE  totally  disregards  boundary  restric-","tions.",".PAUSE","PROMPT AND POINTER","","MOVE does not issue its own prompt.","","Following a move operation, the pointer is positioned  to  column","LBOUND of the first line moved.",".PAUSE","BREAK KEY","","MOVE assembles all lines to be moved into a temporary file before","actually performing the operation.  The BREAK key may be used  to"
"terminate  the  move  during  this part of the operation and will","result in no change to the original position of the  text.   How-","ever,  once the process of moving lines to their new location has","begun, the MOVE operation cannot be  interrupted  or  terminated.","Pressing the BREAK key at this point has no effect.",".PAUSE","LIMITATIONS","","EDITOR rejects a MOVE command and prints an error message if  any","of the following conditions occur:","","~a TO line number parameter is not provided.",""
"~an attempt is made to move a line to an existing line number.","","~there is insufficient room between two existing line numbers  to"," fit  all of the moved range of text using the optional BY incre-"," ment value or standard algorithm for incrementing line numbers.","","MOVE does not fill lines as they are moved, hence text from  each","original line is merely given a new line number.",".PAUSE","MOVED and MOVEQ","","When DISPLAY=ON or MOVED is specified, both the old and new  line"
"numbers  of  the  moved text are displayed, separated by an arrow","(=>).  To illustrate:","","     >MOVE 10:13 TO 70","        10   => 70","        10.1 => 71","        11   => 72",".PAUSE","An asterisk is affixed to the arrow (*=>) when only a part  of  a","line is moved to a new location.  The old line number is preserv-","ed if any text remains in it.","","The parameter Q turns DISPLAY off.  When MOVEQ is  specified  no-","thing is displayed during the move operation.",".PAUSE"
"MOVE character range TO line number","","You may specify the beginning and ending positions of text to  be","moved.   These  parameters  must be separated by a colon, such as","10:12 or 123:456, and constitute the range of text to  be  moved.","If only one line is to be moved, that line number is used as both","the beginning and ending line numbers in the specification.   For","example to move line 10 to line 20 enter:","","   >MOVE 10 to 20",""
"You must specify the line number of the first line to receive the","moved text.  The line number specified may be a line at  the  end","of  the current text, or a line number which falls between exist-","ing lines.",".PAUSE","BY increment","","BY increment is optional.  When it  is  specified,  line  numbers","assigned  to  moved  lines are incremented by the value specified","for this parameter.  When BY increment is omitted,  line  numbers","are incremented by the value of SET INCREMENT.",".END",".START","COPY"
"","PURPOSE","","The COPY command is used to copy text from one  location  in  the","WORK file to another.","","FORMAT","","   COPY[D] character range TO line number [BY increment]","       [Q]",".PAUSE","DESCRIPTION","","The COPY command copies a portion of text from  one  location  in","the  WORK  file  to  another.   Upon completion of the operation,","identical text exists in both the old and the new location.","","The  character range may include part of a line, an entire  line,"
"or an entire range of lines.  You must specify the line number to","receive the copied text, and may also specify  the  increment  by","which succeeding line numbers are to be determined.",".PAUSE","PROMPT AND POINTER","","COPY issues no prompt since all necessary information is provided","within the parameters used with the command.","","Following the copy operation, the pointer is positioned at column","LBOUND of the first line containing copied text.",".PAUSE","BREAK KEY",""
"The BREAK key may be used to terminate the execution of the  COPY","command at any time.  However, lines already copied are not auto-","matically deleted.",".PAUSE","LIMITATIONS","","The COPY command does not replace existing lines.  There must  be","a  sufficient  number  of  vacant line numbers to accommodate the","specified range of text to be copied or no copy takes  place  and","EDITOR  issues the message: INSUFFICIENT NUMBER OF LINES, NOTHING","COPIED.",""
"COPY does not observes the settings of RBOUND and LBOUND.  Copied","text is left justified to column one in the new lines.","","COPY does not fill lines as they are copied, hence text from each","original line is merely placed on a new line.",".PAUSE","COPYD and COPYD","","When DISPLAY=ON or COPYD is specified, both the old and  the  new","line numbers involved in the copy operation are displayed with an","arrow prefixed by an asterisk (*=>) between them.  To illustrate:","","     >COPYD 24:26 TO 150"
"        24   *=> 150","        24.5 *=> 151","        25   *=> 152","        25.5 *=> 153","        26   *=> 154","","When DISPLAY=OFF or COPYQ is specified, nothing is displayed.  In","addition when the range ALL is  specified  nothing  is  displayed","regardless of the setting of DISPLAY.",".END",".START","CENTER","","PURPOSE","","The CENTER command is used to center the contents of a  line  be-","tween LBOUND and RBOUND.","","FORMAT","","    CENTER[D]  line rangelist","          [Q]","","    CENTER#",".PAUSE"
"DESCRIPTION","","The CENTER command adjusts the position of the contents of a line","so that it is centered between LBOUND and RBOUND.  Leading blanks","are removed before a line is centered.","","CENTER operates only within LBOUND and  RBOUND.   Only  the  text","within  these parameters is centered, even if text exists outside","of the boundaries.",".PAUSE","PROMPT AND POINTER","","When CENTER# is specified, EDITOR prompts for the line number  of"
"the  next  line  to be centered.  Once all lines have been speci-","fied, the BREAK key must be pressed to terminate the # prompting.","","After a line is centered, the pointer  is  positioned  at  column","LBOUND of the following line.",".PAUSE","BREAK KEY","","The BREAK key may be used to terminate the centering operation at","any point.  Lines already centered remain so.  The BREAK key  may","also be used to terminate the # prompting when CENTER# is used.",".PAUSE","CENTERD and CENTERQ",""
"When CENTERD is specified or DISPLAY is set to ON, each  line  is","displayed after it is centered.  If CENTERQ is specified, nothing","is displayed during or after the centering operation.",".PAUSE","CENTER#","","Appending a number sign to the  CENTER  command,  informs  EDITOR","that  you  wish to specify the lines for centering by line number","one line at a time.  EDITOR prompts you with a  #  for  the  line","number  of  the  next  line  to  be centered.  To terminate the #"
"prompting enter //BREAK or use the BREAK key.",".END",".START","COMPRESS","","PURPOSE","","The COMPRESS command is used  to  replace  multiple  blanks  with","single blanks.","","FORMAT","","   COMPRESS[D]  line rangelist","           [Q]","","   COMPRESS#",".PAUSE","DESCRIPTION","","The COMPRESS command replaces multiple blanks in each line in the","line rangelist with single  blanks  according  to  the  following","rules:","","~Leading blanks in a line are not replaced.",""
"~When a word ends with a period, a question mark or  an  exclama-"," tion point, following multiple blanks are replace by two blanks.","","~Multiple blanks in all other circumstances are replaced by a"," single blank.","","COMPRESS operates only  within  the  limits  set  by  LBOUND  and","RBOUND.    If text exists beyond these boundaries, compression is","performed only within the bounds.",".PAUSE","PROMPT AND POINTER","","When COMPRESS# is specified, EDITOR prompts for the  line  number"
"of  each  line to be compressed.  Once all lines have been speci-","fied, the BREAK key must be pressed to terminate the # prompting.","","After a line is compressed, the pointer is positioned at  columnn","LBOUND in the following line.",".PAUSE","BREAK KEY","","The BREAK key may be used to terminate the compressing  operation","at  any  point.  Lines compressed before the key was pressed, re-","main compressed.",".PAUSE","COMPRESSD and COMPRESSQ",""
"When COMPRESSD is specified or DISPLAY=ON, each line is displayed","after it is compressed.  If COMPRESSQ is  specified,  nothing  is","displayed during the compressing operation.",".PAUSE","COMPRESS#","","Appending a number sign to the COMPRESS command instructs  EDITOR","that  you wish to specify the lines to be compressed by line num-","ber.  EDITOR prompts you with a # for the line number of the next","line to to be  compressed.   To  terminate  the  #  prompt  enter","//BREAK or press the BREAK key."
"first  character  of  the in column LBOUND, and the last nonblank","character in column RBOUND.  The following  rules  apply  to  the","operation of the JUSTIFY command:","","~Leading blanks are not affected; justification begins  with  the"," first blank following the first non-blank character in the line.","","~A line is not justified if the following line in a line range is"," empty.","","~Justification is performed within each range separately, regard-"
" less of the number of ranges specified in the line rangelist.","","~Single lines may be specified for justification, and are  justi-"," fied if each contains at least one internal blank.",".PAUSE","JUSTIFYD and JUSTIFYQ","","When JUSTIFYD is specified or DISPLAY is ON,  all  lines  in  the","range are displayed as they are justified.  When JUSTIFYQ is spe-","cified, nothing is displayed during the operation.  D and Q temp-","orarily override the status of DISPLAY.",".PAUSE","JUSTIFY#",""
"Appending a number sign to the JUSTIFY command  instructs  EDITOR","that  you  wish  to specify lines for justification by their line","numbers.  EDITOR prompts for the next line to be justified with a","# prompt.  Press the BREAK key to terminate the # prompting.",".PAUSE","LIMITATIONS","","The JUSTIFY command operates only within the limits set by LBOUND","and RBOUND.  If a line contains text which falls outside of these","boundaries, justification  occurs  only  within  the  boundaries.",".PAUSE"
"PROMPT AND POINTER","","At the completion of a justification  operation  the  pointer  is","positioned  to  column LBOUND in the line following the last line","justified.","","When JUSTIFY# is specified, EDITOR prompts for the line number of","each line to be justified.  Once all lines have  been  specified,","the BREAK key must be used to terminate the # prompting.",".PAUSE","BREAK KEY","","The BREAK key may be used to terminate the  justifying  operation"
"at  any point.  Lines justified before the key was pressed remain","justified.  The BREAK key is also used to terminate the # prompt-","ing when JUSTIFY# is used.",".END",".START","FILL","","PURPOSE","","The FILL command is used to fill each line in a  specified  range","with  as  many  whole words as posible, so that the space between","LBOUND and RBOUND contains the maximum number of words.","","FORMAT","","    FILL[D]  line range [BY increment]","        [Q]","",".PAUSE","DESCRIPTION",""
"The FILL command takes the collective contents of  the  lines  in","the line range and forms new lines which each contain the maximum","number of words that will fit between  LBOUND  and  RBOUND.   The","starting  line  is the first line in the specified line range and","the lines are renumbered using the value of SET INCREMENT or  the","optional  BY  increment value.  New lines are generated as neces-","sary, and resulting empty lines are automatically deleted.",""
"When HYPHENATION is used  (SET HYPHENATION=ON),  EDITOR  displays","words  for  you  to  hyphenate as it performs the fill operation.","Words are listed one at a time, and you indicate the placement of","the hyphen by spacing to the character in the word  which  should","follow the hyphen, entering a hyphen, and pressing return.",".PAUSE","The following rules are used during a FILL command operation:","","~A single blank is inserted between the last word of a  line  re-"
" mainder and the first word taken from the next line.","","~Two blanks are inserted after a period, a question mark,  or  an"," exclamation  point  when they are followed by two or more blanks"," or occur at the end of the original line.","","~When the last character of a line is a  hyphen,  the  hyphen  is"," removed  if  HYPHENATION=ON,  otherwise  it  is preserved and no"," blanks are inserted between the hyphen and the first word  taken"," from the next line.",".PAUSE"
"~The filling operation is suspended whenever  an  empty  line  is"," encountered.  Filling resumes with the next non-empty line.","","~Empty lines which already exist in the text remain in the  text,"," but  those resulting during the fill operation are deleted auto-"," matically.","","~The filling operation is suspended whenever a line containing  a"," blank  in column LBOUND or text to the left of LBOUND is encoun-"," tered.  Filling is performed on the remaining  contents  of  the"
" line, however, if the next line begins in column LBOUND.",".PAUSE","POINTER AND PROMPT","","The FILL command issues no prompt.","","The pointer is positioned to column LBOUND of the last line  fol-","lowing the line produced by the filling operation.",".PAUSE","BREAK KEY","","The FILL command makes use of a temporary file which is automati-","cally created in your account.  No line is replaced by  a  filled","line  until  the entire range of lines has been successfully pro-"
"cessed and it has been determined that there is sufficient  space","in  the  range  to  accommodate the filled lines.  Therefore, the","filling operation may be terminated at any time before the  first","line  in  the line range is displayed.  Once FILL actually begins","replacing the original lines with  filled  lines,  its  operation","cannot be terminated.",".PAUSE","LIMITATIONS","","FILL operates on entire lines only.  It does not respect the set-"
"ting of RBOUND when it extracts the contents of a line,  but  en-","sures that the filled lines end as close to RBOUND as possible.","","FILL only adjusts text to the right of LBOUND to bring it  within","the  bound.   If lines are too long, they are broken at blanks if","possible and new lines are created as necessary until the  entire","range has been filled.  If an existing line number is encountered","during this line generation and the increment cannot  be  reduced"
"further, the filling operation is terminated and the range is not","filled.",".PAUSE","FILLD and FILLQ","","When DISPLAY=ON or FILLD is specified,  each  line  is  displayed","with its new line number as it is filled.  If FILLQ is specified,","nothing is displayed during or following the fill operation,  ex-","cept for hyphenation decisions when HYPHENATION is on.",".PAUSE","HYPHENATION","","During execution of the FILL command, you are prompted by  EDITOR"
"with  the  words that need to be hyphenated.  You indicate place-","ment of the hyphen by spacing to the character in the word  which","should  follow  the  hyphen, entering a hyphen, and then pressing","return.  For example:","","   HYPHENATE THE FOLLOWING WORD(S):","","   breakf ast","        -<return>","","   dinne r","      -<return>","You must place the hyphen on or before the space provided in  the","word  by  EDITOR.   If there is no valid breaking point available"
"for the word simply press return and the word will remain intact.",".END",".START","LIST","","PURPOSE","","The LIST command is used to display all or a portion of the  WORK","file.","","FORMAT","","   LIST[D]     line rangelist","       [Q]     [,TO filename]","               [,NOTEXT]","               [,UPSHIFT]","               [,LEFT=column number][,RIGHT=column number]","               [,SPACE=number of lines]","               [,PAGINATE  [=CONTINUE   ]]","               [           [=page number]]",".PAUSE"
"The following commands may be embedded in your text when ENVIRON-","MENT=TEXT.  They are only executed when you produce paginated,","unnumbered listings (LBOUND must equal one).","","            {ON}","     .FLAG= {OFF}     [,one character string]","            {integer}","","     .HEADING=string         .PAGE=string","","     .NEED=integer           .SKIP[=integer]","","     .NEWPAGE                .SPACING=integer","","     .ODDPAGE                .SUPPRESS",".PAUSE","DESCRIPTION",""
"All of the parameters available with the LIST command are option-","al, except the line rangelist.  The parameters may  be  specified","in any order but must be separated by commas.  Parameters are set","to the last specified value or condition if repeated.",".PAUSE","PROMPT and POINTER","","The LIST command issues no prompt of its own.  Necessary  command","qualifiers are provided as parameters.","","The pointer is positioned to column LBOUND in the first  line  of","the last range listed.",".PAUSE","BREAK KEY"
"","The BREAK key may be used at any time to terminate a listing.",".PAUSE","LISTD and LISTQ","","If DISPLAY=ON or LISTD is specified, the  line  numbers  of  each","line  in  the line rangelist will be displayed to the left of the","text.  If DISPLAY=OFF or LISTQ is specified,  the  text  of  each","line in the line rangelist is listed without line numbers.",".PAUSE","LIST line rangelist, TO filename","","The TO filename parameter enables you to specify a file to  which"
"the  lines  in  the line rangelist are to be listed.  When speci-","fied, a filename results in the text being listed to a  file  ra-","ther  than  to  the terminal.  NOTE: The HP 2640 family cartridge","tape units cannot be specified as  filenames;  instead  the  KEEP","command must be used for this purpose.",".PAUSE","NOTEXT","","The NOTEXT parameter causes a listing of line numbers only, with-","out the text of the lines.   If NOTEXT is specified and  DISPLAY=","OFF, the command will not be executed."
".PAUSE","UPSHIFT","","The UPSHIFT parameter causes all  lower  case  characters  to  be","shifted  to upper case for the listing only.  The contents of the","WORK file is not altered, only the listing itself is converted to","upper case.",".PAUSE","LEFT=column number, RIGHT=column number","","The LEFT and RIGHT parameters specify print margins  to  be  used","for  an  incidence  of  the LIST command.  The default values are","LEFT=1 and RIGHT is set automatically to accomodate the text  be-"
"tween  LBOUND  and  RBOUND  if not set explicitly.  The values of","LBOUND and RBOUND determine the extent of the text to be listed.","","Printed lines, including line numbers if present,  begin  in  the","column  position  specified  by  LEFT.  LEFT must be less than or","equal to RIGHT, or the message MARGINS PRECLUDE  TEXT  is  issued","and the LIST command is not executed.","","Unless the TO filename parameter is specified, a value for  RIGHT"
"that  exceeds WIDTH precipitates the message RIGHT MARGIN EXCEEDS","WIDTH and the LIST command is not executed.  The value  of  RIGHT","may exceed WIDTH only if TO filename is specified.",".PAUSE","SPACE=number of lines","","The SPACE parameter causes listed lines to be spaced according to","the value specified as number of lines.  The default value  is  1","for single spacing.  Values of 2, 3, and 4 may be specified.",".PAUSE","PAGINATE","","The PAGINATE parameter is used to  format  text  into  optionally"
"titled  and  numbered pages.  The number of lines per page is de-","termined by the value of the SET PAGE parameter.","","Page numbering begins at one unless an alternate starting page is","specified as page number in the PAGINATE parameter.  If page num-","ber is zero, the page number and page string are omitted  in  the","listing.","","The PAGINATE=CONTINUE option permits you to continue  consecutive","page  numbering  when listings are concatenated by executing con-"
"secutive LIST commands.  When CONTINUE is  specified,  the  first","page is given a number one greater than the last page of the pre-","vious listing.",".PAUSE","Embedded Subcommands","","Subcommands are embedded in the WORK file and begin with  a  per-","iod.    Furthermore,  subcommands  must be on lines separate from","text and the period on the first subcommand on a line must be  in","the  first  accessible  column.  Multiple subcommands on the same"
"line must be separated by semicolons.  The period is optional  on","the  second and following subcommands on a line.  The subcommands","are described below.",".PAUSE","       {ON}",".FLAG= {OFF}     [,one character string]","       {integer}","","Lines are marked by printing the flag character  two  columns  to","the  right of the right margin.  The default character is the ex-","clamation mark (!).  This character may be changed to any  print-"
"ing  character  by  specifying the desired character in the .FLAG","subcommand.","","Lines may be flagged using either of two methods.  The .FLAG sub-","command may be turned ON causing all following lines to be  flag-","ged  until a .FLAG=OFF subcommand is encountered.  Alternatively,","the subcommand .FLAG=integer may be used to flag  the  number  of","lines specified by the value of integer.  A .FLAG=integer subcom-","mand is ignored if FLAG is already ON.  A .FLAG=ON while  an  in-"
"teger itself, in effect overrides the integer specification.",".PAUSE",".HEADING=string","","The .HEADING subcommand permits you to alter  the  value  of  the","heading string dynamically.  The value is altered for the heading","on the next page.",".PAUSE",".NEED=integer","","The .NEED subcommand is used to request that a  section  of  text","not be split across a page boundary.  The value of integer speci-","fies the number of lines which are to remain contiguous  if  pos-"
"sible.  If insufficient space remains on the current page to fill","the NEED requirement, the text is automatically  printed  at  the","top of the next page.",".PAUSE",".NEWPAGE","","The .NEWPAGE subcommand permits you to force text to the top of a","new page.  New heading and/or page strings must be specified  be-","fore .NEWPAGE is encountered to be in effect for the new page.",".PAUSE",".ODDPAGE","","The .ODDPAGE subcommand allows you to force text to the beginning"
"of the next odd numbered page.  New heading and/or  page  strings","must  be specified before .ODDPAGE is encountered to be in effect","for the new page.  If the current page is an odd number page, the","intervening page is numbered but left void of text.",".PAUSE",".PAGE=string","","The .PAGE subcommand permits you to alter the value  assigned  to","the page string dynamically.  The value is altered for the print-","ing of the next page.",".PAUSE",".SKIP[=integer]",""
"The .SKIP subcommand permits you to skip  any  number  of  lines,","specified  by integer.  If =integer is omitted, one blank line is","printed.",".PAUSE",".SPACING=integer","","The .SPACING subcommand permits you to override the default spac-","ing or the value assigned by the SPACE parameter of the LIST com-","mand.  Whenever a .SPACING subcommand is encountered,  the  value","specified  replaces  whatever  value is in effect.  The new value"
"stays in effect until it is changed by another  .SPACING  subcom-","mand or the end of the line rangelist is encountered.",".PAUSE",".SUPPRESS","","The .SUPPRESS subcommand suppresses the line feed on the  follow-","ing  line.  This subcommand permits you to underline or overprint","a line on a device which permits suppression of the line feed.",".END",".START","//CATALOG","","PURPOSE","","The //CATALOG command is used to display your account catalog.","","FORMAT","","     //CAT [-library name]",".PAUSE","DESCRIPTION"
"","The //CATALOG command displays an  alphabetical  listing  of  the","programs  and  files  in your account.  When a library name para-","meter is used, the listing begins with the first program or  file","with  a  name  that  is equal to or greater than the library name","specified.","","The BREAK key may be used to terminate the listing.",".END",".START","//GROUP","","PURPOSE","","The //GROUP command is used to display the catalog of your group","account.","","FORMAT","","     //GROUP [-library name]",".PAUSE"
"DESCRIPTION","","The //GROUP command displays an alphabetical listing of the  pro-","grams  and  files  stored  in your group account.  When a library","name parameter is specified, the listing begins with the name  of","the program or file equal to or greater than the parameter.","","The BREAK key may be used to terminate the listing  whenever  ne-","cessary.",".END",".START","//LIBRARY","","PURPOSE","","The //LIBRARY command is used to display the catalog of the  sys-","tem library (A000).","","FORMAT",""
"     //LIBRARY [-library name]",".PAUSE","DESCRIPTION","","The //LIBRARY command displays an  alphabetical  listing  of  the","programs  and files in the System Library (A000).  When a library","name is specified, the listing begins with the  program  or  file","name equal to or greater than the parameter.","","The BREAK key may be used at any time to stop the listing.",".END",".START","EXPLAIN","","PURPOSE","","The EXPLAIN command is used to obtain summary descriptions of the","EDITOR commands.","","FORMAT",""
"      EXPLAIN [command name]",".PAUSE","DESCRIPTION","","When EXPLAIN is entered without an attendant command name, a list","of all EDITOR commands is displayed.  When a command name is spe-","cified, EDITOR displays a brief description of that command, then","prompts CONTINUE?.  If you require no further information regard-","ing the command, type N or NO or press BREAK.  If additional  in-","formation is required, press return.  EDITOR continues to display"
"explanatory information with intermittent  request  to  CONTINUE?","until  you type NO in response to a CONTINUE? prompt or press the","BREAK key, or until the explanatory text available is exhausted.",".END",".START","FIND","","PURPOSE","","The FIND command is used to locate a  specific  location  in  the","WORK file and to set the pointer to that position.","","FORMAT","","  FIND[D] {character position                    }","      [Q] {[ALL] string  [IN character rangelist]}",".PAUSE","DESCRIPTION",""
"The FIND command performs two  distinct  functions.  Its  primary","function is to locate a specified character position  in the WORK","file and to set the pointer to that position.  For example:","","     >FIND 15(\34X\34)","       15   Here is the X.","                        ^(13)","","As a secondary function, FIND locates all occurrences of a  given","character string within an optional character rangelist.","","For example:","","     >FIND ALL \34the\34 in 25:50"
"       25    Operations which affect the maintenance of...","       37    continued support of the product is the aim...","     3 OCCURRENCES OF 'the'",".PAUSE","BREAK KEY","","Pressing the BREAK key terminates a FIND command.  If  the  posi-","tion has not been located, the pointer is not moved.",".PAUSE","LIMITATIONS","","FIND operates within the bounds established by LBOUND and RBOUND.","No character position outside of these bounds will  be  found  by"
"EDITOR.   For example, if LBOUND=20 and RBOUND=50, a FIND command","will only locate a character position that occurs totally  within","columns 20 through 50.",".PAUSE","FINDD and FINDQ","","When DISPLAY is ON or FINDD is specified,  FIND  lists  the  line","containing  the  specified position and indicates the location of","the pointer with an up-arrow (^) followed by  the  column  number","enclosed in parentheses.","","When DISPLAY=OFF or FINDQ is specified, neither the line nor  the","pointer is displayed."
".PAUSE","FIND character position","","The following are examples of character position specifications:","","     >FIND FIRST     - sets the pointer to the first accessible","                       column in the first line.","","     >FIND *         - displays the current position of the","                       pointer.","","     >FIND 100+1     - sets the pointer to the first accessible","                       column in the line following 100.","","     >FIND*+5(FIRST) - sets the pointer to the first non-blank"
"ward in the WORK file beginning one character beyond the  present","position of the pointer until it locates the string or the end of","the last line in the file.  If the string is located, the pointer","is moved to the column containing  the  first  character  of  the","string.    The line containing the string and the position of the","pointer are then displayed.  If the string is  not  located,  the","message string NOT FOUND is issued.",".PAUSE","FIND string IN character rangelist",""
"The search for a string may be limited  to  a  certain  range  of","lines called a character rangelist.  When the IN character range-","list specification is used, EDITOR will find the string  only  if","it occurs totally within the limits of the rangelist.","","Multiple ranges may be specified, provided they are separated  by","commas.   The pointer is set to the first occurrence of string in","the rangelist; subsequent ranges are not searched.  For example:","","     >FIND @BC@ IN FIRST:200,503:LAST",""
"In the above command, if BC is located within the first range  of","the  rangelist  (FIRST:200),  the FIND command terminates without","searching the second range.  If a string cannot be found  in  one","of the specified ranges, the message string NOT FOUND is issued.",".PAUSE","FIND ALL string","","This form of the FIND command enables you  to  locate  all  lines","containing  one or more occurrences of the string.  EDITOR begins","searching one character beyond the current location of the point-"
"er and continues through the last line in the  WORK  file.   Each","line  containing  an occurrence of string is listed and the total","number of occurrences is reported after the  last  occurrence  is","found.   Only the number of occurrences is reported when DISPLAY=","OFF.","","Following the search procedure, the pointer is positioned at  the","first occurrence of the string, unless the command is interrupted","by the BREAK key before the first occurrence is encountered.",".PAUSE"
"FIND ALL string IN character rangelist","","When IN character  rangelist  is  specified,  FIND  searches  for","string  within  each  range regardless of the current position of","the pointer.  The pointer is then set to the first occurrence  of","string.    This is true even if a subsequent range includes lines","which precede those in the first range.  The number of  occurren-","ces of string is reported at the end of each range.",".END",".START","KEEP","","PURPOSE",""
"The KEEP command is used to save the contents of the WORK file.","","FORMAT","","     KEEP [line range,TO] filename [,UNNUMBERED] [,APPEND]",".PAUSE","DESCRIPTION","","The KEEP command saves all or part of the contents  of  the  WORK","file by storing a copy of it in the file specified.  Entire lines","from the WORK file are copied without regard for the settings  of","LBOUND and RBOUND.  The contents of the WORK file are not effect-","ed by a KEEP operation.  Once text is stored in a file, a  subse-"
"quent  KEEP to that file results in the replacement of the ENTIRE","CONTENTS of that file with the new text.",".PAUSE","PROMPT AND POINTER","","KEEP does not issue a prompt.","","Following a keep operation, the pointer is positioned  at  column","LBOUND of the line following the last line kept.",".PAUSE","BREAK KEY","","Pressing the BREAK key will terminate the KEEP operation and  re-","turn you to the > prompt.",".PAUSE","KEEP filename","","The filename specified refers to the file in which text is to  be"
"stored.  The  file  may be either  a BASIC formatted  or an ASCII","file and may be any file to which your account has write access.","","If you are using an HP 2640 family terminal with cartridge tapes,","you may also direct KEEP to store text on one of the cartridges.","Use the special file names #TCL and #TCR to refer to left and","right cartridge tapes respecively.","","Unless the UNNUMBERED parameter is specified, the line numbers in","the WORK file are converted to ASCII characters and  prefixed  to"
"the line or put in column 1-6 for COBOL.",".PAUSE","KEEP line range, TO filename","","You may, optionally, specify a line range to be saved rather than","the entire contents of the WORK file.  When a line range is  spe-","cified,  a  comma and the keyword TO are required before the name","of the file.",".PAUSE","KEEP...UNNUMBERED","","When the UNNUMBERED parameter is specified, line numbers are  not","prefixed  to the  lines being stored.  Text in the file following"
"the KEEP operation is then  unnumbered  text.   Columns  1-6  are","filled with blanks when ENVIRONMENT=COBOL.",".PAUSE","KEEP...APPEND","","The APPEND parameter causes the specified text to be appended  to","the  current  contents  of the KEEP file.  The lines currently in","the KEEP file must be numbered (if UNNUMBERED is not also  speci-","fied),  and  the  first  line  to  be appended must have a number","greater than the last line already in the file.  If the text  al-"
"ready  in the file is unnumbered, the message EDITOR WILL NOT AP-","PEND NUMBERED TO UNNUMBERED TEXT IN filename is issued.   If  the","number  of  the first line to be appended is less than the number","of the last line in the file, EDITOR issues the message KEEP WILL","NOT REPLACE OR INTERLEAVE LINES.",".PAUSE","When UNNUMBERED is specified in addition  to  APPEND,  the  first","line  is  tested  for  a line number.  If no number is found, the"
"KEEP operation is immediately performed.  If a valid line  number","is detected, the warning message filename SEEMS TO  CONTAIN  NUM-","BERED LINES.  PROCEED WITH KEEP? is issued.  Respond YES or  Y to","instruct EDITOR to proceed.  Respond NO or N to  abort  the  KEEP","operation.","","The APPEND parameter is not permitted for cartridge tapes  on  HP","2640 family terminals.",".END",".START","TEXT","","PURPOSE","","The TEXT command is used to copy the contents of any 2000  Access","file into the WORK file.",""
"FORMAT","","     TEXT filename (file range) [,UNNUMBERED]",".PAUSE","DESCRIPTION","","With the TEXT command, you may copy the contents of either  BASIC","formatted or ASCII files into the WORK file.  TEXT may be used to","copy  an entire file  or only a portion of a file.  The text  may","be numbered or unnumbered.  The  current  contents  of  the  WORK","file, if any, are entirely replaced by the text copied  into  the","file.    (Use  the ADD FROM filename command to append unnumbered"
"text from a file or the MERGE command to merge or append numbered","lines into the WORK file.)",".PAUSE","PROMPT AND POINTER","","The TEXT command does not issue a  prompt.   Additional  data  is","provided in the form of attendant parameters.","","Following a TEXT command operation, the pointer is positioned  in","column LBOUND of the first line in the WORK file.",".PAUSE","BREAK KEY","","The BREAK key may be used to terminate the TEXT  command  at  any"
"time.    When BREAK is detected, the number of lines entered into","the WORK file to that point is reported.",".PAUSE","TEXT filename","","To copy the entire contents of a file into the WORK file,  simply","specify  the  command TEXT followed by the name of the file to be","copied.  The text is assumed to be numbered, thus  EDITOR decodes","the line numbers at the beginning of each string.","","Only string type data items are read from a BASIC formatted file.","Numeric type data is ignored without warning."
"relative to the beginning of the file.  Each string is counted as","a line.",".PAUSE","TEXT...UNNUMBERED","","The UNNUMBERED parameter informs EDITOR that the lines to be cop-","ied are not numbered.  This parameter must be used  if  the  text","truly  unnumbered and may be used, optionally, for numbered text.","If numbered text is copied using the  UNNUMBERED  parameter,  the","embedded numbers become part of the line of text.",".END",".START","MERGE","","PURPOSE",""
"The MERGE command is used to merge numbered text from a file with","text already in the WORK file.","","FORMAT","","      MERGE[D]  [filename [(file range)]]","           [Q]","","      MERGE#",".PAUSE","DESCRIPTION","","The MERGE command enables you to merge numbered text from a  file","with  text already in the WORK file.  You specify the name of the","file which contains numbered lines of text to be added or to  en-","tirely  replace existing lines.  If only a portion of the file is"
"to be merged, you must also provide the line numbers (file range)","of the first and last lines to be merged.  Alternately,  you  may","supply numbered lines from the terminal.",".PAUSE","PROMPT AND POINTER","","Appending a number sign to the command, instructs EDITOR that you","wish to provide numbered lines of text to be merged into the WORK","file.","","Following a MERGE operation, the pointer is positioned in  column","LBOUND of the first line following the merged text.",".PAUSE","BREAK KEY",""
"A merge operation may be terminated at any time by  pressing  the","BREAK  key.  If lines are being merged manually (#), pressing the","BREAK key during or at the end of a line indicates that the  line","is the  last to be merged.  Otherwise, press BREAK in response to","the # prompt to terminate the prompting for line numbers.",".PAUSE","LIMITATIONS","","MERGE does not respect LBOUND and RBOUND restrictions when a file","is specified - entire lines are added or replaced by the command."
"Merged lines begin in column one (col 7 for COBOL).",".PAUSE","MERGED and MERGEQ","","When DISPLAY=ON or DISPLAYD is specified, both the  old  and  new","lines are displayed when a replacement is made. Interleaved lines","those not replacing old lines, are not displayed. DISPLAYQ inhib-","its the display process.",".PAUSE","MERGE filename (file range)","","The filename parameter refers to the name of the file from  which","the  text  to be merged is to be drawn.  If only a portion of the"
"file is to be merged, then that portion  must  be  identified  by","line  numbers (file range).  First and last line numbers, separa-","ted by a colon must be used to constitute the  file  range.   The","file  range parameter is omitted if the entire file is to be mer-","ged.  For merging, lines must always be numbered.",".END",".START","USE","","PURPOSE","","The USE command is used to designate a file, called a  USE  file,","to be used by EDITOR as a source of input.","","FORMAT","","     USE[D]  filename"
"        [Q]",".PAUSE","DESCRIPTION","","You employ the USE command to instruct EDITOR to read and execute","commands stored in the named USE file.  A  USE  file  must  be  a","BASIC  formatted file.  Each string in the file is read as a com-","mand string or as textual input.  Numeric data types are not per-","mitted.  The USE command terminates when it reaches  the  end  of","the file.","","USE files are used to operate EDITOR in a \34batch-like\34 mode; that"
"is, you anticipate input that EDITOR will require to  do  a  cer-","tian task and supply it from a file.  A USE file may contain both","commands and textual input required by those commands.",".PAUSE","A number of commands may be entered  on  one  line  separated  by","semicolons.   You may use the \34trailing ampersand\34 convention for","long lines.  Use  //BREAK  to  signal  BREAK  but  remember  that","//BREAK  may  not be appended to the end of a line of textual in-"
"put; it must be the first and only response to a colon prompt.","","When a command requires textual input, it must be the  last  com-","mand  on  a  line  in  the  USE file.  The following lines (until","//BREAK is encountered or the command requires no  further  text)","are  interpreted as text.  The following line may optionally con-","tain the //ASK command.","","Execution from the USE file terminates normally when the  end  of","the  file  is  encountered.   Control is returned to the terminal"
"unless //STOP is executed while still in the USE file.",".PAUSE","USING A USE FILE","","The following example demonstrates the creation and use of a  USE","file.","","   >ADD","     1   PRINT \34This USE file fills and justifies your\34","     2   PRINT \34document, then produces numbered and\34","     3   PRINT \34unnumbered listings on the line printer (LP).\34","     4   SET LB=1,RB=65,HYPH=ON","     5   FILLQ ALL","     6   SET PAGING=BOT,CEN,\34Page \34","     7   JUSTIFY ALL","     8   LIST ALL, PAGINATE,TO LP"
"     9   LISTQ ALL, PAGINATE,LEFT=8,TO LP","    10   PRINT \34Your listings are finished.\34","   >//CREATE-USEFL,5","   File USEFL created.","   >KEEP USEFL,UNNUMBERED    (Note that the USE file may not","   10 LINES KEPT              contain numbered lines.)","   >",".PAUSE","USED AND USEQ","","When USED is specified explicitly, commands from the USE file are","displayed just before they are executed; this permits you to \34de-","bug\34 your USE file.",""
"If an error occurs due to faulty command  format  or  during  the","execution  of  a command, EDITOR prints an error message followed","by the message USE FILE ABANDONED and terminates  execution  from","the USE file.",".END",".START","PRINT","","PURPOSE","","The PRINT command is used to display a message at the terminal.","","FORMAT","","     PRINT  string",".PAUSE","DESCRIPTION","","You use the PRINT command to perform one task,  to  print  a  one"
"line  message of up to 255 characters at the terminal.  This com-","mand is intended for use in a USE file.  It permits  you to  send","messages  to the terminal to report on the progress being made at","critical  junctures,  or to inform you  that a specific stage has","been reached.","","The following is an example of a PRINT command  added  to  a  USE","file and subsequently printed at the terminal.","","     >ADDQ","     :PRINT \34This message is displayed when necessary.\34","     >KEEP USEFL,UNNUMBERED"
"     >USEQ USEFL","     This message is displayed when necessary.","","The string portion of the PRINT command must be enclosed in quote","marks.",".END",".START","//ASK","","","PURPOSE","","The //ASK command is used in a USE file to request input from the","terminal.","","FORMAT","","     //ASK string",".PAUSE","DESCRIPTION","","The //ASK command may only be used when EDITOR  is  being  driven","from  a  USE  file.   It permits you to design a USE file that in","effect tailors the prompts for specific tasks.",""
"Normally, you must anticipate all prompts that EDITOR  will  give","and  supply suitable responses within the USE file.  However, the","//ASK command lets you prompt the user of the terminal for a tex-","tual response rather than supply the text in the USE  file.   The","content  of the string supplied with the //ASK command is printed","at the terminal as a prompt to the user in place  of  the  normal","EDITOR  prompt  for the particular command given.  The user's re-"
"sponse is accepted as the textual response to the underlying EDI-","TOR prompt.  To illustrate:",".PAUSE","     >SET //=OFF","     //COMMANDS=OFF","     >ADDQ","     :PRINT \34Add lines in response to the 'New line:' prompt.\34","     :PRINT \34Press the BREAK key when you are done.\34","     :ADD 20 BY 2","     ://ASK \34New line:\34","     :<next command>","        etc.",".END",".START","//CREATE","","PURPOSE","","The //CREATE command is used to create BASIC formatted  files  in","your account.","","FORMAT",""
"      //CREATE-file name, file length [,record length]",".PAUSE","DESCRIPTION","","The //CREATE command permits you to create BASIC formatted  files","in  your  account  without leaving EDITOR.  You specify the name,","length, and optionally, the record length of the  file  you  want","created.","","The //CREATE command may only be entered in response to the","command prompt (>) or the WORK FILE? prompt. For example,","","     EXE-$EDITOR","     WORK FILE? //CREATE-MYWORK,100","     MYWORK CREATED"
"     WORK FILE? MYWORK","     0 LINES OF TEXT IN YOUR WORK FILE.","     >",".END",".START","//FILE","","PURPOSE","","The //FILE command is used to create an ASCII file in your account.","","FORMAT","","","   //FILE-file name, device designator [,record length]",".PAUSE","DESCRIPTION","","The //FILE command permits you to designate or  create  an  ASCII","file  in  your  account  without leaving EDITOR.  You specify the","file name and device designator, and optionally the record length"
"of a file.  Or, if a disc file is needed, you  specify  the  file","name,  DS,  file length, and optionally, the record length of the","file.  For example,","     >//FILE-PRINT,LP0      (assigns name PRINT to line printer)","            or","     >//FILE-KEEPER,DS,10   (creates an ASCII disc file)",".END",".START","//LENGTHEN","","PURPOSE","","The //LENGTHEN command is used to lengthen a  file  in  your  ac-","count.","","FORMAT","","     //LENGTHEN-file name {TO} number of records","                          {BY}"
".PAUSE","DESCRIPTION","","The //LENGTHEN command permits you to lengthen a BASIC  formatted","file.  The filename must correspond to a file in your account and","the number of records to or by which the file is to be lengthened","must be an integer value.","","When the operation is complete, the message file name  LENGTHENED","is  displayed.   Your account must have enough space available to","temporarily hold both the original and the lengthened file.   Ap-"
"propriate  error  messages  are issued if the operation cannot be","performed.",".END",".START","//SHORTEN","","PURPOSE","","The //SHORTEN command is used to shorten a file in your  account.","","FORMAT","","     //SHORTEN-file name {TO} number of records","                         {BY}",".PAUSE","DESCRIPTION","","The //SHORTEN command permits you to shorten  a  BASIC  formatted","file.  The filename must correspond to a file in your account","and the number of records to or by which the file is shortened"
"must be an integer value.","","When the operation is complete, the message file  name  SHORTENED","is  displayed.   Your account must have enough space available to","temporarily hold both the original and the shortened  file.   Ap-","propriate  error  messages  are issued if the operation cannot be","performed.",".END",".START","//PURGE","PURPOSE","","The //PURGE command is used to purge a file in your account.","","FORMAT","","     //PURGE-file name",".PAUSE","DESCRIPTION",""
"The //PURGE command permits you to purge any file in your account","without leaving EDITOR.  You enter the command and  the  name  of","the file to be deleted.","","EDITOR displays the message file name PURGED if the operation  is","successful, or file name CANNOT BE PURGED and the reason the file","cannot be purged.",".END",".START","//STOP","","There is only one correct way to stop interaction with the EDITOR","and return to the 2000 Access System.  Simply type:",""," //STOP",""
"//STOP may be entered in response to the command prompt (>),  the","text  prompt  (:),  the number sign prompt (#), or the WORK FILE?","prompt.","","Any other method of terminating EDITOR interaction, such as pres-","sing the BREAK key, will fail to produce the desire result.  Dis-","connecting the terminal will result in a disorganized WORK  file.","If  this  happens  you will be notified the next time you specify","that file as your WORK file.  EDITOR will  automatically  attempt"
"to recover the contents of your WORK file.",".END",".START","SET","","The following parameters may be entered in any order and must be","separated by commas if entered on a single line.","","SET  AUTOMARGIN= {ON }","                 {OFF}","","     BOTTOMSPACE= lines before, lines after page indicator","","     DISPLAY= {ON }","              {OFF}","","     ECHO= {ON }","           {OFF}",".PAUSE","                 {TEXT }","     ENVIRONMENT={COBOL}","                 {BASIC}","","     FACING= {OFF   }"
"             {offset}","","     FILLER= {OFF      }","             {character}","","     FROM=line number",".PAUSE","              {OFF   }","              {CENTER}","     HEADING= {LEFT  } [,string]","              {RIGHT }","              {FACING}","","     HYPHENATION= {ON }","                  {OFF}","","     INCREMENT=increment","","     LBOUND=column number",".PAUSE","     NONPRINT= {OFF                 }","               {one character string}","","     PAGE=lines per page","","                       {CENTER}"
"     PAGING= {TOP   }, {LEFT  } [,string]","             {BOTTOM}  {RIGHT }","                       {FACING}",".PAUSE","     PAUSE= {OFF            }","            {lines per pause}","","     RBOUND=column number","","           {OFF          }","     TABS= {POINT        }","           {tab positions}","","     TOPSPACE=lines before heading,lines after heading","","     WIDTH=terminal width","","     //COMMANDS= {ON }","                 {OFF}",".PAUSE","ENVIRONMENT",""
"The ENVIRONMENT parameter is used to establish the set of default","settings appropriate to the type of editing to be done.  The","environment may only be set when there are no lines of text in","the WORK file.","","LBOUND and RBOUND","","The LBOUND and RBOUND parameters permit you to set boundaries in","which text and operations on text is to be confined.  Each","command description includes details on the effect of these","bounds on the operation of the command.",".PAUSE","AUTOMARGIN",""
"When automargin is on lines added or inserted  are  automatically","folded  between  words  if  they  are too long to fit between the","designated margins (LBOUND and RBOUND).","","FROM and INCREMENT","","The FROM parameter specifies the starting line number to be  used","by the TEXT command and by ADD when there are no lines already in","the WORK file.  INCREMENT defines the increment  to  be  used  by","commands which add successive lines of text.",".PAUSE","HYPHENATION",""
"The HYPHENATION parameter permits you to hyphenate  or  not  when","using the FILL command.","","TABS","","TAB=tab positions is the format used to set tabs by column number","separate the column numbers with commas.  Up to 10 tab  positions","may be set.","","TAB=POINT is used to set tabs by spacing across the line under  a","column  guide.    Type  any character in the columns to which you","wish to set a tab.","","TABS are set and cleared automatically on HP 2640 series  termin-"
"als.    You  may use the TAB key on such terminals and any others","whose TAB key transmits a CONTROL I character  to  the  computer.","Otherwise,  you will have to use the CONTROL key to send the CON-","TROL I to indicate tab.",".PAUSE","DISPLAY","","The DISPLAY parameter generally lets you enable  or  inhibit  the","display  of  line numbers when listing or editing.  Occasionally,","DISPLAY also suppresses the display of text as well as line  num-"
"bers  depending on the operation involved (see the description of","each command for specifics).","","CONTROL","","Control characters are NOT permitted during input of commands  or","text when CONTROL=ON.",".PAUSE","ECHO","","ECHO=ON specifies that the expanded command string which  results","when  defined  names are replaced is to be displayed prior to its","execution.","","//COMMANDS","","Set //COMMANDS=OFF when it is necessary to enter a line  of  text","which begins with the characters //.",".PAUSE","HEADING",""
"heading entirely.",".PAUSE","PAGE","","The PAGE parameter determines the number of lines per page inclu-","ding those taken by TOPSPACE and BOTTOMSPACE.","","       TOPSPACE","","The TOPSPACE parameter sets the number of blank lines  preceeding","and following the line on which the heading is printed.","","       BOTTOMSPACE","","The BOTTOMSPACE parameter sets the number of blank lines preceed-","ing and following the line on which the page indicator is  print-","ed.",".PAUSE","PAUSE",""
"The value of PAUSE determines how many lines  are  listed  before","pauses.   No // commands are permitted in response to the CONTIN-","UE? prompt; respond YES or RETURN to continue,  or  NO  to  stop.","When  paginated listings are being produced at the terminal PAUSE","temporarily uses the value of PAGE to permit loading paper  on  a","discreet forms terminals.","","FILLER","","The FILLER parameter permits you to use a  special  character  in"
"place of blanks while supplying text.  The choosen character will","be printed as a blank when paginated listings without  line  num-","bers  are  produced.   The FILLER character ensures that a set of","words so connected will not be separated by the FILL command.",".PAUSE","NONPRINT","","The NONPRINT parameter lets you specify a character to be printed","whenever a nonprinting character is  encountered  in  your  text.","This character is used for listings and for the display of a line"
"for modification using the MODIFY command.","","FACING","","The value of FACING is used to offset the text  on  entire  pages","when paginated listings are produced.  Text on odd numbered pages","is offset to the right; text on even numbered pages is offset  to","the left.",".END",".START","SHOW","","PURPOSE","","The SHOW command displays the current status of any  of  the  SET","parameters.  To display values of more than one parameter, supply","a list of parameter names separated by commas.  Use  the  keyword"
"","DEFINE enables you to assign a name to frequently  used  commands","or portions of commands known as strings.  Once a name is assign-","ed to a string, you may identify the string by name when entering","the command.",".PAUSE","For example, if you wanted to use the string LIST FIRST;LIST LAST","repeatedly, you could assign it the name LFL  and  use  the  name","rather  than  the  entire  text  of the string when the string is","referred to in commands.  This is done as follows:",""
"DEFINE LFL=LIST FIRST;LIST LAST",".PAUSE","LIMITATIONS","","The name assigned to a definition must begin with a  letter,  and","must  be a contiguous set of characters (no blanks).  Any charac-","ters may be used, even quote marks as they are not used to delim-","it names.  A name may duplicate a command name or parameter  such","as  MOVE  or BY; however, when used as defined words commands may","not be used for their original function.  This means that you may"
"redefine the name provided you do not need  the  command  in  its","original form.",".PAUSE","When defining names equal to commands, it is advisable to use the","shortest abbreviation possible to conserve space  in  the  DEFINE","dictionary.","","EDITOR searches for defined names from left  to  right.   When  a","defined  name  is  found, EDITOR replaces it with the meaning as-","signed to it in the DEFINE dictionary.  EDITOR then  resumes  its"
"search proceeding from the first character following the inserted","definition. Thus defined names within other definitions  are  not","found by EDITOR.",".PAUSE","USING DEFINED NAMES","","A name can be entered in response to a > prompt, or as part of  a","command.   Names must be separated from other commands parameters","by one or more blanks.","","An example of using DEFINE to define a string and subsequently to","remove that string from a line of text is shown below.",""
"     >define namea=\34UNNECESSARY VERBAGE\34","     \34namea\34 IS NOW A DEFINED NAME.",".PAUSE","REMOVING A DEFINED NAME","","To remove or \34undefine\34 a name, reenter the  DEFINE  command  and","omit  the  string  portion.    This deletes both the name and its","meaning from the DEFINE dictionary.  To illustrate:","","     >define namea=","     \34namea\34 IS NOW REMOVED.",".END",".START"," //BREAK","","PURPOSE","","The //BREAK command is primarily used from a USE file to signal"
"EDITOR to terminate execution of one command (such as ADD) and go","on to the next command in the file.","","//BREAK may be entered in response to either of the two prompts:","text (:), or numbered lines (#).  It must always be the first and","only entry in response to the prompt; it may never be appended to","other textual input (it is then just text).",".END",".START","//HELP","","You may type //HELP in response to any  EDITOR  prompt.   In  re-"
"sponse,  EDITOR  tells you what responses may be made at the cur-","rent prompt level.",".END"
"meaning from the DEFINE dictionary.  To illustrate:","","     >define namea=","     \34namea\34 IS NOW REMOVED.",".END",".START"," //BREAK","","    PURPOSE","","The //BREAK command is primarily used from a USE file to signal","EDITOR to terminate execution of one command (such as ADD) and go","on to the next command in the file.","","//BREAK may be entered in response to either of the two prompts:","text (:), or numbered lines (#).  It must always be the first and"
"only entry in response to the prompt; it may never be appended to","other textual input (it is then just text).",".END",".START","2-24.  //HELP","","You may type //HELP in response to any  EDITOR  prompt.   In  re-","sponse,  EDITOR  tells you what responses may be made at the cur-","rent prompt level.",".END"
