home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 30 / q30.d81 / t.zed < prev    next >
Text File  |  2022-08-28  |  15KB  |  346 lines

  1.  
  2.  
  3.                 ZED-128 version 0.77.00  [February 16, 1993]
  4.  
  5.                       Program and Text by Craig Bruce
  6.  
  7.  
  8. FENDER'S PREMUMBLE: Three or four people sent me copies of ZED recently,
  9. recommending it as a text editor for the C-128 80-column mode, especially
  10. for use with downloaded text.  It's freeware and many of you may already
  11. have it, but I hope that it will be new to enough of you to justify my
  12. placing it on LOADSTAR 128.  I use THE WRITE STUFF V2 almost exclusively
  13. for word processing but after using ZED a little, I can see its usefulness.
  14. Since it wasn't written for LOADSTAR it doesn't return to LOADSTAR when you
  15. quit.  Here's Bruce to tell you all about his baby...
  16.  
  17.  
  18.     ZED is a text editor program for the Commodore 128 80-column screen
  19. that I am currently working on.  IT IS NOT COMPLETE, but I think that it is
  20. complete enough to be quite useful.  To use it, just LOAD and RUN the "ZED-
  21. 128" binary file.  Be sure to save it in PRG format.
  22.  
  23.  New features of version 0.77 over version 0.75
  24.  -----------------------------------------------
  25.  
  26.     Well, really not much.  The bug with loading a file that is too large
  27. from a non-burst device causing the machine to crash has been fixed.  A
  28. couple of other minor bugs have been fixed.
  29.  
  30.     Also, CT-^ (Enter Commodore DOS command) has been implemented.  This is
  31. very useful for CMD drive users out there.
  32.  
  33.     Here is a summary of Zed's important features:
  34.  
  35. - Works with *BIG* text files.  It gives over 100K bytes free for the
  36. unexpanded 128 and almost 630K bytes free with a 512K RAM expander.  It
  37. auto-detects whether you have a RAM expander and supports up to 8 Megs.
  38.  
  39. - 100% unadulterated machine code with high-speed VDC accessing.
  40.  
  41. - Uses Burst commands for reading 1571 and 1581 files.  Reads about 3,500
  42. bytes/sec from a 1571 and about 6,100 bytes/sec from a 1581.  Works with
  43. non-burst devices as well.
  44.  
  45. - Uses a dynamically allocated data structure to hold the editor document
  46. and the "Kill Buffer", so there are no fixed limits on the size of each;
  47. they both can use all of the memory that is available.
  48.  
  49. - Will optionally expand TAB characters into spaces while loading a file
  50. and compress spaces into TABs while saving.
  51.  
  52. - Global search and replace.
  53.  
  54. - Range delete and recall.
  55.  
  56. - File translation to and from ASCII-CrLf, ASCII-Lf, ASCII-Cr, and
  57. SPEEDSCRIPT character codes.  ASCII-CrLf is used by MS-DOS and ASCII-Lf is
  58. used by Unix.  SpeedScript and THE WRITE STUFF both save their files in
  59. screen code.
  60.  
  61.      And here is its major limitation:
  62.  
  63. - Has a maximum line length of 80 characters.  It will split file lines
  64. longer than that.  The complete version will support lines up to 240
  65. characters and use horizontal scrolling, but that's another day.
  66.  
  67.     And there is also a known bug:
  68.  
  69. - Don't let the number of bytes free get lower than around 150 or you run
  70. the chance of having the internal memory allocate function fail.  Most of
  71. the routines do not check whether a memory allocate call succeeded, so they
  72. proceed as if it did, and all kinds of bad stuff can happen.
  73.  
  74.     Here is the action key summary (an * precedes the keys that have
  75. actually been implemented).  For the keys preceded by a "CT-", hold the
  76. Control key while typing them (duh!), "SH" means Shift and "CO" means
  77. Commodore.  The UP, DOWN, LEFT and RIGHT keys are the cursor arrow keys.
  78. When you have to hold down SH, CO, or CT with a arrow key, use the arrow
  79. keys on the top of the keyboard.  For convenience, SH-UP and SH-DOWN do the
  80. same as CT-UP and CT-DOWN.
  81.  
  82.  
  83.  ZED-128 Command Key Summary:
  84.  ----------------------------
  85.  
  86. Control Commands:
  87.  
  88.  I CODE  KEY     ACTION
  89.  - ----  ---     ------
  90.  * $e0   CT-@    Exchange cursor position with mark position
  91.  * $e1   CT-A    Alter case of letter under cursor
  92.  * $e2   CT-B    Byte value input
  93.    $e3   CT-C    Copy range
  94.  * $e4   CT-D    Delete range
  95.  * $e5   CT-E    Exit with save
  96.  * $e6   CT-F    Find next occurance of hunt string
  97.    $e7   CT-G    Goto given line number
  98.  * $e8   CT-H    Set Hunt string
  99.    $e9   CT-I    Insert new file into current one
  100.  * $ea   CT-J    Juggle range of lines for text formatting
  101.  * $eb   CT-K    Kill current line
  102.  * $ec   CT-L    Load file
  103.  * $ed   CT-M    Set Mark for range operations
  104.  * $ee   CT-N    Set Name of current file
  105.  * $ef   CT-O    Set Options: input/output translation/tab-expansion, etc.
  106.  * $f0   CT-P    Print current file
  107.  * $f1   CT-Q    Quit without save
  108.  * $f2   CT-R    Recall text from buffer
  109.  * $f3   CT-S    Save file
  110.    $f4   CT-T    Translation utils: WC, Rot13, Up/Lowcase, Indent,
  111.                  Justify, Prefix
  112.  * $f5   CT-U    Use new disk device number
  113.    $f6   CT-V    Verify file
  114.    $f7   CT-W    Write range with new name
  115.  * $f8   CT-X    Exchange cursor character with next character
  116.  * $f9   CT-Y    Replace (all the other letters were taken!)
  117.    $fa   CT-Z    Goto bottom of screen
  118.  * $fb   CT-[    Toggle insert mode
  119.  * $fc   CT-\    Toggle modified flag
  120.  * $fd   CT-]    Toggle indent mode (Indent / Noindent / WordWrap)
  121.  * $fe   CT-^    Enter Commodore DOS command
  122.  * $ff   CT-     <nothing>
  123.  
  124.  
  125. Key Commands 1:
  126.  
  127.  I CODE  KEYACTION
  128.  - ----  ---------
  129.  * $00   <none><nothing>
  130.    $01   CT-RETURN      Go up one paragraph
  131.  * $02   SH-TAB         Backtab
  132.  * $03   STOP           <stop some operations>
  133.    $04   SH-HELP        <same as HELP>
  134.  * $05   CT-2           Clear buffer
  135.  * $06   SH-LEFT        Word left
  136.  * $07   SH-LINEFEED    ?
  137.  * $08   CO-DEL         Rubout
  138.  * $09   TAB            Tab
  139.  * $0a   LINEFEED       ?
  140.  * $0b   SH-RIGHT       Word right
  141.  * $0c   CO-UP          Goto top of document
  142.  * $0d   RETURN         Split current line (indent not yet implemented)
  143.  * $0e   SH-ESCAPE      ?
  144.  * $0f   CO-DOWN        Goto bottom of document
  145.  * $10   CO-LEFT        Goto beginning of line
  146.  * $11   DOWN           Cursor down
  147.  * $12   CT-9           Reverse screen on
  148.  * $13   HOME           <nothing>
  149.  * $14   DELETE         Delete character
  150.  * $15   CO-RIGHT       Goto end of line
  151.  * $16   CT-UP          Page up
  152.  * $17   CT-DOWN        Page down
  153.    $18   CT-TAB         ?
  154.    $19   CT-LEFT        Page left
  155.    $1a   CT-RIGHT       Page right
  156.  * $1b   ESCAPE         <nothing>
  157.    $1c   CT-3           Directory with block counts
  158.  * $1d   RIGHT          Cursor right
  159.  * $1e   CT-6           ?
  160.  * $1f   CT-7           ?
  161.  
  162.  
  163. Key Commands 2:
  164.  
  165.  I CODE  KEYACTION
  166.  - ----  ---------
  167.    $80   CT-F1          Function key 9
  168.  * $81   CO-1           Set display to 25 lines
  169.    $82   CT-F3          Function key 10
  170.    $83   SH-STOP        ?
  171.    $84   HELP           Display help message
  172.    $85   F1             Function key 1
  173.    $86   F3             Function key 3
  174.    $87   F5             Function key 5
  175.    $88   F7             Function key 7
  176.    $89   SH-F1          Function key 2
  177.    $8a   SH-F3          Function key 4
  178.    $8b   SH-F5          Function key 6
  179.    $8c   SH-F7          Function key 8
  180.    $8d   SH-RETURN      Go to next paragraph
  181.    $8e   CT-F5          Function key 11
  182.    $8f   CT-F7          Function key 12
  183.  * $90   CT-1           Clear document
  184.  * $91   UP             Cursor up
  185.  * $92   CT-0           Screen reverse off
  186.  * $93   SH-HOME        Cursor home
  187.    $94   SH-DELETE      Insert one space
  188.  * $95   CO-2           Set display to 27 lines
  189.  * $96   CO-3           Set display to 30 lines
  190.  * $97   CO-4           Set display to 45 lines
  191.  * $98   CO-5           Set display to 51 lines
  192.  * $99   CO-6           Set display to 29 lines
  193.    $9a   CO-7           ?
  194.    $9b   CO-8           ?
  195.    $9c   CT-5           Display code of current character
  196.  * $9d   LEFT           Cursor left
  197.    $9e   CT-8           ?
  198.  * $9f   CT-4           Display directory with byte counts
  199.  
  200.  
  201.     To delete a range, use CT-M to set the mark for one bound of the range
  202. and move the cursor to the other bound of the range.  Then press CT-D to
  203. delete.  The range includes both bounding lines.  CT-K (kill current line)
  204. is the same as pressing CT-M and then CT-D on the same line.
  205.  
  206.     CT-R recalls the text at the current cursor line.  To recall after the
  207. end of the document, add a new blank line to the end, recall, and then
  208. delete the extra line you added.  You can recall the kill buffer text as
  209. many times as you wis