On 10:28 03 Sep 2003, Vidiot <[EMAIL PROTECTED]> wrote:
| >What string do i use to put a title in the xterm window from the command
| >line?
| >Marvin Blackburn
|
| I have the following configured for zsh:
|
| if [[ xterm == $TERM || vt102 == $TERM ]]
| then chpwd() echo -n "^[]2;${PWD}^G"
| fi
| if [[ xterm == $TERM || vt102 == $TERM ]]
| then chpwd
| fi
|
|
| The ^[ and ^G are real control characters, not ^ and [ or G.
I use this script:
http://www.cskk.ezoshosting.com/cs/scripts/ttylabel
Cheers,
--
Cameron Simpson <[EMAIL PROTECTED]> DoD#743
http://www.cskk.ezoshosting.com/cs/
Try not, do. Do not, try not. - Yoda
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list