home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / archives / 2953 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  11.3 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!agate!cs.ubc.ca!yogi
  2. From: yogi@cs.ubc.ca (Yossi Gil)
  3. Newsgroups: comp.archives
  4. Subject: [comp.editors] TERSE -- the 4K editor; version 1.4
  5. Followup-To: comp.editors
  6. Date: 24 Jul 1992 09:50:08 GMT
  7. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  8. Lines: 230
  9. Approved: adam@soda.berkeley.edu
  10. Distribution: world
  11. Message-ID: <14ojogINN8ja@agate.berkeley.edu>
  12. References: <1992Jul24.045508.25512@cs.ubc.ca>
  13. NNTP-Posting-Host: soda.berkeley.edu
  14. Summary: Announcing the release of TERSE version 1.4
  15. X-Original-Newsgroups: comp.editors
  16. X-Original-Date: Fri, 24 Jul 92 04:55:08 GMT
  17.  
  18. Archive-name: auto/comp.editors/TERSE-the-4K-editor-version-1-4
  19.  
  20. Version 1.4 of the TERSE editor, the 4096 bytes editor for all PC
  21. compatibles, is now available for anonymous FTP download from cs.ubc.ca
  22. (IP 137.82.8.5):
  23.  
  24. /ftp/pickup/terse/trs140f.zip   The full distribution:    ~175K
  25. /ftp/pickup/terse/trs140a.zip   An abridged distribution:  ~27K
  26.  
  27. The full distribution includes version 0.9 of the SLIM editor, a bigger
  28. brother to TERSE. (If you don't know what TERSE and SLIM are, read on.)
  29.  
  30. As usual this version represents even more code squeezing. The main
  31. changes are:
  32.  
  33.     1. Greatly enhanced SLIM. Many gizmos. My favourite is ``pump
  34.        block thru external filter'', with undo to that. Think of the
  35.        possibilities: formatting, spelling, word counting, sorting, 
  36.        sed and awk, DOS and 4DOS commands etc. 
  37.  
  38.     2. Availability of the source code with registration. This will
  39.        give you an opportunity to examine all the dirty tricks I used 
  40.        to save a byte or two, and perhaps suggest some of your own. 
  41.  
  42.     3. Better input handling when reading user's response to prompts. 
  43.  
  44.     4. Many utility programs, auxiliary batch files and
  45.        UNIX like filters.
  46.  
  47.     5. Some (minor ?) bug fixes. 
  48.  
  49.     6. Enhanced configuration utilities.
  50.  
  51.     7. Better default key bindings for the palmtop version (H.COM).
  52.  
  53. If you are experiencing problems downloading these files (cs.ubc.ca is
  54. picky for no real reason sometimes), or if you don't have FTP access,
  55. please drop me a line and I will e-mail to you whichever distribution
  56. you are interested in. The full distribution is sent out in 4 parts of
  57. about 1000 uuencoded lines each. The abridged distribution (basically
  58. just the TERSE editor and the manual) goes in one part of about 600
  59. uuencoded lines.  
  60.  
  61. I try to reply to all mail messages within a few days. If you don't
  62. get what you have requested within a week, send again, perhaps using
  63. another route, and include alternate reply addresses in your message. 
  64. If you don't know what TERSE and SLIM are, read on. 
  65.  
  66.  
  67. TERSE and SLIM
  68. ==============
  69. TERSE is a tiny (only 4096 bytes) but amazingly powerful full-screen
  70. editor for files of up to 64K in length. TERSE runs on all PC compatible
  71. machines. Its command keys are very similar to those of the famous BRIEF
  72. editor (by UnderWare Inc.). TERSE can edit both UNIX and MS-DOS style text
  73. files as well as binary files. No hacker's disk is complete without it.
  74. No disk, be it hard or floppy, is too full to include it.
  75.  
  76. TERSE is free (but copyrighted) to private users. However, if you use
  77. TERSE for any commercial application, i.e., in your company, at work,
  78. etc., or make money from selling software or distributing shareware,
  79. you are *required* to register your copy of TERSE. Registration cost is
  80. only $15 and will buy you a personalized version, configuration utilities
  81. and grant your institution a site license. For an additional payment of
  82. only $5, you will get the source code of TERSE.
  83.  
  84. SLIM is a big brother of TERSE. It can do anything TERSE can, and a lot
  85. more, including:  "read file into buffer" command, "switch to another
  86. file" command <Alt-E>, "go to line number" command <Alt-G>,  "set right
  87. margin" command <Alt-M>, "swap cursor and mark" command <Shift-Tab>,
  88. "pump block thru external filter" command <Alt-F>,  "exchange marked block
  89. with paste buffer" command <Keypad *>, "right margin set" command <Alt-M>
  90. and word wrap, and display of the hexadecimal value of the current char
  91. in the status line.
  92.  
  93. Many features can be easily added to SLIM by virtue of the "pump block
  94. thru buffer (bound to the <Alt-F> key) command. Word counting, date
  95. and time stamping, formatting, sorting, column summation, character
  96. sets conversions are just a few examples.  Sophisticated users should
  97. probably get copy of a DOS port of the famous UNIX 'sed' and 'awk',
  98. and harness their power to enhance SLIM.  The effects of the extenal
  99. filter can be undone by using "exchange marked block with paste buffer"
  100. (bound to the <Keypad *> key).
  101.  
  102.  
  103. Highlights
  104. ==========
  105.  o  Very small: fits in 4096 bytes = 4 clusters on 5.25"/3.5" floppies.
  106.  o  Minimal free memory requirements: 137KB.
  107.  o  Use current screen size, including the most common 80x25 screen
  108.     dimensions but also unusual sizes such as 40x16, 40x25, 40x40,
  109.     40x50, 132x25, 132x43, 96x33, 80x30, 80x33, etc.
  110.  o  Fully DESQview (version 2.0 and above) aware.
  111.  o  Edit binary files. TERSE is ideal for a quick and dirty job
  112.     of patching strings in small executables.
  113.  o  Supports editing of UNIX style files (lines terminated with '\n').
  114.  o  Supports both '/' and '\' as directory separator.
  115.  o  Edit lines of unlimited length (limited only by file size).
  116.  o  Automatic unlimited horizontal scrolling.
  117.  o  Status line indicating: current column, current line, horizontal
  118.     scrolling, total number of lines, file name, modified status and
  119.     insert/overwrite status.
  120.  o  BRIEF-like keyboard configuration.
  121.  o  Support for TABS, and configurable tab positions.
  122.  o  Prevents snow when run on a CGA screen.
  123.  o  CUT, COPY and PASTE
  124.  o  SEARCH, SEARCH again, and TRANSLATE commands.
  125.  o  Safe: will confirm exits when text is not saved.
  126.  o  Edit files whose name contains spaces and other weird names.
  127.  
  128. Requirements
  129. =============
  130.  o  PC-DOS/MS-DOS version 2.0 or higher
  131.  o  137KB free memory (more for the Alt-F and Alt-Z commands to work) 
  132.  o  64KB free disk space
  133.  
  134.  
  135. New in version 1.4
  136. ==================
  137. 1) The source code of TERSE is now made available to the public for a
  138.    very modest registration fee of $20: $15 for the basic registration,
  139.    and an additional $5 for the source code.
  140.  
  141. 2) The pre-release of SLIM was greatly enhanced. SLIM can do every
  142.    thing TERSE can, and has the following additional features:
  143.  
  144.    o  "read file into buffer" command <Alt-R>
  145.    o  "switch to another file" command <Alt-E>, 
  146.    o  "go to line number" command <Alt-G>, 
  147.    o  "set right margin" command <Alt-M>,
  148.    o  "swap cursor and mark" command <Shift-Tab>, 
  149.    o  "pump block thru external filter" command <Alt-F>, 
  150.    o  "exchange marked block with paste buffer"  command <Keypad *>, and 
  151.    o   display of the hexadecimal value of the current char in the
  152.        status line.
  153.  
  154.    The current char display uses a special notation for the TAB, EOF
  155.    and CR characters as well as for the CRLF combination.
  156.  
  157. 3) Whenever TERSE prompts you for an input it will also offer your
  158.    previous input to the same prompt as a default response string. For
  159.    example, upon pressing <Alt-S>, TERSE will display the prompt "Search
  160.    for: " in the status line, and will offer your previous response
  161.    to the prompt "Search for: ". You can use this previous response
  162.    unchanged (hit <ENTER>) or you can delete characters from it (use the
  163.    <Backspace> key) or you can add characters to it (hit any arrow key,
  164.    and start adding characters. If you immediately start typing a new
  165.    entry, the default string is deleted and replaced by what you type.
  166.    Hitting the <Ctrl-U> key (settable in the configuration utilities)
  167.    will delete all the currently entered response. (13 bytes squeezed in.)
  168.  
  169. 4) Several external filters are now included in the unabridged
  170.    distribution. These utilities are intended to be used in conjunction
  171.    with the "pump block thru external filter" command.  These filters
  172.    include among others: 'cat', 'wc', 'lf', 'crlf', 'quote' and 'nfmt'.
  173.    With the exception of 'nfmt', the registration of TERSE includes
  174.    registration of all of these programs.
  175.  
  176. 5) Several useful utilities are now included with in unabridged
  177.    distribution. These utilities include among others the following
  178.    programs: 'esc', 'lptstat', 'bigc', 'litc'. The registration of TERSE
  179.    includes registration of all of these utilities.
  180.  
  181. 6) A pre-release of TERSE for the HP 95lx palmtop (named h.com) is
  182.    now included in the unabridged distribution. This program, together
  183.    with the option in the configuration utilities to set the file size
  184.    replaces WEE. The key binding of H.COM is slightly different than
  185.    that of TERSE and SLIM, to support the keyboard of the HP 95lx.
  186.  
  187. 7) The font loader and the fonts used for editing binary files are
  188.    now included in the unabridged distribution.
  189.  
  190. 8) The configuration utilities have been enhanced. Among other
  191.    things, more control of the status line attributes was added and
  192.    more options of automatic horizontal scroll. Thanks to Mike Bessy
  193.    (from JP Soft- ware) <75300.1215@compuserve.com> and to Terry Chan
  194.    <echan@chinug.acns.nwu.edu> for suggesting some of these changes.
  195.  
  196. 9) The distribution of TERSE now includes a batch file to assist
  197.    in invoking the editor on several files. An .BTM file for setting
  198.    appropriate aliases in 4DOS is included as well.
  199.  
  200. 10) Many of the documentation and configuration utilities
  201.    typos have been corrected. Special thanks to Joan Abarbanel
  202.    <abraban@taunivm.tau.ac.il> for her careful proofreading of a previous
  203.    version of this file. Terry Chan <echan@chinug.acns.nwu.edu> did a
  204.    great job of pointing out to me errors and typos in the configuration
  205.    utilities as well as in the documentation. [Note that I still take
  206.    the credit and blame for all remaining errors which have not yet been
  207.    found and corrected.]
  208.  
  209. 11) The following scenario used to create a file of length 0:
  210.  
  211.     T newfile
  212.     <Alt-Q>
  213.  
  214.    This bug has been fixed. Thanks to the many kind users who brought
  215.    this bug to my attention. (4 bytes of code added.)
  216.  
  217. 12) TERSE recognizes and parses correctly file names which include
  218.    dots in them (e.g., ..\..\file.dat). Previously, such files would
  219.    not be saved. (20 bytes code squeezed in.)
  220.  
  221. 13) TERSE can now read files of size 65,535 exactly. Previously,
  222.    files of this size could be created by TERSE, but not read by it.
  223.    (4 bytes code squeezed in.)
  224.  
  225. 14) Eliminated several bugs related to the display of the help screen,
  226.    including the misalignment when ANSI console driver was present,
  227.    eliminated. (12 bytes gained.)
  228.  
  229. 15) Eliminated a bug which could have caused TERSE to hang after
  230.    pushing to DOS version 2.x. (4 bytes code squeezed in.)
  231.  
  232. 16) Terse now beeps whenever a save file attempt fails. Previously, the
  233.    only indication of such an error was that the "Write successful"
  234.    message didn't appear. (2 bytes code squeezed in.)
  235.  
  236. --
  237. Joseph (Yossi) Gil                 {alberta,uw-beaver,uunet}!ubc-cs!yogi
  238. Dept. of Computer Science          yogi@cs.ubc.ca (cs.ubc.ca=137.82.8.5)
  239. 6356 Agricultural Road., Univ. of B.C.,             Tel: +1-604-822-8175
  240. Vancouver, British Columbia, V6T 1Z2, Canada.       Fax: +1-604-822-5485
  241.  
  242. --
  243. Joseph (Yossi) Gil                 {alberta,uw-beaver,uunet}!ubc-cs!yogi
  244. Dept. of Computer Science          yogi@cs.ubc.ca (cs.ubc.ca=137.82.8.5)
  245. 6356 Agricultural Road., Univ. of B.C.,             Tel: +1-604-822-8175
  246. Vancouver, British Columbia, V6T 1Z2, Canada.       Fax: +1-604-822-5485
  247.  
  248.