From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25788 invoked from network); 2 Apr 2021 22:42:07 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 2 Apr 2021 22:42:07 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 9F13C9CA4F; Sat, 3 Apr 2021 08:41:56 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id D51DB9C883; Sat, 3 Apr 2021 08:40:54 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id B9F8E9C641; Sat, 3 Apr 2021 08:40:50 +1000 (AEST) Received: from nsstlmta17p.bpe.bigpond.com (nsstlmta17p.bpe.bigpond.com [203.38.21.17]) by minnie.tuhs.org (Postfix) with ESMTPS id 66FAB9C63F for ; Sat, 3 Apr 2021 08:40:49 +1000 (AEST) Received: from smtp.telstra.com ([10.10.24.4]) by nsstlfep17p-svc.bpe.nexus.telstra.com.au with ESMTP id <20210402224047.IZYD26653.nsstlfep17p-svc.bpe.nexus.telstra.com.au@smtp.telstra.com> for ; Sat, 3 Apr 2021 09:40:47 +1100 X-RG-Spam: Unknown X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeduledrudeijedguddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuuffpveftpgfvgffnuffvtfetpdfqfgfvnecuuegrihhlohhuthemucegtddtnecunecujfgurhepfffhvffujgfkfhgfgggtsehmtddtredtreejnecuhfhrohhmpeffrghvvgcujfhorhhsfhgrlhhluceouggrvhgvsehhohhrshhfrghllhdrohhrgheqnecuggftrfgrthhtvghrnhepieegteeivdevfeffudekhfegleduveejkedtgfefudekhfekleelvdejheetfeefnecukfhppeduuddtrddugedurdduleefrddvfeefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheprghnvghurhhinhdrhhhorhhsfhgrlhhlrdhorhhgpdhinhgvthepuddutddrudeguddrudelfedrvdeffedpmhgrihhlfhhrohhmpeeouggrvhgvsehhohhrshhfrghllhdrohhrghequceuqfffjgepkeeukffvoffkoffgpdhrtghpthhtohepoehtuhhhshesthhuhhhsrdhorhhgqe X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-RG-VS-CLASS: clean Received: from aneurin.horsfall.org (110.141.193.233) by smtp.telstra.com (5.8.420) id 5FE6CD141BFF6CB3 for tuhs@tuhs.org; Sat, 3 Apr 2021 09:40:47 +1100 Received: from aneurin.horsfall.org (localhost [127.0.0.1]) by aneurin.horsfall.org (8.15.2/8.15.2) with ESMTP id 132MekGt033283 for ; Sat, 3 Apr 2021 09:40:46 +1100 (EST) (envelope-from dave@horsfall.org) Received: from localhost (dave@localhost) by aneurin.horsfall.org (8.15.2/8.15.2/Submit) with ESMTP id 132Mej0S033280 for ; Sat, 3 Apr 2021 09:40:46 +1100 (EST) (envelope-from dave@horsfall.org) X-Authentication-Warning: aneurin.horsfall.org: dave owned process doing -bs Date: Sat, 3 Apr 2021 09:40:45 +1100 (EST) From: Dave Horsfall To: The Eunuchs Hysterical Society In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) X-GPG-Public-Key: http://www.horsfall.org/gpgkey.pub X-GPG-Fingerprint: 05B4 FFBC 0218 B438 66E0 587B EF46 7357 EF5E F58B X-Home-Page: http://www.horsfall.org/ X-Witty-Saying: "chmod 666 the_mode_of_the_beast" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1483753691-184234960-1617403246=:23232" Subject: Re: [TUHS] Data structures in Unix editors X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1483753691-184234960-1617403246=:23232 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT 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 --1483753691-184234960-1617403246=:23232--