🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #28

Re: Editor design & Buffer Gap

#28
From: Anthony Howe
Date: Tue, 20 Oct 2026 18:12
40 lines
3251 bytes
On 2026-10-19 13:08, steve g wrote:
> Anthony Howe <achowe@snert.com> writes:

>> Terminal Difference algorithms are related to Edit Distance / Longest Common
>> Subsequence algorithms - think `diff(1)`.  There is a paper from Bill Joy on
>> Curses and some other papers related to terminal Edit Distance/LCS I obtained
>> when working on MKS Curses (buried on my book shelf).
> 
> yeah, but building the matrix is not easy, especially when the person is
> currently typing.

Given other commentators, I may have mis-attibuted a paper to Bill Joy (again I 
think its in the bowls of my bookshelf, which I didn't fish out ensure 
correctness).

>> There are books "Software Tools in PASCAL" by Kernigan & Plauger ISBN
>> 0-201-103342-7 and "A Software Tools Sampler" by Web Miller ISBN 0-13-822305-X
>> that cover editors.  The latter also covers terminal updating for an editor
>> (Edit Distance/LCS).  See also `diff(1)` and my IOCCC 2015 `npdif(1)` also
>> cover Edit Distance/LCS (I supply several References in the documentation to
>> papers).
> 
> 
> YES! New Books! Thank you!

Enjoy. Software Tools In PASCAL might be less interesting, but it showed me a 
wonder routine to use 3 moves (memmove) to insert into an array in-place. (may 
the other book); but there are little gems like that.

> Thank you for the descent conversation and my new books that are now
> being shipped by amazon, thank you for the recommendations.

Glad to have been of help.  Editors were a pet interest of mine for a long 
while.  Its been said some where that its of a right of passage to build your 
own editor (like a light sabre).

-- 
Anthony C Howe
achowe@snert.com                              BarricadeMX & Milters
http://nanozen.snert.com/              https://github.com/SirWumpus
Technical Details
Message-ID: <11b8au7$38n6v$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <slrn1184atm.1fe.zaydm@new.localdomain> <115tgk1$hmg2$2@kst.eternal-september.org> <1hEgS.428964$DOD1.142122@fx17.ams4> <11ag1j1$2lam4$1@dont-email.me> <87se2aeguh.fsf@gmail.com> <11b25hh$11ann$1@dont-email.me> <8733u1wrcf.fsf@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Anthony Howe <achowe@snert.com>
Newsgroups: comp.editors
Subject: Re: Editor design & Buffer Gap
Date: Tue, 20 Oct 2026 14:12:22 -0400
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <11b8au7$38n6v$1@dont-email.me>
References: <slrn1184atm.1fe.zaydm@new.localdomain>
 <115tgk1$hmg2$2@kst.eternal-september.org>
 <1hEgS.428964$DOD1.142122@fx17.ams4> <11ag1j1$2lam4$1@dont-email.me>
 <87se2aeguh.fsf@gmail.com> <11b25hh$11ann$1@dont-email.me>
 <8733u1wrcf.fsf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 20 Oct 2026 18:12:24 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3431647"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+gDEJG/XPSbeT577bsErfP"; posting-host="f6fb7bd7337414a033c8a68fba08e425"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:I+UL9kHXwTNqDAg+FiZIm2F7m6Q= sha256:ZquTWFMoZagaZxXKU9dRcMkQwxEFR67NeIZN7VZCIkY=
	sha1:jajmI6LUWa7iQkuGmFx8uSKlnk0= sha256:A05k6mHqaGtRU7L2BRogODLnHAD5Re8qWL5bAtjYcbI=
Content-Language: en-GB, fr
In-Reply-To: <8733u1wrcf.fsf@gmail.com>