On 2026-10-19 13:08, steve g wrote:
> Anthony Howe <acho…@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
acho…@snert.com BarricadeMX & Milters
http://nanozen.snert.com/ https://github.com/SirWumpus