Friday, December 28, 2007

Putty Title

Putty Title can be easily modified using the function wt.

wt ()
{
echo -n "^[]2;${@}^G"
# In all of these, ^[ is really the "escape" character.
# You put it into a file using vi, by typing control-V and then hitting the Escape key.
# Likewise, ^G is the control-G# character. Again, hit control-V
# then hit control-G
}

The link 'http://www.unix.com/unix-dummies-questions-answers/35518-name-path.html'

No comments:

Post a Comment