#!/bin/ksh

print -n ']2;'$*''']1;'$*''

# bash version
#echo -n ']2;'$*''']1;'$*''

# Note that NEITHER will work, if you have bash aliases or whatever, to reset
# your window title after every command, or cd.
#
# A common way to undo the bash default in that reguard, is
#   unset PROMPT_COMMAND

