xtset raison d'etre (was: Aggressive ports removal)
Greg 'groggy' Lehey
grog at FreeBSD.org
Mon Aug 31 00:22:06 UTC 2020
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 âmetavariables". 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=249017). 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20200831/c527e3c9/attachment.sig>
More information about the freebsd-ports
mailing list