#!/bin/nawk -f # CHANGE THE TITLE OF AN X WINDOW # # Vers Date Author Modifications # 1.00 07-22-90 Ercolano @ degraf/Wahrman Initial Implementation # 1.10 02-05-92 Ercolano @ Metrolight Changes icon title too # 1.20 06-20-92 Ercolano @ Metrolight Works for xterms too # 1.21 03-07-97 Ercolano @ rotwang sh -> nawk for portability # 1.22 06-04-02 erco@3dsite.com added \r to erase screen cruft # # Wow; this program is twelve years old, and I still use it every day. # Some programs never die. BEGIN { esc = int(27); bel = int(7); bak = int(92); for (t=1; t