🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #3006

Re: JOE 1.0.12 - Blurb

#3006
From: Joseph H Allen
Date: Tue, 23 Aug 1994 21:17
66 lines
3170 bytes
In article <Cur3x5.A95@world.std.com>,
Joseph H Allen <jhallen@world.std.com> wrote:
>
>                           Joe's Own Editor 1.0.12

The latest version is now 1.0.13: please wait until that appears in the ftp
directory before getting joe.

Version 1.0.13 includes fixes for these bugs:

- A long sequence of searches or a search & replace with a lot of
  replacements would cause the editor to exit and display an 'Out of memory'
  message.

- If you deleted characters on a long line on a terminal which has a delete
  character command, spaces would someimtes be shifted in place of some of
  the characters.

- If you hit SPACE BACKSPACE RETURN on an otherwise empty prompt line, the
  editor would hang.

- If you typeahead a bunch of returns as the editor is starting, they would
  be converted to ^Js by the tty, which is the kill-line function in joe.

- When a backup file is created, any existing file of the same name is first
  deleted.  This fixes a problem when joe is being used for ELM- other
  people's backup files in the /tmp directory would prevent you from saving
  your own file.  This is also useful when root edits a file in some user's
  account.  The user wouldn't then be able to save his file because joe
  couldn't write to root-owned backup file.

Also these improvements to the search & replace system were made:

The wildcard \* now will not cross line boundaries.  This ends up being more
useful.

\+ now tries to make the longest possible match, instead of the shortest. 
This is much more intuitive:

	\[A-Za-z_]\+\[A-Za-z0-9_]  is all that's needed to match C
                                   identifiers.  It used to be:

	\[A-Za-z_]\+[A-Za-z0-9_]\[^A-Za-z0-9_]

\* still makes the shortest possible match though.  \c (like \*- but don't
stop in balanced expressions) should be used in 99% of all cases you needed
\* to make a longed match.

A full set of backslash escape sequnces is now available for search:

	\a, \n, \r, \b, \t, \e, \f

	match ascii: BEL, LF, CR, BS, TAB, ESC, FF.

	\377		Octal
	\xFF		Hex

	Can be used to match a character with specific ASCII code given in
octal or hex.

The escape sequences can be used inside of \[...] as well.
-- 
/*  jhallen@world.std.com (192.74.137.5) */               /* Joseph H. Allen */
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)
+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
]?a[p+=a[p+=q]=q]=q:0:0;for(;q++-1817;)printf(q%79?"%c":"%c\n"," #"[!a[q-1]]);}
Technical Details
Message-ID: <Cv0B4q.EDu@world.std.com>
Path: arc1-ca.pugleaf.net!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
References: <Cur3x5.A95@world.std.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.editors,alt.sources,comp.misc,comp.unix.misc,comp.mail.misc,comp.unix.admin
Path: arc1-ca.pugleaf.net!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
From: jhallen@world.std.com (Joseph H Allen)
Subject: Re: JOE 1.0.12 - Blurb
Message-ID: <Cv0B4q.EDu@world.std.com>
Organization: The World Public Access UNIX, Brookline, MA
References: <Cur3x5.A95@world.std.com>
Date: Tue, 23 Aug 1994 21:17:13 GMT
Lines: 66