[ 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
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to