[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

title



Hi.

==snip==
#!/bin/sh
# A trivial, but bloody useful utility when using xterms.
# Save as /usr/local/bin/title or something.
# by <gaal@forum2.org>. GPL.

t=$*
if [ "$t" = "" ]; then
        t=`whoami`@`hostname`
fi

/bin/echo -n -e "\033];$t\007"
==snip==

-- 
believing is seeing
gaal@forum2.org
http://www.forum2.org/gaal/

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il