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 23978 invoked from network); 25 Dec 2021 23:20:00 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 25 Dec 2021 23:20:00 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 62D889CEA8; Sun, 26 Dec 2021 09:19:58 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 08D6F9CC01; Sun, 26 Dec 2021 09:19:47 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id F03E09CC01; Sun, 26 Dec 2021 09:19:45 +1000 (AEST) Received: from lax.lemis.com (www.lemis.com [45.32.70.18]) by minnie.tuhs.org (Postfix) with ESMTP id A86179465C for ; Sun, 26 Dec 2021 09:19:42 +1000 (AEST) Received: from eureka.lemis.com (121-200-11-253.79c80b.mel.nbn.aussiebb.net [121.200.11.253]) by lax.lemis.com (Postfix) with ESMTP id E7820280DF; Sat, 25 Dec 2021 23:19:41 +0000 (UTC) Received: by eureka.lemis.com (Postfix, from userid 1004) id 35A8D2635BF; Sun, 26 Dec 2021 10:19:41 +1100 (AEDT) Date: Sun, 26 Dec 2021 10:19:41 +1100 From: Greg 'groggy' Lehey To: Theodore Ts'o Message-ID: <20211225231941.GB83649@eureka.lemis.com> References: MIME-Version: 1.0 In-Reply-To: Organization: LEMIS, 29 Stones Road, Dereel, VIC, Australia Phone: +61-3-5309-0418 Mobile: +61-490-494-038. Use only as instructed. WWW-Home-Page: http://www.lemis.com/grog X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 User-Agent: Mutt/1.6.1 (2016-04-27) Subject: Re: [COFF] What is your prompt? 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: , Cc: coff , Rudi Blom Content-Type: multipart/mixed; boundary="===============2717095930066138385==" Errors-To: coff-bounces@minnie.tuhs.org Sender: "COFF" --===============2717095930066138385== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline --RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Friday, 24 December 2021 at 23:40:56 -0500, Theodore Ts'o wrote: > Here are examples of some of my prompts. It does use two lines, but > the extra context is worth it to me: > > {/home/tytso} > 267% cd /usr/projects/e2fsprogs/base That's actually surprisingly like mine, though I squeeze it into one line. Like you, I find user, system and cwd important, but also the tty. In addition I put a marker to help find prompts in long output, so a typical prompt might be: =3D=3D=3D grog@bilbo (/dev/pts/27) ~/src 6 ->=20 That's generated with PS1=3D"\[ESC[34m\]=3D=3D=3D \u@\h (`tty`) \[ESC[31m\]\w\[ESC[34m\] \# ->\= [ESC[30m\]\[ESC[47m\] " > 272% su > Password: > {/home/tytso}, level 2 That's interesting. How do you do that? Greg -- Sent from my desktop computer. Finger grog@lemis.com for PGP public key. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft mail program reports problems, please read http://lemis.com/broken-MUA.php --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAmHHpw0ACgkQIubykFB6QiPYSwCgkmqHj/BzNgpincfk+cKdhYSF EdcAn3hHNQ5x14cVZINAExyd1ylDOlcd =RWj4 -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS-- --===============2717095930066138385== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KQ09GRiBtYWls aW5nIGxpc3QKQ09GRkBtaW5uaWUudHVocy5vcmcKaHR0cHM6Ly9taW5uaWUudHVocy5vcmcvY2dp LWJpbi9tYWlsbWFuL2xpc3RpbmZvL2NvZmYK --===============2717095930066138385==--