home *** CD-ROM | disk | FTP | other *** search
/ Between Heaven & Hell 2 / BetweenHeavenHell.cdr / 400 / 318 / zuri.doc < prev    next >
Encoding:
Text File  |  1986-06-29  |  27.5 KB  |  542 lines

  1.  
  2.  
  3.  
  4.  
  5.                          THE ZURI EDITOR
  6.                            Version 3.2
  7.                           (June 29, 1986)
  8.  
  9.  
  10.  
  11.  
  12.      This program is  made available "as   is",   without any  warranties,
  13. explicit   or implied, as  to performance, merchantability, or fitness for
  14. any particular purpose, whether or not a contribution is made. It has been
  15. put in the public domain. It  is advisable to thoroughly test this program
  16. before using   it   seriously.  It can  be freely copied and   distributed
  17. provided no charge is made.
  18.      If you   find this program  of use,  a  contribution of $15 would  be
  19. appreciated.  In return, I     will   inform you of  any  changes,  fixes,
  20. additions, etc.  If you   supply   a standard  DOS 2.0 double sided double
  21. density 5 1/4 " diskette in a self-adressed, stamped mailer along with the
  22. $15, I will also send you the latest version of the editor  along with its
  23. documented  source code (in   TURBO PASCAL), so  that modifications can be
  24. made at will.
  25.                       J. Donald Monk
  26.                     2135 Goddard Place
  27.                   Boulder, Colorado 80303
  28.  
  29.     Memory requirement: 190K. With this memory,  the maximum editable file
  30. is 32K. Each  additional 32K memory adds that much to the maximum editable
  31. file, up to  the maximum 640K giving a possible file size of  480K. In any
  32. case, no file is allowed to have more than 9999 lines.
  33.  
  34.     System requirement, other limitations:  I do not  know the  limits. In
  35. developing it,  I  have used  an  IBM PC with 640K  memory, varying  sized
  36. virtual disks, monochrome display,  Epson  FX100 printer, DOS  2.0. I have
  37. not used it with tree directories, piping, etc.
  38.  
  39.     NOTE:  The editor cannot handle a file that has lines longer  than 225
  40. characters, and also fouls up if characters with ascii 7,8,10,13,26 are in
  41. the file (except to indicate end of line or end of file).
  42.  
  43.      ERROR   PROTECTION:  Generally  speaking,    there is    enough error
  44. protection so that the editor  will  not crash during normal  use. In most
  45. cases  an error will  be  indicated at the bottom of   the screen. In some
  46. cases, an error will simply be ignored, and nothing visible will happen.
  47.  
  48.      WARNING: As of this date, the editor has not been used  very much, so
  49. there may be unexpected things happening.
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                      TABLE OF CONTENTS
  64. Summary of Commands...............................................3
  65. Editing Commands..................................................4
  66. Current memory line...............................................4
  67. Going to a new line...............................................6
  68. Other commands....................................................7
  69. Changing defaults................................................10
  70.  
  71.     TO START THE EDITOR, TYPE
  72.  
  73. zuri <enter>
  74.  
  75. For this, the file zuri.com should be on the drive being used. There
  76. are other files, which are not absolutely essential, but may be of
  77. use:
  78. zuri.hle  -  a help file
  79. zuri.doc  -  this documentation
  80. zuri.key  -  a file of user-defined macros (see below)
  81. zuri.my   -  a file of user modifications (see below)
  82. zuriinst.com  - a file to "install" the editor, so as to be able to
  83.     use DOS from within it
  84.  
  85.                         ESSENTIAL INFORMATION
  86.  
  87. To start zuri, type  zuri <enter>    Then you will  be  asked  for a  file
  88. name, and, in general you can start editing at once, since there is a help
  89. screen.
  90.  
  91. **************************************************************************
  92. *                   SUMMARY OF EDITING COMMANDS                          *
  93. *                                                                    Page*
  94. * Backspace   :  delete character to the left of cursor, go left.......5 *
  95. * Del         :  delete character at cursor, pull characters in........5 *
  96. * Ins : toggle between insert/ overwrite modes (insert = fat cursor)...5 *
  97. * Cursor Left :  move cursor left one character........................5 *
  98. * Cursor Right : move cursor right one character.......................5 *
  99. * Tab         :  move cursor to next tab stop..........................5 *
  100. * Ctrl CursorLeft : move cursor left in steps of 20....................5 *
  101. * Ctrl CursorRight :  move cursor right in steps of 20.................5 *
  102. * Home        :  move cursor to the beginning of current memory line...5 *
  103. * End         :  move cursor to the end of the current memory line.....5 *
  104. * alt a       :  enter a (special) ascii character.....................5 *
  105. * alt f       :  forget changes on current memory line.................6 *
  106. * TEXT MACROS :  ......................................................6 *
  107. * ENTER       :  split line, or create blank line......................7 *
  108. * CursorUp    :  go to the same column in the screen line above........7 *
  109. * CursorDown  :  go to the same column in the screen line below........7 *
  110. * alt 1       :  go to top of screen, in same column...................7 *
  111. * alt 2       :  go to middle of screen, in same column................7 *
  112. * alt 3       :  go to bottom of screen, in same column................7 *
  113. * PgUp        :  go to previous screen full............................7 *
  114. * PgDn        :  go to next screen full................................7 *
  115. * Ctrl PgUp   :  scroll back continuously..............................7 *
  116. * Ctrl PgDn   :  scroll forward continuously...........................7 *
  117. * Ctrl Home   :  go to beginning of the file...........................7 *
  118. * Ctrl End    :  go to the end of the file.............................7 *
  119. * alt b       :  block commands (copy, move, delete)...................7 *
  120. * alt d       :  delete a memory line..................................8 *
  121. * alt g       :  display last filename saved to........................8 *
  122. * alt h       :  display a help file...................................8 *
  123. * alt i       :  set up automatic indenting............................8 *
  124. * alt j       :  concatenate two memory lines..........................8 *
  125. * alt k       :  shift lines to the right or left......................8 *
  126. * alt l       :  list specified memory lines...........................8 *
  127. * alt n       :  repeat previous search................................8 *
  128. * alt o       :  go to DOS (must be installed).........................9 *
  129. * alt p       :  change wrap limit.....................................9 *
  130. * alt q       :  search for a string...................................9 *
  131. * alt r       :  replace one string by another........................10 *
  132. * alt s       :  save the file to disk................................10 *
  133. * alt u       :  display the actual file size.........................10 *
  134. * alt v       :  toggle word wrap, not at end of file.................10 *
  135. * alt w       :  toggle word wrap, at end of file.....................10 *
  136. * alt x       :  exit editor..........................................10 *
  137. * alt y       :  save part of the file................................11 *
  138. * alt z       :  insert a file........................................11 *
  139. **************************************************************************
  140.  
  141. NOTE: It does not matter whether, for example, alt a or alt  A is pressed.
  142.  
  143.                         EDITING COMMANDS
  144.      The screen has  a window  of  75 columns by 21 lines,  where the file
  145. being edited  is displayed, in part. Left of this window are line numbers,
  146. not present in the file itself, and a vertical border. Line  22 displays a
  147. double  line, to form  a border. Line  23 displays informational messages:
  148. the name of the old file, or an indication that it is a new file; the file
  149. size, in lines and bytes, and the total file size  allowed with  the given
  150. memory available (virtual disks are excluded in  counting this memory); an
  151. indication of the  wrap number (see below), or an  indication that wrap is
  152. off (both of these are only indicators for when one is working at the end
  153. of a file); and an indicator of the column  on the screen line that the 
  154. cursor is on (it can vary from 1 to 75). Screen lines 24 and 25 are used 
  155. for interaction with the editor. Text entered here in response to the 
  156. editor's requests can be edited a little bit: the cursor left and right 
  157. keys, backspace, and del keys as well as the usual letters and symbols are
  158. available for use here.
  159.      The byte count will be about the same as that in the diskette file at
  160. first, but after editing awhile  it may exceed that; it is lengthy to give
  161. the rules for this,  so    the byte  size information should be used for a
  162. rough idea only. On the other  hand, the  line size information is  always
  163. accurate. To get the exact number of bytes which will be written out to  a
  164. file, use the command alt u (see below).
  165.  
  166.      One can start with an   old file, or a new one; the  initial messages
  167. indicate  how  to make  this choice.  WORD WRAP is automatically set at
  168. column  65, but the limit changed can be changed (see below). Also, it is
  169. set ON for work at the end of the file, and OFF otherwise. Both of these
  170. defaults can be changed (see alt-v, alt-w). The word wrap  works as 
  171. follows: when typing beyond the limit, say column 65, the first space 
  172. (blank) which is typed will cause a line break; both a new blank memory 
  173. line, and the corresponding screen line, will be input, exactly at the 
  174. blank (which disappears). The wrap limit can be set to anything up to 225.
  175.      It is possible that  during editing, the  cursor  can be  beyond  the
  176. actual end of  the memory line. If an ordinary  character key, or a macro,
  177. is pressed while this is true, the editor  will act as if the space beyond
  178. the former end of the current line is filled  with blanks. Otherwise there
  179. are no characters between the  end  of the   memory line  and   the cursor
  180. position.
  181.      The main part  of  the editor  can be  divided into  three kinds   of
  182. activity: (1) working on a memory line - the CURRENT MEMORY LINE (2) GOING
  183. TO A NEW MEMORY LINE, and (3) OTHER COMMANDS.
  184.  
  185.  
  186.  
  187.                       CURRENT MEMORY LINE
  188.  
  189.  
  190.  
  191.      At a given time in the  editing  process, the cursor  is on a certain
  192. screen line, which  is associated  with part of a file memory line. As the
  193. displayed  memory line is edited, the file memory line is not changed. The
  194. current memory line  is stored temporarily in a string  variable  curline,
  195. which is modified continuously during editing. The associated  file memory
  196. line is changed - updated - only when  the current memory line is left for
  197. some purpose,  the most frequent of  which is  to go to a new file  memory
  198. line.
  199.      Ordinary letters, digits, and  special characters are entered  in the
  200. usual way. By default they are inserted before the letter where the cursor
  201. is,  but this can be changed with the Ins key; see below. This insert mode
  202. is indicated with  a fat cursor;  the overwrite mode is  indicated on  the
  203. display with the ordinary cursor. Special keys for the current memory line
  204. are as follows:
  205.  
  206.  BACKSPACE: This works  in  the usual  way: the  cursor goes back one, and
  207. erases the character there, bringing in any other characters, if any, from
  208. the right.   It works on the memory line: if  at  the far left of a screen
  209. line which  is  not the beginning of the memory line, it goes to the right
  210. of the screen line above.
  211.  
  212.  DEL:  This  also  works  as usual: deletes the character at the   cursor,
  213. pulling  in  from the right the  remaining characters, if any, in both the
  214. memory  and screen lines. If DEL is  used when  part of the memory line is
  215. below  the  screen, all  of the memory  line will be  pulled up, scrolling
  216. other screen lines up.
  217.  
  218.  INS: This toggles from the insert mode (fat cursor) to the overwrite mode
  219. (ordinary cursor) or vice versa.
  220.  
  221.  ARROW POINTING LEFT: takes cursor  one  column to  the left. As a special
  222. case, the cursor goes from column 1 of  a screen line to  column 75 of the
  223. line above if not at the beginning of a memory line.
  224.  
  225.  ARROW POINTING RIGHT: similar to  arrow  pointing left. The cursor is not
  226. allowed to   go beyond the screen  line containing the  last   part of the
  227. current memory line, however.
  228.  
  229.  TAB (On the  left, under Esc key,  on the standard keyboard): goes to the
  230. next tab stop. If beyond the end  of the current line, or if TAB takes you
  231. beyond, the intervening space is filled with blanks. The default tab stops
  232. are set at   columns 5, 10,  15, .  . ., 225. To have different tabs, they
  233. should be put on a single line in a  file named zuri.tab on the same drive
  234. as the zuri programs. The single line should have the format
  235.  
  236. t1 t2 t3 t4 . . . ti
  237.  
  238. where t1, t2, t3, . . .  are the  tabs in increasing order,  each positive
  239. and less than  226. The number of tabs is at most 45,  but the line can be
  240. as long as 180 characters.
  241.  
  242.  Ctrl cursorLeft : takes the cursor left in steps  of 20, otherwise acting
  243. like cursorleft.
  244.  
  245.  Ctrl cursorRight  :  takes  the cursor right   in steps of 20,  otherwise
  246. acting like cursorRight.
  247.  
  248.  End : the cursor goes to the very end of the current memory line.
  249.  
  250.  Home : the cursor goes to the beginning of the current memory line.
  251.  
  252.  alt a  : This puts the editor in the interactive mode, with the cursor on
  253. screen line 24.  Give  the integer which is the ascii code of a character,
  254. and  it will be entered appropriately in memory and  on the screen, at the
  255. position  where the cursor  was before pressing alt a. Note: the   control
  256. characters with ascii codes 7,8,10,13,26 cause trouble for the editor.
  257.  
  258.  alt f :  FORGET: when  editing a memory  line, this is a "forget changes"
  259. command  - on the  screen and  in the storage curline, all changes made on
  260. the memory line from the time the cursor most recently came to this memory
  261. line are forgotten. After leaving a memory  line, changes can no longer be
  262. forgotten.
  263.  
  264.      TEXT MACROS: It  is possible to define  special keys   for often used
  265. sequences of  characters;    these  macros  can  be used in the file being
  266. edited, or within an interactive response, but cannot be used to specify a
  267. sequence of  commands  to the  editor.  The specifications for the special
  268. keys are put on a special  file named  zuri.key, on the  same drive as the
  269. other zuri  programs, in the following format: second code, macro,  second
  270. code, macro, . . . . (one line for second code, then a line for the macro,
  271. etc.). Here the  "second code" refers to  the extended ascii code (see the
  272. IBM basic manual, appendix G). The keys available are  the  function  keys
  273. F1-F40, and the macros may be  up to 75 characters each. The function keys
  274. F1-F10 have second code 59-68; Shift- F1-F10 have second code 84-93; Ctrl-
  275. F1-F10 have second code 94-103; and Alt- F1-F10 have second code 104-113.
  276.      Example: Let the file zuri.key contain the following four lines:
  277.  
  278.  59
  279.  Boulder, Colorado
  280.  94
  281.  It is a cold day, but it is supposed to warm up tomorrow.
  282.  
  283. THEN when in the editor, pressing F1 will produce
  284.  
  285.  Boulder, Colorado
  286.  
  287. in the file being edited (it will be inserted if in the insert mode, while
  288. it will overwrite if in the overwrite  mode - see below) and pressing ctrl
  289. F1 will produce
  290.  
  291.  It is a cold day, but it is supposed to warm up tomorrow.
  292.  
  293.     If macros  are not wanted, then  it  is not necessary to have the file
  294. zuri.key  at all. If the format  of the  file zuri.key is not correct, the
  295. editor will abort when it tries to load it. Since loading zuri.key  is the
  296. first thing that the editor tries to do, this does not waste much time.
  297. If several macros are available for a given key, the FIRST such will be
  298. the one taken.
  299.  
  300.  
  301.                       GOING TO A NEW LINE
  302.  
  303.  
  304.  
  305.      When going to a  new   line, the  current  line  is saved, except  as
  306. indicated below.  It is actually put in a new place in memory, and the old
  307. line is not deleted, although it is no longer accessible to the user. This
  308. creates "garbage", and the  byte count, which counts both  the old and the
  309. new line, becomes inaccurate.
  310.  
  311.  ENTER : This key, also called carriage return, is used  in several  ways.
  312. Basically, if  in  the middle of a memory  line, pressing enter will cause
  313. the first part of  the current memory line, up  to the symbol  before  the
  314. cursor,  to remain  there, while the last part, including the symbol where
  315. the cursor was, goes to a new memory  line created following   the current
  316. one. The  cursor goes to the   beginning of the  second of the two  memory
  317. lines formed in  this way, unless  automatic indenting is set (see below).
  318. The first one is put in the file memory, but  not   the second. There  are
  319. important special cases: if the cursor is at the first current memory line
  320. position, an empty line is created preceding the  current memory line.  If
  321. the cursor is at the end of the current memory line, a new line is created
  322. following the current memory  line. This last case  is  the way that brand
  323. new text is created. If the cursor is beyond the end of the current memory
  324. line, which can happen, the space between the end and the cursor is filled
  325. with blanks before the new line is formed.
  326.  
  327.  ARROW POINTING UP :  goes  to the  same column of the screen  line above;
  328. scrolls screen if initially on the first screen line.
  329.  
  330.  ARROW POINTING DOWN : similar to arrow pointing up.
  331.  
  332.  alt 1 :  go  to  the top of the  screen, keeping the cursor  in  the same
  333. column.
  334.  
  335.  alt  2 : go to  the middle of the  screen, keeping the cursor in the same
  336. column.
  337.  
  338.  alt 3 : go to the bottom  of  the screen, keeping the  cursor in the same
  339. column.
  340.  
  341.  PgUp : goes to  the previous page of text, with some overlap.  The cursor
  342. goes to the top of the new page, in the same column it started in.
  343.  
  344.  PgDn : goes to the next page of text, with some overlap.  The cursor goes
  345. to the bottom of the new page, in the same column it started in.
  346.  
  347.  Ctrl PgUp : Scroll back continuously. Can be stopped by pressing any key,
  348. and then normal  editing can  continue. If the beginning of  the  file  is
  349. reached, of course this procedure stops, and line 1 is ready to be edited.
  350.  
  351.  Ctrl PgDn : Similar to  Ctrl  PgUp, but  scrolling forward. It the end of
  352. the file is reached, the last line of the file is ready to be edited.
  353.  
  354.  Ctrl Home  : editing goes back  to the  beginning of the file,  with  the
  355. cursor in the upper left.
  356.  
  357.  Ctrl End :  editing goes to the end (last 15  screen  lines) of the file.
  358. The cursor goes to the very end of the last memory line  in the file. Thus
  359. if one wants to add to a given file,  the procedure   is to load it, press
  360. the ctrl end keys, then press ENTER, and you are ready to go.
  361.  
  362.  
  363.  
  364.                           OTHER COMMANDS
  365.  
  366.  
  367.  alt b  :  BLOCK COMMANDS: A block is defined by the user, and then one of
  368. three commands can be done on the block: copy it to another place,  delete
  369. it, or move it to another  place (destroying the  old copy). When alt b is
  370. pressed, you will be  presented with a  small menu on screen  lines 24 and
  371. 25:
  372.     b : mark block beginning - if <b>   is  pressed, the beginning of  the
  373. block will  be set at the cursor, and will  be displayed in  reverse video
  374. (black on white).
  375.     e : mark   block end - if <e> is pressed, the end of the block will be
  376. set at the cursor, and will be displayed in blinking reverse video. If the
  377. end of   the block is a blank, it will not  blink. If the cursor is beyond
  378. the end of    the current memory line, special things apply when doing the
  379. operations below.
  380.     y :  display block beginning - if <y> is pressed, the beginning of the
  381. block, as previously defined, will be displayed in reverse video, with the
  382. cursor there. If the beginning was not defined, nothing will happen.
  383.     z : display block end, similarly.
  384.     c : copy the block to just before the cursor position. If it is a pure
  385. line block, starting at the beginning of a line  and ending beyond the end
  386. of a line, with the cursor  at the beginning of another line, you have the
  387. choice of making several copies.
  388.     d : delete the block.
  389.     m : move the  block to just before the cursor position, destroying the
  390. old block.
  391.     NOTE: After setting up a block, any  changes made on one of the  lines
  392. where the block is located will unset the block. Also, moving, copying, or
  393. deleting will unset the block.
  394.  
  395.  alt d : DELETES the memory line, and associated screen  lines, determined
  396. by where  the cursor    is. The cursor goes to the beginning   of the next
  397. memory line, or, if  the last memory line in the file was the one deleted,
  398. to the previous line. The line is not actually removed from memory, but it
  399. becomes inaccessable to  users,  and will not be  present when the file is
  400. written to a disk. So for most practical purposes it is  deleted. The byte
  401. count remains the same, however.
  402.  
  403.  alt g : Displays  name of  the  last file saved to, or indicates that the
  404. stuff being edited has not yet been saved.
  405.  
  406.  alt h  : A help  screen is displayed. It  uses the file  zuri.hle,  which
  407. should be on the default drive.
  408.  
  409.  alt i : AUTOINDENT. Interactively, one has  the following choices: indent
  410. the same amount the preceding line is  indented, or indent a fixed amount.
  411. At the start of editing, there  is no automatic indenting. To return to no
  412. automatic indenting, use alt i to set automatic indenting to 0.
  413.  
  414.  alt  j : JOINS.  When this key combination is   pressed, the  memory line
  415. below the  current memory line  is pulled up to the  current  one, with  a
  416. space character  between them, and the cursor goes to the beginning of the
  417. concatenated line.
  418.  
  419.  alt k  : User is prompted  for 3 integers, i,j,k. Lines  i  through j are
  420. shifted  to  the right k units. The  ends may be   shifted off. k negative
  421. means to shift to the left.
  422.  
  423.  alt l : Display on the screen starting at a prompted line number.
  424.  
  425.  alt n  : REPEAT PREVIOUS SEARCH.   If there was a  previous search, it is
  426. repeated,  starting from the  line   the last  search  was on. If the last
  427. search  went to the very end,  the new search starts  over  at line 1.  If
  428. there was not a previous search, nothing  happens.  Also, if the  previous
  429. search was at a line that is  now beyond the  end  of the file, because of
  430. deletions, nothing happens.
  431.  
  432.  alt o : GO TO DOS. When  this  key combination is  pressed, the editor is
  433. temporarily left, and control goes back to DOS, where any programs  at all
  434. can be run, if there is enough memory. When ready to return to exactly the
  435. same place in the editor, type
  436.  
  437.          exit <enter>
  438.  
  439. Command.com must be on drive a: to use this command. Also, the command has
  440. to be installed, in  the following  way. When using zuri on a  disk,  also
  441. load the file zuriinst.com. Type
  442.  
  443.          zuriinst <enter>
  444.  
  445. then follow   the instructions, which ask you how you want memory split up
  446. between the editor  and DOS   for  this command.   After  the command   is
  447. installed, it does not  need to be reinstalled for this disk, and the file
  448. zuriinst.com can be deleted.
  449.     Various programs give the  editor trouble with this command.  The user
  450. should test out his favorite listers, spoolers, etc with  this command and
  451. see  which ones really work. Some of them will work better if DOS is given
  452. more memory with zuriinst as above. Others still won't work (this has been
  453. my experience).
  454.  
  455.  alt  p  :  CHANGES THE WRAP LIMIT; user prompted for the new wrap  limit,
  456. which can be  any  integer < 301, although  all  integers >  224 have  the
  457. effect of no wrap limit (= wrap off). Afterwards, the   cursor  returns to
  458. its previous position, and editing can continue.
  459.  
  460.  alt  q :  SEARCHES FOR A STRING.  User is prompted  for the number of the
  461. memory line at which to begin the search, and for the search string, which
  462. may be up to 75 characters long. Also, the user  has the option whether to
  463. ignore uppercase/lowercase distinctions (in both  the stuff in memory  and
  464. the search string simultaneously), and whether to search in the forward or
  465. backward  direction.   After  each "find",  user  is  prompted  whether to
  466. continue or  not. After  the search is finished, the editor stops over the
  467. string found, or if no strings were   found, goes back to the beginning of
  468. the file.
  469.  
  470.  alt r : REPLACES   ONE STRING  BY ANOTHER. The user is  prompted  for six
  471. things: starting  memory line, ending memory line,  whether to be prompted
  472. for go-ahead or not   at each occurrence  of the first string,  whether to
  473. ignore the uppercase/lowercase distinction in the old string, and finally,
  474. the   two strings. To  replace in a   backwards direction, simply make the
  475. ending memory line less than the starting memory line. The string which is
  476. to be replaced must be  non-empty; otherwise, the editor will keep waiting
  477. until a non-empty one is  entered. After the procedure is finished, a list
  478. of the lines in which  replacements were made is given on lines 24 and 25;
  479. only the last 20  replacements   are  given if  there were more  than  20.
  480. Finally, after a key is pressed, the  editor goes back to the beginning of
  481. the file. If the result of replacing a line is exactly the same as the old
  482. line,  the replacement    procedure will terminate. Note that it is  quite
  483. possible to exceed the  current file limit with this  command, even if the
  484. the size of the file  when written out on  a disk does not exceed it. This
  485. is because each changed line is stored in a new place in memory, with  the
  486. old (inaccessible) line  still taking  up space.  If the current limit  is
  487. exceeded, because of such garbage or otherwise, the editor will then  stop
  488. and allow the user  to  decide what to  do. One possibility is to exit the
  489. editor, saving the file, and then read it back  in, thereby getting rid of
  490. the garbage.
  491.  
  492.  alt s : SAVES the file  being edited. Prompts for file name. If  the file
  493. already exists,   you  will  be asked whether  you  want  to overwrite  it
  494. (destroy  the old file,  and  put  the new one in its place).  There is no
  495. automatic back-up for   the file being edited, so   you  should save often
  496. enough, with  a  new file name of your own choosing, to protect your  work
  497. from machine errors,  interruptions, etc. After saving, the editor returns
  498. to the current line being edited, with  the cursor in the same position as
  499. before the command was given. The current memory line IS saved before this
  500. operation. The disk associated with  the file name is checked to make sure
  501. that  enough space  is available for the  given file (using the  real byte
  502. count available  to the user in the command alt   u). If it does  not have
  503. room, an error  message   is given and  the user  can   try again  with  a
  504. different drive, or decide not to save the file.
  505.  
  506.  alt u : displays the real size of the file being edited if it  is written
  507. to a disk. This is useful in many cases, since the displayed byte count on
  508. line 23 is not very accurate.
  509.  
  510.  alt v : TOGGLES WORD WRAP on to off, off to on, for work not at the end 
  511. of the file.
  512.  
  513.  alt w : TOGGLES WORD WRAP on  to  off, off to  on, for work at the end
  514. of the file.
  515.  
  516.  alt x : EXITS the editor. Will  give a  prompt for saving the  file being
  517. edited or not.
  518.  
  519.  alt y : SAVE  part of the file. The segment of lines given by the current
  520. block is saved to a file of user's choice.
  521.  
  522.  alt z : INSERT  a file before  a given line.  Note: a big file will  take
  523. quite a while to be inserted.
  524.  
  525.                         CHANGING DEFAULTS
  526.  
  527.  
  528.     A limited number of defaults can be changed by putting any one or more
  529. of the following lines in a file named zuri.my:
  530.  
  531. automatic indenting 
  532. wrap off 
  533. wrap at i 
  534. overwrite
  535.  
  536. These should be  lower  case. i is an integer. "Automatic indenting" means
  537. that each line will be indented the same as the previous   line when using
  538. the  enter   key.  The default  is insert, and "overwrite" changes that to
  539. overwrite.
  540.     With this  file on  the  zuri disk, the indicated  choices  become the
  541. defaults (which can still be changed while editing, if desired).
  542.