xtitle - set window title and icon name for an X11 terminal window
xtitle [ -tiq ] [ -- ] string ... | [ -V ] [ -h ]
Xtitle will set the window title and/or the icon name of the terminal window in which it is run to be its command line arguments. It does this by outputting the appropriate xterm(1) control sequence characters. Unless suppressed, xtitle will also report the settings it has made.
Xtitle is known to work with xterm(1) and dtterm(1). The effect of the control sequences in other terminals is not known, though I wouldn't expect any problems.
Steve Kinzler, email@example.com, Nov 1993/Nov 1998/Mar 2000/Dec 2009