Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 2020 08:03:32 +1000 (EST)
From:      Dave Horsfall <dave@horsfall.org>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Aggressive ports removal
Message-ID:  <alpine.BSF.2.21.9999.2008310737370.825@aneurin.horsfall.org>
In-Reply-To: <f9cd7c4d-9477-89ab-f054-75b9bf9ca077@freebsd.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>

next in thread | previous in thread | raw e-mail | index | archive | help
[ I seem to have missed the post to which this refers ]

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 
>> fine, and I find it very useful.  If at some time in the future it 
>> should no longer work with the latest and greatest iteration of the C 
>> programming language or ports structure, that shouldn't be a reason to 
>> discard it.

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:

     # Change window title.
     #
     #	0 means both title and icon.
     #	1 means icon
     #	2 means title
     #

     echo -n ']0;'$*''

Watch out for the embedded ESC and ^G chars, and modify as necessary for 
SysVile i.e. "-n" vs. "\c".  And no, printf(1) didn't exist back then,
and I'm too lazy to fix it now.

     aneurin% cat /usr/ports/x11/xtset/pkg-descr
     Utility to set title on an xterm.

-- Dave



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.21.9999.2008310737370.825>