From mboxrd@z Thu Jan 1 00:00:00 1970 From: steffen at sdaoden.eu (Steffen Nurpmeso) Date: Thu, 26 Nov 2020 22:48:25 +0100 Subject: [TUHS] Seeking wisdom from Unix Greybeards In-Reply-To: <20201126145134.GB394251@mit.edu> References: <9c1595cc-54a1-8af9-0c2d-083cb04dd97c@spamtrap.tnetconsulting.net> <20201125172255.83D252146F@orac.inputplus.co.uk> <20201126145134.GB394251@mit.edu> Message-ID: <20201126214825.bDDjr%steffen@sdaoden.eu> Theodore Y. Ts'o wrote in <20201126145134.GB394251 at mit.edu>: |On Wed, Nov 25, 2020 at 05:22:55PM +0000, Ralph Corderoy wrote: |>> wondering if there is a better way to generate the output from |>> the code in a way that respects TERMinal capabilites. |> |> tput setf 4; date; tput sgr0 |> |> See terminfo(5). |> |> (BTW, I don't think the question is worthy of TUHS.) | |To make this a bit more TUHS-focused, was there anything that had |similar functionality which pre-dated Bill Joy and termcap in late |70's? | |(I'll note that in recent years, most people seem to have not bothered |with terminfo, given that all the world's a Vax^H^H^HSun^H^H^HLinux |^H^H^H^Hxterm. :-) ANSI escape sequences aka ISO 6429 came via ECMA-48 i have learned, and that appeared first in 1976 (that via Wikidpedia). I made a survey about twenty years ago over terminfo (source) entries, and found it not worth the effort to care for anything else, and not to padding, too. (My experience with hardware does not even cause a little cough in this audience, however.) | - Ted | --End of <20201126145134.GB394251 at mit.edu> --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)