Try this - I've been using it under Compaq Tru64 UNIX for a few years,
and although I haven't used it under Linux it may a useful starting point:
#! /usr/bin/ksh
myName=`basename $0`
usage="
Usage: $myName message
"
if [[ $# -lt 1 ]]; then
print - "$usage"
exit 1
fi
print -n "\033]1;$@\a" # icon title
print -n "\033]2;$@\a" # window title
exit 0
-----------------------------------------------------------------------
Bayard R. Coolidge N1HO DISCLAIMER: The opinions expressed are
Compaq Computer Corp. solely those of the author, and not
Nashua, New Hampshire, USA those of Compaq Computer Corporation
[EMAIL PROTECTED] (DEC '77-'98) or any other entity.
"Brake for Moose - It can save your life" - N.H. Fish & Game Dept.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CC d+ s:+ a+ C+++$ UO++$L++>$ P L++>$ E-@ W+ N++ o- K? w--- O? M?
V-- PS+ PE+ Y+ PGP- t++ 5? X? R* tv b++ DI+++ D? G e++ h+ r-- y--
-----END GEEK CODE BLOCK-----
-----------------------------------------------------------------------
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************