home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / mbug / mbug173.arc / ZDE16.LBR / ZDE16.NZW / ZDE16.NEW
Text File  |  1990-06-01  |  22KB  |  498 lines

  1.  
  2.                            New in ZDE
  3.  
  4.                      Z-System Display Editor
  5.  
  6.                      Version 1.6   02 Jun 90
  7.  
  8.   ZDE is copyright 1990 by Carson Wilson, all rights reserved.  
  9.   You use ZDE at your own risk.  The author accepts no liability 
  10.   for any damages resulting from its use or misuse.  The files in 
  11.   this library may not be circulated in any incomplete or 
  12.   modified form without the written permission of Carson Wilson.  
  13.   Any commercial use of ZDE, defined as any situation where the 
  14.   duplicator receives revenue by duplicating or distributing ZDE 
  15.   by itself or in conjunction with any hardware or software 
  16.   product, is expressly prohibited unless authorized in writing 
  17.   by Carson Wilson.
  18.  
  19.   This file describes changes to ZDE since version 1.3.  I have 
  20.   decided not to release document revisions while ZDE is still in 
  21.   active development.  For now, please obtain ZDE10.DOC and 
  22.   ZDENSTAL.DOC from ZDE10.LBR, and ZDE13.NEW from ZDE13.LBR, 
  23.   available on Antelope Freeway and many other remote CP/M 
  24.   systems.  Except for the changes detailed below, these text 
  25.   files provide a thorough explanation of how to use and install 
  26.   ZDE.  Alternatively, send a contribution to support further 
  27.   work on ZDE, and I will mail you a high quality, up-to-date 
  28.   printed manual for ZDE version 1.6.  See section 6.3 of this 
  29.   file for details.
  30.  
  31.  
  32.                         -   CONTENTS   -
  33.  
  34.           1.  FUNCTIONAL ENHANCEMENTS.
  35.                1.1.  Proportional Formatting.
  36.                1.2.  Last Entry Recall.
  37.                1.3.  Enhanced Operation Under CP/M Plus and ZSDOS.
  38.                1.4.  Control-U now Aborts "Delete To" Function.
  39.                1.5.  Fully Operational Auto-Indent (^OA).
  40.                1.6.  Chain to ZCPR Error Handler.
  41.                1.7.  Return to Previous Position Command (^QP).
  42.                1.8.  Global Find/Replace Option.
  43.                1.9.  Semicolons are now Characters in Nondocuments.
  44.  
  45.           2.  BUGS FIXED.
  46.                2.1.  More Robust Space Calculation.
  47.                2.2.  ZCPR Line Queue Bug Fixed.
  48.                2.3.  Other Minor Nuisances Corrected.
  49.  
  50.           3.  INSTALLATION.
  51.                3.1.  New in ZDENSTAL Version 1.6.
  52.  
  53.           4.  USAGE HINTS.
  54.                4.1.  Saving Macros.
  55.                4.2.  Creating a Smaller ZDE.
  56.                4.3.  Using GET and GO with ZDE.
  57.  
  58.           5.  DEVELOPMENT HISTORY.
  59.  
  60.           6.  FURTHER INFORMATION.
  61.                6.1.  About Z System.
  62.                6.2.  About the Author.
  63.                6.3.  Pre-Printed Manuals.
  64.  
  65.  
  66. 1.  FUNCTIONAL ENHANCEMENTS.
  67.  
  68.      1.1.  Proportional Formatting.
  69.  
  70. ZDE can now format your text for use with proportional printer 
  71. fonts!  See the files ZDEPROP.DOC and ZDEPROP.Z80 (included in 
  72. ZDE16.LBR) for full details.
  73.  
  74.      1.2.  Last Entry Recall.
  75.  
  76. The following commands (among others) cause ZDE to prompt 
  77. you for information:
  78.  
  79.       COMMAND       PROMPT
  80.           ^KD       "Load:"
  81.           ^KE       "Erase:"
  82.           ^KN       "Name:"
  83.           ^KL       "Load:"
  84.           ^KR       "Read:"
  85.           ^QF       "Find:"
  86.           ^QA       "Find:" and "Change to:"
  87.         ESC-M       "Macro:"
  88.  
  89. You can often save typing time and prevent errors by using 
  90. control-R or your right arrow key [as installed] to Recall your 
  91. last response to any of the above prompts.  For example, to read 
  92. in a file and then erase it, you could enter "^KR, <filename>, 
  93. RETURN" followed by "^KE, ^R, RETURN".  The ^R command will 
  94. automatically recalls the filename you entered in response to the 
  95. "Read:" prompt.  The Find, Replace, and Macro prompts work in a 
  96. similar manner.  ^R Recalls your entire response; right arrow 
  97. recalls your last response one character at a time to allow 
  98. further editing.
  99.  
  100. The Recall keys can also be used to recall the last used macro, 
  101. even if it wasn't entered manually.
  102.  
  103.      1.3.  Enhanced Operation Under CP/M Plus and Z3PLUS.
  104.  
  105. ZDE takes advantage of advanced BDOS error handling to provide 
  106. slightly faster file output under CP/M Plus and Z3PLUS.  In 
  107. addition, file Create stamps are now preserved under CP/M Plus 
  108. based systems as well as ZSDOS and ZDDOS systems.
  109.  
  110.      1.4.  Control-U now Aborts "Delete To" Function.
  111.  
  112. Control-U can now be used to abort a "Delete To" (^QT) operation. 
  113. Previously, ZDE would attempt to delete up to the next literal ^U 
  114. character in the file, often causing frustration.
  115.  
  116.      1.5.  Fully Operational Auto-Indent (^OA).
  117.  
  118. Auto-Indent is useful for typing outlines, structured program 
  119. source code, and other text where the "left margin" varies.  When 
  120. the Insert (^V) toggle is on, Auto-Indent aligns the left margin 
  121. with that of the previous line.  When Insert is off, it causes 
  122. the RETURN key to act differently: RETURN advances the cursor 
  123. past any indentation when moving through a file.
  124.  
  125. When a new line is begun either by wordwrap or reformat (see 
  126. below) or by hitting RETURN with Insert on, Auto-Indent indents 
  127. the following line or lines to equal the previous one.  It does 
  128. this by counting the number of spaces or Hard TABs (whichever 
  129. came first) before the text of the previous line, and indenting, 
  130. wrapping, or reformatting using this number of spaces or Hard 
  131. TABs.  This entails certain possible conflicts, most of which ZDE 
  132. itself automatically prevents:
  133.  
  134. First, if you mix Hard TABs and spaces when indenting a line, AI 
  135. may give strange results, as it will count and use the first 
  136. character only.  For example, if your line is indented as 
  137. <TAB><TAB><SPACE>, AI will indent the next line with <TAB><TAB> 
  138. only.
  139.  
  140. To avoid conflicts, enabling AI sets the left margin to 1, and 
  141. setting the left margin greater than 1 disables AI.  Also, Double 
  142. Spacing (^O S) is disabled by Auto-Indent, and Auto-Indent 
  143. disables Double Spacing.
  144.  
  145. Auto-indent status also now defaults to ON in Nondocument mode, 
  146. and OFF otherwise.
  147.  
  148.      1.6.  Chain to ZCPR Error Handler.
  149.  
  150. ZDE 1.6 will chain to the installed Error Handler under ZCPR 3.4 
  151. with error #12 (TPA overflow) if there was not enough memory for 
  152. ZDE to edit the file you specified on the command line.  ZDE does 
  153. this because the flow of logic in a multiple command line 
  154. sometimes dictates that the editor complete its task before 
  155. succeeding commands are carried out.  For example, I use the 
  156. a multiple command alias similar to the following
  157.  
  158.  ZDE file;echo erase;if in;era file;else;mv file newdir:;fi
  159.  
  160. to process modem capture files.  After processing each file with 
  161. ZDE I generally want either to erase it (if it contained nothing 
  162. worth saving) or move it to another directory.  But on occasion 
  163. the capture file is too large to process with ZDE.  If the script 
  164. were allowed to proceed, it would force me either to erase the 
  165. capture file or move it elsewhere, neither of which would be 
  166. appropriate if I hadn't even looked at its contents yet.
  167.  
  168. This is where Z System's error handler comes it handy: it 
  169. provides a means of dealing with an offending command line before 
  170. unwanted commands cause harm.  When ZDE chains to the error 
  171. handler, I can _edit_ commands beginning with ZDE's invocation, 
  172. either removing unwanted commands or inserting further commands 
  173. as the situation may dictate (it is also possible to abort the 
  174. command or multiple command script altogether).  In the above 
  175. case, I would revise my command line to the following:
  176.  
  177.  NW file;echo erase;if in;era file;else;mv file newdir:;fi
  178.  
  179. By substituting the ZDE command with NW I have invoked NewWord 
  180. for this instance only of the command, which in turn will edit 
  181. the larger file.
  182.  
  183. Without question the finest ZCPR error handler now available is 
  184. Rob Friefeld's ZERR.  There are even provisions within ZERR for 
  185. automatically editing LSH scripts and for automatically chaining 
  186. to transient versions when resident (RCP, CCP) commands fail; all 
  187. of this is described in ZERR13.LBR.
  188.  
  189.      1.7.  Return to Previous Position Command (^QP).
  190.  
  191. This function is basically the same as the WordStar command: 
  192. hitting ^Q-P takes you to the position the cursor was at before 
  193. the previous command (including the ^QP command itself - try 
  194. it!).  For instance, the sequence "^B, ^Q-P" reformats beginning 
  195. with the current line then restores the cursor to its original 
  196. position within the paragraph.  ^Q-P is also useful for moving 
  197. long distances within a file without losing one's place: for 
  198. example you can move to the top of the file with ^Q-R, then come 
  199. back with ^Q-P.
  200.  
  201. Within Macros, the previous cursor location is preserved: ^Q-P 
  202. will always return you to your place in the text BEFORE you 
  203. invoked the Macro.  This not only allows you to resume editing at 
  204. the same location after using Macros; you can also build one or 
  205. more ^Q-P commands into the Macro itself.  See SAMPKEY.* files 
  206. for one example; I'm sure there are lots of other ways to use 
  207. ^Q-P within a Macro.  Thanks to Howard Schwartz for keeping on my 
  208. case about this feature until I finally discovered an easy way to 
  209. implement it.
  210.  
  211.  
  212.      1.8.  Global Find/Replace Option.
  213.  
  214. Besides "B" (backwards search) and "C" (case-sensitive search), 
  215. ZDE now sports a THIRD find/replace option: "G" for Global 
  216. search.  ZDE normally begins your (backward or forward) search at 
  217. the current cursor location.  Specifying "G" causes ZDE to start 
  218. at the BEGINNING of the file when searching forward for strings, 
  219. or at the END when searching backwards.  Otherwise, the search or 
  220. replace command proceeds exactly as it does normally.  The "G" 
  221. option is used in the same way as the other options, by enclosing 
  222. it in slashes as a prefix to the string being searched for (e.g., 
  223. to find "Carson" globally, enter "/gc/Carson" in response to 
  224. ^Q-F's "Find: " prompt).
  225.  
  226.      1.9.  Semicolons are now Characters in Nondocuments.
  227.  
  228. ZDE now counts the ";" (semicolon) character as a normal 
  229. character in "N" mode, whereas it counts the semicolon as a 
  230. punctuation mark in the "W" and "A" modes.  This is mainly of 
  231. interest to assembly language programmers, as the semicolon is 
  232. often used alone to mark the beginnings of comments in source 
  233. code.  Treating the semicolon as a normal character in "N" files 
  234. simply makes it easier to manipulate assembly language comments.  
  235. Thanks to Rob Friefeld for his thoughts on this.
  236.  
  237.  
  238. 2.  BUGS FIXED.
  239.  
  240.      2.1.  More Robust Space Calculation.
  241.  
  242. ZDE's calculation of memory space remaining is now more robust.  
  243. In past versions of ZDE (and VDE), certain editing commands could 
  244. cause a crash when only a few bytes of free memory were 
  245. available (thanks to Rob Friefeld).
  246.  
  247.      2.2.  ZCPR Line Queue Bug Fixed.
  248.  
  249. The ^QQ (go to next line in ZCPR queue) command of previous 
  250. versions of ZDE failed if ZCPR's 16-byte user-defined buffer was 
  251. filled.  Version 1.6 fixes this problem, properly returning to 
  252. the first line in the queue after the last value in has been 
  253. reached.  This allows Turbo Pascal-like interactive programming 
  254. of Z80 assembly language when used under Z System with Al 
  255. Hawley's ZMAC Z80 Macro Compiler ($50 including ZML and ZMLIB; 
  256. contact Al Hawley at Ladera Z-Node, 213/670-9465 (modem), Ladera 
  257. Heights, CA).
  258.  
  259.      2.3.  Other Minor Nuisances Corrected.
  260.  
  261. ZDE now turns alternate video off when placing the cursor at the 
  262. string to change during ^QA prompts.
  263.  
  264. A bug which allowed an extra character or hyphen on the last line 
  265. of a paragraph if the line's length was one character beyond the 
  266. right margin has been fixed (thanks to Larry Schnitger for 
  267. spotting these).
  268.  
  269. A bug which occurred if you set the block end marker to the last 
  270. byte in the file then did a block delete has been fixed (thanks 
  271. to Ben Cohen for finding this).
  272.  
  273. One or more bug(s) which occurred while printing have been 
  274. cleared up.  ZDE should now always give a correct left margin 
  275. with or without a page header or top margin.  The printout is 
  276. also slightly faster when left and top margins are used together.
  277.  
  278. ZDE now always finds strings located exactly at the end of a 
  279. file.
  280.  
  281. When searching with the /c/ option, erroneous results occurred if 
  282. a non-matching string of the same length as the search string 
  283. beginning with the same first character as the search string was 
  284. located at the very end of a file.  This has been fixed.
  285.  
  286. Fixed minor bug in proportional formatting that caused repeated 
  287. ^B commands to give inconsistent results under some 
  288. circumstances.
  289.  
  290. Fixed bug which set margins spuriously if an illegal number was 
  291. entered.  ZDE also now disallows setting margins to zero, which 
  292. caused formatting problems.
  293.  
  294. ^B (reformat) no longer absorbs following commands, allowing ^B 
  295. to be embedded in key redefinitions with SmartKey, etc.
  296.  
  297.  
  298. 3.  INSTALLATION.
  299.  
  300. You MUST use ZDENSTAL 1.6 to install this version of ZDE.  Older 
  301. ZDK and .ZDP files will still work.  Due to extra installation 
  302. codes, .ZDE files created with version 1.0 of ZDE will not work 
  303. with this version of ZDENSTAL.
  304.  
  305.      3.1.  New in ZDENSTAL Version 1.6.
  306.  
  307. The proportional formatting (^OJ) toggle can be disabled with 
  308. ZDENSTAL to allow use of ZDE's proportional spacing table as a 
  309. patch area.  When proportional spacing is disabled, an additional 
  310. 96 bytes of space is released for custom user patching.  ZDENSTAL 
  311. also allows you to set the proportional formatting toggle to ON 
  312. or OFF at startup [this can also be toggled while operating ZDE].
  313.  
  314. ZDENSTAL's "R" option now restores ZDE's proportional spacing 
  315. table to its default (as distributed) values.
  316.  
  317. ZDENSTAL's "F" option now gives the locations of all FIVE key 
  318. definition tables (former versions left out the ESC- table).  The 
  319. "F" option also gives the location of ZDE's proportional spacing 
  320. table for use when patching ZDE.
  321.  
  322. The Osborne 1 and Vixen terminal definitions are now separate due 
  323. to different screen width requirements (thanks to Ben Cohen for 
  324. sorting this out).
  325.  
  326. ZDENSTAL previously would overwrite .ZDK and .ZDP files with the 
  327. wrong information if the .ZDK or .ZDP file had been archived (bit 
  328. 7 of filetype character 3 set).  This problem has been corrected 
  329. in version 1.6.
  330.  
  331. Some ZDENSTAL messages have been improved.
  332.  
  333.  
  334. 4.  USAGE HINTS.
  335.  
  336. The following are just some miscellania that I have picked up 
  337. from using and working on ZDE.
  338.  
  339.      4.1.  Saving Macros to Disk.
  340.  
  341. Under Z System version 3.4, it is possible to "save your work" 
  342. after creating a working Macro.  First, be sure to save your new 
  343. Macros as Macro Keys using ZDE's ESC-# command (see ZDE Manual).  
  344. Then exit ZDE and type
  345.  
  346.  POKE 310 02 50;ZSAVE 310-490 filename.ZDK
  347.  
  348. You have just used Z System's type-4 SAVE program to create a new 
  349. .ZDK file, which can now be examined and installed permanently 
  350. into ZDE with ZDENSTAL, or further revised using ZDKCOM.  [NOTE: 
  351. the addresses and values given above will work for ZDE version 
  352. 1.6, but may change with future versions of ZDE.]
  353.  
  354.      4.2.  Creating a Smaller ZDE.
  355.  
  356. If you are SURE you will never want to enable the Help Menus, you 
  357. can create a slightly smaller copy of ZDE.  First use ZDENSTAL to 
  358. disable ZDE's Help Menus.  Then issue the Z System command,
  359.  
  360.  GET 100 ZDE.COM;ZSAVE 100-3E7F filename.COM
  361.  
  362. This creates a copy of ZDE that is about 1 kilobyte smaller than 
  363. the distributed package, and loads somewhat faster on slower 
  364. systems.  This procedure is specific to ZDE 1.6; do NOT assume 
  365. that it will work on future versions.
  366.  
  367.      4.3.  Using GET and GO with ZDE.
  368.  
  369. Some users have discovered that the Z System GET and GO commands 
  370. can be used to extend ZDE's versatility or save disk space.  
  371. Since the .ZDE, .ZDP, and .ZDK files used by ZDENSTAL are simply 
  372. binary images of various portions of ZDE, you can achieve the 
  373. versatility of having several copies of ZDE without the added 
  374. disk overhead by using Z System commands that "install" one or 
  375. more of ZDENSTAL's files on the fly.
  376.  
  377. For example, if you used ZDE with a particular terminal most of 
  378. the time, but occasionally switched to another terminal that was 
  379. incompatible with the first one, you might want to create a Z 
  380. System Alias which would overlay the default copy of ZDE with 
  381. your second terminal's characteristics at startup.  You could 
  382. achieve this by first using ZDENSTAL to configure ZDE for your 
  383. second terminal, saving the terminal's characteristics into a 
  384. .ZDE file (see the ZDE Manual for details on this).  You would 
  385. then ZDE for your normal terminal, and write an Alias to 
  386. auto-install this copy of ZDE for your occasional terminal on the 
  387. fly:
  388.  
  389.  GET 100 ZDE.COM;GET 180 term2.ZDE;GO $*
  390.  
  391. This command loads the file term2.ZDE over ZDE before proceeding, 
  392. providing a temporary copy of ZDE that works with your second 
  393. terminal.
  394.  
  395. This approach can also be used to generate "virtual" copies of 
  396. ZDE with different printer codes and Macro Key definitions.  The 
  397. addresses of the various overlays for ZDE version 1.6 are:
  398.  
  399.      180 hex   - Terminal codes   (.ZDE files)
  400.      1F0 hex   - Printer codes    (.ZDP files)
  401.      310 hex   - Macro Keys       (.ZDK files)
  402.  
  403. [These addresses may well change in future versions of ZDE.]
  404.  
  405. Obviously, this involves some "homework:" if you get the 
  406. addresses wrong or use an incompatible .ZDx file (from a previous 
  407. version of ZDE, for example), you will likely cause yourself 
  408. grief.  For these reasons I generally recommend simply creating 
  409. multiple copies of ZDE.  But under some circumstances (e.g., 
  410. laptop computer with limited disk or ROM space) this approach may 
  411. be quite rewarding.
  412.  
  413.  
  414. 5.  DEVELOPMENT HISTORY.
  415.  
  416. ZDE is a descendant of Eric Meyer's famous VDE (Video Display 
  417. Editor) program for CP/M.  In 1988, Eric produced his final 
  418. version of VDE for CP/M (2.66).  Eric now maintains VDE for 
  419. MS-DOS only; ZDE continues VDE's evolution on Z80 systems.  ZDE 
  420. removes many of the CP/M VDE's defects and adds such features as 
  421. support for ZCPR, ZSDOS, and CP/M Plus, improved terminal and 
  422. disk I/O performance, proportional formatting, file datestamp 
  423. support, and improved installation.  Meanwhile, the MS-DOS 
  424. version of VDE has continued to evolve, now boasting multiple 
  425. file buffers, auto-save, auto-number, and much more.  VDE for 
  426. MS-DOS is available on computer bulletin boards (including 
  427. Antelope Freeway; see below) as VDE152.ZIP.
  428.  
  429.  
  430. 6.  FURTHER INFORMATION.
  431.  
  432.      6.1.  About Z System.
  433.  
  434. If you are using CP/M equipment, you have probably heard of Z 
  435. System.  Basically this is a downward compatible replacement for 
  436. the system software distributed with Z80 CP/M equipment.  By 
  437. utilizing Z80 opcodes and advanced design techniques, the authors 
  438. of Z System have expanded the versatility of the CP/M operating 
  439. system far beyond its original limitations.  To learn more about 
  440. Z System, log into the bulletin board listed below, or contact 
  441. one of the following:
  442.  
  443.      Plu*Perfect Systems        Sage Microsystems East
  444.      410 23rd St.               1435 Centre St.
  445.      Santa Monica, CA 90402     Newton Centre, MA 02159-2469
  446.      (213)-393-6105 (eves.)     (617)-965-3552 (9am-11pm)
  447.  
  448.      6.2.  About the Author
  449.  
  450. First, let me take this opportunity to thank the community of 
  451. users without whose support this version of ZDE would not have 
  452. been possible.  You have made ZDE what it is through your 
  453. generous contributions of time and/or money.  Without those who 
  454. appreciate (and criticize) my work I doubt I could justify the 
  455. time and energy I've spent on ZDE.  In addition, many of the 
  456. improvements and bug fixes in version 1.6 result directly from 
  457. specific comments and insights by users.  Please continue to 
  458. share your thoughts and experiences with ZDE; I'm listening.
  459.  
  460. I am a doctoral student trying to keep from starving while 
  461. working on my dissertation in Political Science at Loyola 
  462. University of Chicago.  I am a coauthor of ZSDOS, a commercial 
  463. replacement for the BDOS portion of CP/M, and have authored 
  464. numerous CP/M and Z System programs.  My interests include 
  465. computer programming, telecommunications, the Soviet Union, 
  466. Political Theory, and bicycling (not necessarily in that order).  
  467. I am also looking for part- or full-time work.  To this end I am 
  468. skilled in political analysis, know the Russian language and the 
  469. Z80, C, BASIC, and Pascal computer languages, and have 
  470. comprehensive knowledge of CP/M and Z System and working 
  471. knowledge of Unix and MS-DOS.  If you know of a gainful opening 
  472. in the computer field, I would like to hear from you.
  473.  
  474. Among other things I operate the Antelope Freeway Remote Access 
  475. Systems for CFOG, Chicago's First Osborne Group.  These dual 
  476. remote systems are available at the same number, 312/764-5162, 
  477. Chicago.  Antelope 1 covers CP/M and Z System while Antelope 2 is 
  478. dedicated to MS-DOS support.  The best way to contact me is 
  479. through this board.  Registration is free.  If you are not a 
  480. registered member, you can leave me a note as part of your 
  481. application.
  482.  
  483. Alternatively, my mailing address is:
  484.  
  485.      1359 W. Greenleaf, #1D
  486.      Chicago, IL 60626
  487.      USA
  488.  
  489.      6.3.  Pre-Printed Manuals.
  490.  
  491. As I mentioned above, I don't plan to reissue the ZDE manuals 
  492. with the library while ZDE is still in development.  For those 
  493. who wish an updated manual and/or wish to support ZDE, I offer 
  494. instead a pre-printed 40-page User's Manual and Installation 
  495. Guide with Table of Contents and Index, postpaid, for those who 
  496. make contributions of $6 or more to support further development 
  497. of ZDE.
  498.