Date: Mon, 31 Aug 2020 10:21:57 +1000 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: Dave Horsfall <dave@horsfall.org> Cc: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: xtset raison d'etre (was: Aggressive ports removal) Message-ID: <20200831002157.GB28873@eureka.lemis.com> In-Reply-To: <alpine.BSF.2.21.9999.2008310737370.825@aneurin.horsfall.org> References: <202008291154.07TBsr7L086597@repo.freebsd.org> <FC66C7DA-2A0D-43E7-B29C-E4C94C1973BA@freebsd.org> <f56625f8-1d63-515c-93af-909a4e47e65d@freebsd.org> <9a4583d9-097e-d0ba-4959-5c4d7b96b611@freebsd.org> <20200829232707.GC46173@eureka.lemis.com> <f9cd7c4d-9477-89ab-f054-75b9bf9ca077@freebsd.org> <alpine.BSF.2.21.9999.2008310737370.825@aneurin.horsfall.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Y7xTucakfITjPcLV Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Monday, 31 August 2020 at 8:03:32 +1000, Dave Horsfall wrote: > [ I seem to have missed the post to which this refers ] Sorry, I nearly missed this one because you didn't change the Subject: line. > On Sun, 30 Aug 2020, Niclas Zeising wrote: >>> Exactly. Another case in point: x11/xtset. Maintenance stopped in >>> 1993, 11 days after the FreeBSD project came into existence. It works Well, no, he quoted: On Sunday, 30 August 2020 at 9:27:07 +1000, Greg 'groggy' Lehey wrote: > > Exactly. Another case in point: x11/xtset. Maintenance stopped in > ... > What does "xtset" do that the following script does not? I picked it up > from $JOB a couple of decades ago. > > /usr/local/bin/wintit: > ... It inserts text in the same control sequence, but formats them based on format =E2=80=9Cmetavariables". From the man page (which I'll send you separately): xtset -t %u (%T) %h:%D might set the title text to root (ttyp0) myhost:usr/src Clearly it's not rocket science, which is why it has worked well until some wise person decided that predicates are no longer acceptable in C (see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249017). It still works well. Greg -- Sent from my desktop computer. 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 --Y7xTucakfITjPcLV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAl9MQqUACgkQIubykFB6QiPPUwCfesikOGwZcYtA1qWPfmGEfnmg kRwAn0z0RuCOX93dDrdBkegPZMR1RfNm =IHVF -----END PGP SIGNATURE----- --Y7xTucakfITjPcLV--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200831002157.GB28873>