From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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.2 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id fe3c481b for ; Tue, 17 Sep 2019 11:46:23 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 156AE9C049; Tue, 17 Sep 2019 21:46:22 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 04B36947CC; Tue, 17 Sep 2019 21:46:11 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 53564947CC; Tue, 17 Sep 2019 21:46:10 +1000 (AEST) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by minnie.tuhs.org (Postfix) with ESMTPS id 93097947A2 for ; Tue, 17 Sep 2019 21:46:09 +1000 (AEST) Received: from callcc.thunk.org (guestnat-104-133-0-98.corp.google.com [104.133.0.98] (may be forged)) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id x8HBk3dk004275 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Sep 2019 07:46:04 -0400 Received: by callcc.thunk.org (Postfix, from userid 15806) id C7629420811; Tue, 17 Sep 2019 07:46:02 -0400 (EDT) Date: Tue, 17 Sep 2019 07:46:02 -0400 From: "Theodore Y. Ts'o" To: "G. Branden Robinson" Message-ID: <20190917114602.GB6762@mit.edu> References: <20190915232524.9A5491570CE9@mail.bitblocks.com> <7F62BF6B-8FEA-4C43-9E35-05BDE9BF04EA@ccc.com> <20190916023738.F34E81570CE9@mail.bitblocks.com> <20190916202153.wbpzx3jn3a7rs6kb@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190916202153.wbpzx3jn3a7rs6kb@localhost.localdomain> User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [TUHS] INed/Rand Editor/Ned [was Re: My EuroBSDcon talk (preview for commentary) 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: , Cc: tuhs@tuhs.org Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Tue, Sep 17, 2019 at 06:21:56AM +1000, G. Branden Robinson wrote: > It's still common today. Everything the developer cares to think about, > let alone test on, interprets EMCA-48 SGR escape sequences. My favorite > recent example is "spectre-meltdown-checker", which has such edifying > lines as: > > _info_nol "> \033[46m\033[30mSTATUS:\033[0m " > > Why write something portable when you can be "close to the metal"? :-/ To be fair, spectre-multdown-checker is a shell script, and while you can use tput, that's not super-portable (some versions take termcap names, some take terminfo names, and the only thing that has been standardized is "init", "clear", and "reset"), and said script was designed to work on Linux and *BSD systems. - Ted