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″
echo $TITLEBAR

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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.