From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: tuhs-bounces@minnie.tuhs.org X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.1 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id e28549f9 for ; Tue, 7 Aug 2018 07:57:46 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 1830EA1A11; Tue, 7 Aug 2018 17:57:45 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id E27F0A19CD; Tue, 7 Aug 2018 17:57:34 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 5CB52A19CC; Tue, 7 Aug 2018 17:57:34 +1000 (AEST) Received: from mail.bitblocks.com (ns1.bitblocks.com [173.228.5.8]) by minnie.tuhs.org (Postfix) with ESMTP id 3BAA1A19CD for ; Tue, 7 Aug 2018 17:57:33 +1000 (AEST) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id C379E156E408; Tue, 7 Aug 2018 00:57:11 -0700 (PDT) From: Bakul Shah To: Kurt H Maier In-reply-to: Your message of "Tue, 07 Aug 2018 00:31:36 -0700." <20180807073136.GA37082@wopr> References: <1533588813.1868321.1465431536.01CE36BC@webmail.messagingengine.com> <20180807073136.GA37082@wopr> Comments: In-reply-to Kurt H Maier message dated "Tue, 07 Aug 2018 00:31:36 -0700." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <33066.1533628631.1@bitblocks.com> Date: Tue, 07 Aug 2018 00:57:11 -0700 Message-Id: <20180807075718.C379E156E408@mail.bitblocks.com> Subject: Re: [TUHS] Origins of shell prompt suffixes % $ > # X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tuhs@minnie.tuhs.org Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Tue, 07 Aug 2018 00:31:36 -0700 Kurt H Maier wrote: > On Mon, Aug 06, 2018 at 09:53:33PM +0100, Brian Zick wrote: > > > > rc uses ; > > Does it? 10th edition Unix and Plan 9 rc both have ('% ' ' ') as the > default value of $prompt. At least that's how it's described in the > manual. None of the v8/9/10 tarballs in the archive contain rc code, > but some contain manual source, and those describe % prompts. > > I've seen other references to ; (presumably ('; ' ' ')) as the rc > prompt but I've never seen it in the wild. Does anyone here know what > the story is? The es shell (by Haar and Rakitzis) used ; - the reason (as per the man page)is that a user can cut-n-paste a previous line to rexecute it (for the same reason people use term% and cpu% functions to execute their args). Es syntax was derived from rc, which may be why the confusion.