home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk1.iso / altsrc / articles / 11165 < prev    next >
Text File  |  1994-08-23  |  3KB  |  78 lines

  1. Newsgroups: comp.editors,alt.sources,comp.misc,comp.unix.misc,comp.mail.misc,comp.unix.admin
  2. Path: wupost!psuvax1!news.ecn.bgu.edu!news.cts.eiu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!uunet!world!jhallen
  3. From: jhallen@world.std.com (Joseph H Allen)
  4. Subject: Re: JOE 1.0.12 - Blurb
  5. Message-ID: <Cv0B4q.EDu@world.std.com>
  6. Organization: The World Public Access UNIX, Brookline, MA
  7. References: <Cur3x5.A95@world.std.com>
  8. Date: Tue, 23 Aug 1994 21:17:13 GMT
  9. Lines: 66
  10. Xref: wupost comp.editors:12753 alt.sources:11165 comp.misc:21546 comp.unix.misc:16386 comp.mail.misc:17548 comp.unix.admin:26729
  11.  
  12. In article <Cur3x5.A95@world.std.com>,
  13. Joseph H Allen <jhallen@world.std.com> wrote:
  14. >
  15. >                           Joe's Own Editor 1.0.12
  16.  
  17. The latest version is now 1.0.13: please wait until that appears in the ftp
  18. directory before getting joe.
  19.  
  20. Version 1.0.13 includes fixes for these bugs:
  21.  
  22. - A long sequence of searches or a search & replace with a lot of
  23.   replacements would cause the editor to exit and display an 'Out of memory'
  24.   message.
  25.  
  26. - If you deleted characters on a long line on a terminal which has a delete
  27.   character command, spaces would someimtes be shifted in place of some of
  28.   the characters.
  29.  
  30. - If you hit SPACE BACKSPACE RETURN on an otherwise empty prompt line, the
  31.   editor would hang.
  32.  
  33. - If you typeahead a bunch of returns as the editor is starting, they would
  34.   be converted to ^Js by the tty, which is the kill-line function in joe.
  35.  
  36. - When a backup file is created, any existing file of the same name is first
  37.   deleted.  This fixes a problem when joe is being used for ELM- other
  38.   people's backup files in the /tmp directory would prevent you from saving
  39.   your own file.  This is also useful when root edits a file in some user's
  40.   account.  The user wouldn't then be able to save his file because joe
  41.   couldn't write to root-owned backup file.
  42.  
  43. Also these improvements to the search & replace system were made:
  44.  
  45. The wildcard \* now will not cross line boundaries.  This ends up being more
  46. useful.
  47.  
  48. \+ now tries to make the longest possible match, instead of the shortest. 
  49. This is much more intuitive:
  50.  
  51.     \[A-Za-z_]\+\[A-Za-z0-9_]  is all that's needed to match C
  52.                                    identifiers.  It used to be:
  53.  
  54.     \[A-Za-z_]\+[A-Za-z0-9_]\[^A-Za-z0-9_]
  55.  
  56. \* still makes the shortest possible match though.  \c (like \*- but don't
  57. stop in balanced expressions) should be used in 99% of all cases you needed
  58. \* to make a longed match.
  59.  
  60. A full set of backslash escape sequnces is now available for search:
  61.  
  62.     \a, \n, \r, \b, \t, \e, \f
  63.  
  64.     match ascii: BEL, LF, CR, BS, TAB, ESC, FF.
  65.  
  66.     \377        Octal
  67.     \xFF        Hex
  68.  
  69.     Can be used to match a character with specific ASCII code given in
  70. octal or hex.
  71.  
  72. The escape sequences can be used inside of \[...] as well.
  73. -- 
  74. /*  jhallen@world.std.com (192.74.137.5) */               /* Joseph H. Allen */
  75. int a[1817];main(z,p,q,r){for(p=80;q+p-80;p-=2*a[p])for(z=9;z--;)q=3&(r=time(0)
  76. +r*57)/7,q=q?q-1?q-2?1-p%79?-1:0:p%79-77?1:0:p<1659?79:0:p>158?-79:0,q?!a[p+q*2
  77. ]?a[p+=a[p+=q]=q]=q:0:0;for(;q++-1817;)printf(q%79?"%c":"%c\n"," #"[!a[q-1]]);}
  78.