From owner-freebsd-ports@freebsd.org Mon Aug 31 00:22:05 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ED0C03D0590 for ; Mon, 31 Aug 2020 00:22:05 +0000 (UTC) (envelope-from grog@lemis.com) Received: from lax.lemis.com (www.lemis.com [45.32.70.18]) by mx1.freebsd.org (Postfix) with ESMTP id 4BfrVh6Yrdz3XbL for ; Mon, 31 Aug 2020 00:22:04 +0000 (UTC) (envelope-from grog@lemis.com) Received: from eureka.lemis.com (aussie-gw.lemis.com [167.179.139.35]) by lax.lemis.com (Postfix) with ESMTP id 9DE322809E; Mon, 31 Aug 2020 00:21:58 +0000 (UTC) Received: by eureka.lemis.com (Postfix, from userid 1004) id EF25526359A; Mon, 31 Aug 2020 10:21:57 +1000 (AEST) Date: Mon, 31 Aug 2020 10:21:57 +1000 From: Greg 'groggy' Lehey To: Dave Horsfall Cc: FreeBSD Ports Subject: xtset raison d'etre (was: Aggressive ports removal) Message-ID: <20200831002157.GB28873@eureka.lemis.com> References: <202008291154.07TBsr7L086597@repo.freebsd.org> <9a4583d9-097e-d0ba-4959-5c4d7b96b611@freebsd.org> <20200829232707.GC46173@eureka.lemis.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Y7xTucakfITjPcLV" Content-Disposition: inline In-Reply-To: Organization: The FreeBSD Project Phone: +61-3-5309-0418 Mobile: +61-490-494-038. Use only as instructed. WWW-Home-Page: http://www.FreeBSD X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 User-Agent: Mutt/1.6.1 (2016-04-27) X-Rspamd-Queue-Id: 4BfrVh6Yrdz3XbL X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of grog@lemis.com has no SPF policy when checking 45.32.70.18) smtp.mailfrom=grog@lemis.com X-Spamd-Result: default: False [-3.32 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.93)[-0.931]; FREEFALL_USER(0.00)[grog]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.007]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[FreeBSD.org]; AUTH_NA(1.00)[]; HAS_ORG_HEADER(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.58)[-0.584]; RCPT_COUNT_TWO(0.00)[2]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[grog@FreeBSD.org,grog@lemis.com]; RCVD_NO_TLS_LAST(0.10)[]; R_SPF_NA(0.00)[no SPF record]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:20473, ipnet:45.32.64.0/19, country:US]; FROM_NEQ_ENVFROM(0.00)[grog@FreeBSD.org,grog@lemis.com]; MAILMAN_DEST(0.00)[freebsd-ports] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2020 00:22:06 -0000 --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--