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=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13124 invoked from network); 22 Dec 2021 14:51:55 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 22 Dec 2021 14:51:55 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 06EBB9CEA3; Thu, 23 Dec 2021 00:51:54 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 33F419CC01; Thu, 23 Dec 2021 00:51:49 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="DxyL2p3n"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id B2E1E9CC01; Thu, 23 Dec 2021 00:51:47 +1000 (AEST) Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by minnie.tuhs.org (Postfix) with ESMTPS id ED3099CC00 for ; Thu, 23 Dec 2021 00:51:46 +1000 (AEST) Received: by mail-pj1-f49.google.com with SMTP id n15-20020a17090a160f00b001a75089daa3so6105652pja.1 for ; Wed, 22 Dec 2021 06:51:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=vQkPSmm2Z1BaMQZS7g7xYCypJOrwALq1DN/Z/lfHW6g=; b=DxyL2p3nLrMn+aL4cwsmfeH/ZmZV6MYeKevTwzNDie908Ho9YKQX/sKkWRYkFradd2 +utG+wY6LCJ2hVXyIpPxTKDXVuMiWkug82Cd3/4DUKLLpV7c9YfxYxua/Tgn/mpG5YMj MqgWBOFxpxJDlQSxB1Volga22LLRtVR4OFDESii2fq/yxFcexzrIXJ/eQ3t9S3hs/FFH CzPlyreYVBYtUKOkY3mdIYhM74Li5xSahXO0UqS0AVzt7L65x81xC6FIEe9r/jiYU5qg Kyn24epZ8QB4as4i9oxG/GITRvQm6pvhJ9IHnSt9wTS2tWoNOo8EYZkOXf5Emzk9crcB 12wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=vQkPSmm2Z1BaMQZS7g7xYCypJOrwALq1DN/Z/lfHW6g=; b=pK624Xiwy80vy/q66amREs6CBJkmlLWZjN3+VCDPdk4PWks5lOgMXs7TCf+I3fPybH ZNWmBZWCnDt5j2KtFBqSkSuMsIGV/6L1SWZVwJMUfKvnmBcC3bA7aLSzHgEJRjQoBRuP 5A720VYF4Dg+hNSpABkWIad789+7vpd0dGuwU3p8m3TMfMQeo1dOiGxm+lAVUv2qk7V1 pN/0iaqrK81PCp1fM1hx7vJYZ+8oKrAU5FeeFPsDMACmcc/ZZiNnRbbO/HOWvOULxhSQ gw+rRF9jc8OGEODvmBWb0hCEZ6A5vbtIkXwZkBZy6Rf7kNSdvJ1zQ7h26sfYB7/4BVBK 5KOw== X-Gm-Message-State: AOAM532coNbSq+FXVGipR42JDAr+6A9nW7laFsOdZXgemOuFS1g2KvJb qo/Ap2AQu2wU/ncHucQu/QuwRjk0w70VMTIKRhI7P3ubA03/8w== X-Google-Smtp-Source: ABdhPJyPpBAelIGbZKdSpbxp061TejdPowtn27JP1ofFt4PVuzLeoICy0KMzP1XAs0mJFvYPg0vjovs8b7K3sfMyq94= X-Received: by 2002:a17:90a:384d:: with SMTP id l13mr1761433pjf.104.1640184705936; Wed, 22 Dec 2021 06:51:45 -0800 (PST) MIME-Version: 1.0 References: <5D8BA976A496FD8E3AEFB6C9153250F0.for-standards-violators@oclsc.org> In-Reply-To: <5D8BA976A496FD8E3AEFB6C9153250F0.for-standards-violators@oclsc.org> From: Adam Thornton Date: Wed, 22 Dec 2021 07:51:34 -0700 Message-ID: To: Computer Old Farts Followers Subject: Re: [COFF] [TUHS] ksh88 source code? X-BeenThere: coff@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Computer Old Farts Forum List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0658138201635998770==" Errors-To: coff-bounces@minnie.tuhs.org Sender: "COFF" --===============0658138201635998770== Content-Type: multipart/alternative; boundary="000000000000c3765205d3bd425c" --000000000000c3765205d3bd425c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MacOS finally pushed me to zsh. So I went all the way and installed oh-my-zsh. It makes me feel very dirty, and I have a two-line prompt (!!), but I can't deny it's convenient. tickets/DM-32983 =E2=9C=97 adam@m1-wired:~/git/jenkins-dm-jobs$ (and in my terminal, the X glyph next to my git branch showing the status is dirty is red while the branch name is green) and if something doesn't exit with rc=3D0... adam@m1-wired:~/git/jenkins-dm-jobs$ fart zsh: command not found: fart tickets/DM-32983 =E2=9C=97127 =E2=9A=A0=EF=B8=8F adam@m1-wired:~/git/jenkins-dm-jobs$ Then I also get the little warning glyph and the rc of the last command in my prompt. But then I'm also now using Fira Code with ligatures in my terminal, so I've pretty much gone full Red Lightsaber. Adam On Wed, Dec 22, 2021 at 7:41 AM Norman Wilson wrote: > Thomas Paulsen: > > bash is clearly more advanced. ksh is retro computing. > > =3D=3D=3D=3D > > Shell wars are, in the end, no more interesting than editor wars. > > I use bash on Linux systems because it's the least-poorly > supported of the Bourne-family shells, besides which bash > is there by default. Ksh isn't. > > I use ksh on OpenBSD systems because it's the least-poorly > supported of the Bourne-family shells, besides which kh > is there by default. Bash isn't. > > I don't actually care for most of the extra crap in either > of those shells. I don't want my shell to do line editing > or auto-completion, and I find the csh-derived history > mechanisms more annoying than useful so I turn them off > too. To my mind, the Research 10/e sh had it about right, > including the simple way functions were exported and the > whatis built-in that told you whether something was a > variable or a shell function or an external executable, > and printed the first two in forms easily edited on the > screen and re-used. > > Terminal programs that don't let you easily edit input > or output from the screen and re-send it, and programs > that abet them by spouting gratuitous ANSI control > sequences: now THAT's what I call retro-computing. > > Probably further discussion of any of this belongs in > COFF. > > Norman Wilson > Toronto ON > --000000000000c3765205d3bd425c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
MacOS finally pushed me to zsh.=C2=A0 So I went all t= he way and installed oh-my-zsh.=C2=A0 It makes me feel very dirty, and I ha= ve a two-line prompt (!!), but I can't deny it's convenient.
<= div>
tickets/DM-32983 = =E2=9C=97
adam@m1-wired:~/git/jenkins-dm-jobs$

(and in my terminal, the X glyph next to my git branch showing the s= tatus is dirty is red while the branch name is green)

<= div>and if something doesn't exit with rc=3D0...

adam@m1-wired:~/git/jenkins-dm-job= s$ fart
zsh: command not found: fart
tickets/DM-32983 =E2=9C=97127 = =E2=9A=A0=EF=B8=8F
adam@m1-wired:~/git/jenkins-dm-jobs$

Then I also get the little warning glyph and the rc of the = last command in my prompt.=C2=A0

But then I&#= 39;m also now using Fira Code with ligatures in my terminal, so I've pr= etty much gone full Red Lightsaber.

Adam

On Wed, Dec 22, 2021 at 7:41 AM Norman Wilson <norman@oclsc.org> wrote:
Thomas Paulsen:

=C2=A0 bash is clearly more advanced. ksh is retro computing.

=3D=3D=3D=3D

Shell wars are, in the end, no more interesting than editor wars.

I use bash on Linux systems because it's the least-poorly
supported of the Bourne-family shells, besides which bash
is there by default.=C2=A0 Ksh isn't.

I use ksh on OpenBSD systems because it's the least-poorly
supported of the Bourne-family shells, besides which kh
is there by default.=C2=A0 Bash isn't.

I don't actually care for most of the extra crap in either
of those shells.=C2=A0 I don't want my shell to do line editing
or auto-completion, and I find the csh-derived history
mechanisms more annoying than useful so I turn them off
too.=C2=A0 To my mind, the Research 10/e sh had it about right,
including the simple way functions were exported and the
whatis built-in that told you whether something was a
variable or a shell function or an external executable,
and printed the first two in forms easily edited on the
screen and re-used.

Terminal programs that don't let you easily edit input
or output from the screen and re-send it, and programs
that abet them by spouting gratuitous ANSI control
sequences: now THAT's what I call retro-computing.

Probably further discussion of any of this belongs in
COFF.

Norman Wilson
Toronto ON
--000000000000c3765205d3bd425c-- --===============0658138201635998770== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KQ09GRiBtYWls aW5nIGxpc3QKQ09GRkBtaW5uaWUudHVocy5vcmcKaHR0cHM6Ly9taW5uaWUudHVocy5vcmcvY2dp LWJpbi9tYWlsbWFuL2xpc3RpbmZvL2NvZmYK --===============0658138201635998770==--