The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Dave Horsfall <dave@horsfall.org>
To: The Eunuchs Hysterical Society <tuhs@tuhs.org>
Subject: Re: [TUHS] Data structures in Unix editors
Date: Sat, 3 Apr 2021 09:40:45 +1100 (EST)	[thread overview]
Message-ID: <alpine.BSF.2.21.9999.2104030937320.23232@aneurin.horsfall.org> (raw)
In-Reply-To: <CAD2gp_T3O2nUPae0gcAoq++ha01fkK-DcoG3LueA3UFkPrTRSg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 690 bytes --]

On Thu, 1 Apr 2021, John Cowan wrote:

[ Me thinking of using BDB for editor data structures ]

> I'd use SQLite nowadays, because it takes extraordinary care to make 
> sure that no data is lost short of disk failure.  It is considerably 
> more robust than the underlying filesystem, and runs embedded in its 
> process.  It also means you can readily carry about arbitrary data in 
> additional columns; for example, you could make line marks persistent, 
> including dot.

Good point; thanks.  I'd forgotten about SQLite...  I doubt if I'll be 
writing a new editor any time soon though (VI works just fine) but was 
planning on incorporating it in a project I'm working on.

-- Dave

  reply	other threads:[~2021-04-02 22:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-31 17:39 David C. Brock
2021-03-31 18:07 ` arnold
2021-03-31 18:23   ` Richard Salz
2021-03-31 18:20 ` Lars Brinkhoff
2021-03-31 18:49 ` Bakul Shah
2021-04-01 12:56 ` Tony Finch
2021-04-01 14:24   ` Richard Salz
2021-04-01 21:25   ` Dave Horsfall
2021-04-01 21:32     ` John Cowan
2021-04-02 22:40       ` Dave Horsfall [this message]
2021-04-02 23:20         ` Adam Thornton
2021-04-03  0:34           ` Jon Forrest
2021-04-05 23:23   ` Mary Ann Horton
2021-04-01 20:12 Noel Chiappa
2021-04-01 20:57 ` John Cowan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.BSF.2.21.9999.2104030937320.23232@aneurin.horsfall.org \
    --to=dave@horsfall.org \
    --cc=tuhs@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).