Set title of a window

Using the script one can set the title of a window, one of the reason for doing would be distinguish a window from another. The following example was tried on AIX.

$ cat settitle.ksh
TITLEBAR=”33]0;${1} 07″

# in this example the title of the window will change to “Hi”
$ ./settitle.ksh Hi