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 eedbcdbf for ; Wed, 8 Aug 2018 20:02:46 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 401B4A1CC1; Thu, 9 Aug 2018 06:02:45 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 8AF77A19DD; Thu, 9 Aug 2018 06:02:32 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 614BCA19DD; Thu, 9 Aug 2018 06:02:30 +1000 (AEST) X-Greylist: delayed 424 seconds by postgrey-1.35 at minnie.tuhs.org; Thu, 09 Aug 2018 06:02:30 AEST Received: from accordion.employees.org (accordion.employees.org [198.137.202.74]) by minnie.tuhs.org (Postfix) with ESMTPS id 2A70CA19D7 for ; Thu, 9 Aug 2018 06:02:30 +1000 (AEST) Received: by accordion.employees.org (Postfix, from userid 1736) id 6159E2D4FFE; Wed, 8 Aug 2018 19:55:26 +0000 (UTC) Date: Wed, 8 Aug 2018 20:55:26 +0100 From: Derek Fawcus To: tuhs@minnie.tuhs.org Message-ID: <20180808195526.GA26375@accordion.employees.org> References: <1533588813.1868321.1465431536.01CE36BC@webmail.messagingengine.com> <20180807065453.jjnsx3cunjug5q3e@h-174-65.A328.priv.bahnhof.se> <20180807080256.lgqaevcah2a7sn2t@h-174-65.A328.priv.bahnhof.se> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180807080256.lgqaevcah2a7sn2t@h-174-65.A328.priv.bahnhof.se> User-Agent: Mutt/1.10.1 (2018-07-13) 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: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Tue, Aug 07, 2018 at 08:02:56AM +0000, Michael Kjörling wrote: > I suspect I must stand corrected on this. Turns out that at least GNU > bash 4.4.12(1) seems to not like a `;` at the beginning of the command > line. I can't recall where I got this from, but I tend to use the following on bourne style shells; bash (and others) seem happy with it for copy/paste: h=copper$; tty /dev/pts/0 h=copper$; h=copper$; tty /dev/pts/0 h=copper#; tty /dev/pts/0 h=copper#; h=copper#; tty /dev/pts/0 'copper' being the hostname, $/# as per usual. DF