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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12657 invoked from network); 5 Nov 2022 01:03:26 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 5 Nov 2022 01:03:26 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 31F4341DDD; Sat, 5 Nov 2022 11:02:51 +1000 (AEST) Received: from mcvoy.com (mcvoy.com [192.169.23.250]) by minnie.tuhs.org (Postfix) with ESMTPS id F170C41DDC for ; Sat, 5 Nov 2022 11:02:47 +1000 (AEST) Received: by mcvoy.com (Postfix, from userid 3546) id 83C3935E0B5; Fri, 4 Nov 2022 18:02:47 -0700 (PDT) Date: Fri, 4 Nov 2022 18:02:47 -0700 From: Larry McVoy To: Dave Horsfall Message-ID: <20221105010247.GG29525@mcvoy.com> References: <7b249e68-de74-2c81-32b0-18ecb74a85ec@aueb.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Message-ID-Hash: MRDKHBL5IFCHAK3RTWFEX5UKDAAODYJB X-Message-ID-Hash: MRDKHBL5IFCHAK3RTWFEX5UKDAAODYJB X-MailFrom: lm@mcvoy.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tuhs.tuhs.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: The Eunuchs Hysterical Society X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: vi in cooked mode? List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Sat, Nov 05, 2022 at 11:45:26AM +1100, Dave Horsfall wrote: > A boss of mine insisted that everyone had to learned "ed", because after = a=20 > system crash it might be the only editor available; that, or having to=20 > dial in over a slow modem. Same. Though vi in ex mode was also good. I also got a little corrupted by whatever editor came with BDS C, my=20 =2Eexrc looks like this: map # :.,$ map @ :1,. Those came from that editor, # says do whatever to the end of the file, @ says do whatever from the top of the file to here. map , !}fmt=0D This came from Udi Manber, , runs your paragraph through fmt map! =01 =14 I set shiftwidth to 4 spaces because when you have code like if ((this big thing =3D=3D that big thing) && (this other big thing) && (yet another big thing)) { I use 4 spaces for what I call the continuation line. I used ^A to write that example, why I don't like ^T is lost to me. And yeah, I paren stuff that doesn't need to have parens, it just makes the code more obvious. set redraw ai aw terse=20 redraw I think is left over from modems, autoident because duh,=20 autowrite because who doesn't hack, hack, hack, ^Z, !cc? terse because I'm not a newbie. set sections=3DuhshSHNH set paragraphs=3DPSPETSTEFSFEKSKECSCERSREDSDEIPNPLPPPTLABAIAELIB1B2HH Troff. set ts=3D8 sw=3D4 set shell=3D/bin/sh set showmode set textwidth=3D1000 set vb Etc. I've been carrying around that .exrc for around 40 years. Sheesh, I'm old.