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_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,NICE_REPLY_A,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31261 invoked from network); 20 Feb 2022 20:56:24 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 20 Feb 2022 20:56:24 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 445919CBCD; Mon, 21 Feb 2022 06:56:22 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 111429CBBA; Mon, 21 Feb 2022 06:54:20 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=case.edu header.i=@case.edu header.b="noeSZwlE"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=case.edu header.i=@case.edu header.b="F3fMnwHr"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=case.edu header.i=@case.edu header.b="A/8CcZ+G"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 5479F9CBBA; Mon, 21 Feb 2022 06:54:18 +1000 (AEST) Received: from mpv4-2015.case.edu (mpv4-2015.CWRU.Edu [129.22.103.195]) by minnie.tuhs.org (Postfix) with ESMTPS id 491AA9CB50 for ; Mon, 21 Feb 2022 06:54:17 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=case.edu; s=smtp-primary; t=1645390457; bh=XFOk3Cmrp29fi5tmtV+mN+GqqHqmwQuScnH/0e+vl/Q=; h=Message-ID:Date:MIME-Version:Reply-To:Cc:Subject:To:References: From:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=noeSZwlEr/mqBL9oWji2Jptl10CF32Wh4zVjD+Mhw251RWogcM6t5tAzPLHBn36zQH xO7qMruire2vIGU+gj/PBCBd+OknVMQnOnzRkVnUfIgqWM+y1Z6BtqX/L05av4ugvwZ fdh1zi8yoJ8SUclUwG0pg0BYmc08Ccv7E/6NVnetbQYWSTFPZUt10A1P9YG3dYJrJhj rkPpMioxK1mN76NchYmRmq6LG5ivDo85PCnTMqM4OAX1aUXLsLeHixo3jFiyGWTvN26 4juDCFNAu07FgeXTekc33lYBuVNVuPOtoJBSG9DqA5wGopHMuBoGwqMdBLFNMgTUBWL 0T41V8ew== Received: from mpv5-2015.CWRU.Edu (EHLO mpv5-2015.case.edu) ([129.22.103.234]) by mpv4-2015.case.edu (MOS 4.4.8-GA FastPath queued) with ESMTP id CEC26451; Sun, 20 Feb 2022 15:54:16 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=case.edu; s=smtp-primary; t=1645390455; bh=XFOk3Cmrp29fi5tmtV+mN+GqqHqmwQuScnH/0e+vl/Q=; h=Message-ID:Date:MIME-Version:Reply-To:Cc:Subject:To:References: From:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=F3fMnwHrlZaD/yRhJaHSWrxlXsV1gz+6DSGlEfKELpPURxXHk/4ScqhFyDLrop2vh0 UNeZFdCD2dQNmxjwGZupmSRhWkaDWRVgXHXSGuI7G1Fzc7/fqR+vtHh9bryVozJ+bHn Lkm1i5pArKau+R+vbZHzlMYFhFsuC6OLPn/vuPuBS1V7DcQC0YxMAD8w1C6YmUncmr+ /r0bLI99/NSokAzjZE9EnqDfER2UyPgmb4h1P71BDIwQVcKw4QAI/L4eobSyZcR8j48 gsNw5B+fM5rIADVG/KcT38X+Ym9Vz9XdlST/cLb9Ky0zgQVPQR0pe9eH9H3NY5dj3uF Vnv/FFow== Received: from mail-qk1-f197.google.com (EHLO mail-qk1-f197.google.com) ([209.85.222.197]) by mpv5-2015.case.edu (MOS 4.4.8-GA FastPath queued) with ESMTP id HOW74932; Sun, 20 Feb 2022 15:54:15 -0500 (EST) Received: by mail-qk1-f197.google.com with SMTP id 2-20020a370a02000000b0060df1ac78baso8507301qkk.20 for ; Sun, 20 Feb 2022 12:54:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=case.edu; s=g-case; h=message-id:date:mime-version:user-agent:reply-to:cc:subject :content-language:to:references:from:organization:in-reply-to :content-transfer-encoding; bh=2Q+JRlDzF7dBDI0B6tPPyGNvwrYUxLAYn1/7tebo9xI=; b=A/8CcZ+GE/fWsnif1qzvogSYx/A7NaT1tO2XcEtxrxG5qCPE1dB/zNzASpqMou6BO+ tmokP0UIwZpWnzuVZphc+x7Mbhsmsm4I0QDtPBfgoVg2kj7iTucumAmOUtFyt6CmnUKI CAVYrkGhPFVB65tWTXCAVSdsi6FglXl7d4FT5vgX4lvfIDSG3jwAwpCEdaxpYohReWM9 /Wv/CiislKolRFNNL/OG0jXDHbiIsX82RNhJJqaSJDoz6+WfTFy0FnLz6DHiLLorLKFg dJPq1XxMWAyYnmbadMiS+7gaPHTFb3DkGolTsyjzi0REGLsYnZLXJVzg2NKiPEyL2lEG D8Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:reply-to :cc:subject:content-language:to:references:from:organization :in-reply-to:content-transfer-encoding; bh=2Q+JRlDzF7dBDI0B6tPPyGNvwrYUxLAYn1/7tebo9xI=; b=B6AlZCWKQ4m2NSEbzFIUicEHkKSa204cCYQiljkxnBxnPnFzzyhOhMdHJTsDwJzWII rVIXNW/T/SNmid+32LFFK3iRu4moL+xGC4OcX4QKKFlcpCiMDAOA/guZq6E82ll/3a7y n7VM+Xm3ayI6XiUlSWQ3LLVx4NClciK7ttUiiy+kDzE6rYH4/QEwF4E+qHWecZ/D/FrA NM5pYwfOhFi+Qu5TXOh0e7zK8zAU1Dw2OSXfD60un/5M9U4z+JSMphggp9gYRdq4xdtR w0dFrl5WrNH9z327UasFMTU1zlcr4/Jz2K9Ihfrt4ZSqBriOQNe06csBa1C5mb05XKYy RffA== X-Gm-Message-State: AOAM531MHh7nvUx6w3vgInpsjnkKmTfGlm/4y0bUrapWLZWN4mNRKbL1 K/9LJWSyLGkZDLIhBypA32/5jDzjaTtBpBADugGftrFKsf7O+nQgYe3wvlLDIXIS+H7do4+Lo6t 4UgSohYXVpKvECBua X-Received: by 2002:a05:6214:ca5:b0:428:bf29:98fc with SMTP id s5-20020a0562140ca500b00428bf2998fcmr13233735qvs.63.1645390455071; Sun, 20 Feb 2022 12:54:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwc8VrL/glQgs1nHtv30873jcPtemATmSU2PRnzUx0NTDRhQpn6pVt+ZbVUGt931A71MiqJyA== X-Received: by 2002:a05:6214:ca5:b0:428:bf29:98fc with SMTP id s5-20020a0562140ca500b00428bf2998fcmr13233724qvs.63.1645390454692; Sun, 20 Feb 2022 12:54:14 -0800 (PST) Received: from [192.168.0.193] (204-210-204-220.res.spectrum.com. [204.210.204.220]) by smtp.gmail.com with ESMTPSA id h19sm18776267qtx.12.2022.02.20.12.54.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Feb 2022 12:54:14 -0800 (PST) Message-ID: <5a9e9d48-aaad-851e-94af-1f4c100e1eb2@case.edu> Date: Sun, 20 Feb 2022 15:54:12 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Content-Language: en-US To: Sven Mascheck , tuhs@minnie.tuhs.org References: <8102A7AB-21F5-477D-8D37-5412103CD396@iitbombay.org> <4a8c1f33-ab34-7f5d-321a-a8d759eee7c8@in-ulm.de> From: Chet Ramey Organization: ITS, Case Western Reserve University In-Reply-To: <4a8c1f33-ab34-7f5d-321a-a8d759eee7c8@in-ulm.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mirapoint-IP-Reputation: reputation=Good-1, source=Queried, refid=tid=0001.0A742F91.6212A434.0008, actions=tag X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A742F18.6212AA77.0046,ss=1,re=0.000,fgs=0, ip=0.0.0.0, so=2016-11-06 16:00:04, dmn=2011-05-27 18:58:46 X-Mirapoint-Loop-Id: 62184a8251a5187de4df5e33f7a5483b X-Mirapoint-IP-Reputation: reputation=good-1, source=Fixed, refid=n/a, actions=tag X-Junkmail-Status: score=7/90, host=mpv4-2015.case.edu X-Junkmail-PrAS-Raw: score=7/90, refid=2.7.2:2022.2.20.203315:17:7.944, ip=, rules=__YOUTUBE_RCVD, DKIM_SIGNATURE, __X_GOOGLE_DKIM_SIGNATURE, __X_GM_MESSAGE_STATE, __X_GOOGLE_SMTP_SOURCE, __HAS_MSGID, __SANE_MSGID, DATE_TZ_NA, __MIME_VERSION, __USER_AGENT, __MOZILLA_USER_AGENT, __HAS_REPLYTO, __HAS_CC_HDR, __SUBJ_REPLY, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __TO_MALFORMED_2, __MULTIPLE_RCPTS_TO_X2, __TO_NAME, __TO_NAME_DIFF_FROM_ACC, __HAS_REFERENCES, __REFERENCES, __HAS_FROM, FROM_EDU_TLD, __IN_REP_TO, __CT, __CT_TEXT_PLAIN, __CTE, __REPLYTO_SAMEAS_FROM_ADDY, __REPLYTO_SAMEAS_FROM_ACC, __FROM_DOMAIN_IN_ANY_CC1, __FROM_DOMAIN_IN_ANY_CC2, __HEADER_ORDER_FROM, __RCPT_DOMAIN_NOT_TO, __REPLYTO_SAMEAS_FROM_DOMAIN, __DKIM_ALIGNS_1, __DKIM_ALIGNS_2, __FUR_HEADER, __ANY_URI, __URI_MAILTO, __URI_WITH_PATH, __URI_ENDS_IN_SLASH, __URI_NO_WWW, __CP_URI_IN_BODY, __SUBJ_ALPHA_NEGATE, __URI_IN_BODY, __URI_NOT_IMG, __MAIL_CHAIN, [TRUNCATED], so=2010-03-03 19:42:08, dmn=2016-08-03-0138 Subject: Re: [TUHS] v7 source code for sh 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: , Reply-To: chet.ramey@case.edu Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On 2/19/22 6:11 PM, Sven Mascheck wrote: > keyword history: I always imagined that the Bourne shell would have been in > much wider use even nowadays, if only it had provided line editing and a > history at some point. Why not? I think it's that the people with the power to make it happen didn't view it as an appropriate feature for the shell. It was much easier to implement in the shell, both technically and socially. Instead of having to convince kernel developers to implement and maintain editing in the terminal driver (both emacs and vi modes, to boot), it's easier for one person, maybe a few, to do a user-space implementation. That's how it ended up in ksh, for instance. Rob already talked about the Blit editing, which obviated the need to have it in the shell. > Even Kenneth Almquist released his > SVR4-like reimplementation intentionally without history. Almquist released `atty' the same time as `ash', so he did at least provide a way to do editing and history using ptys, in the same way that `rlwrap' wraps readline. But he decried its lack of "elegance," and described it as something that "should be rewritten properly, with appropriate kernel support." > All that might > have been implemented more elegant directly in the terminal I/O instead of > in every program? (that is, not in a MS-DOS-like way, where every program > even needs its own pager). Elegant, maybe, but it never seemed to take off. There were a few different implementations, but none was ever blessed as something officially integrated into a widely-distributed kernel. (As I recall, Jon Payne, who wrote JOVE while in high school (!), wrote one as a college course project. I remember him describing it on Usenet back in the day. There were others.) It always seemed like it would have been just the thing to implement as a tty streams module, but research Unix went in a different direction. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/