>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.

MB
-- 
e-mail: [EMAIL PROTECTED]                                /~\ The ASCII
                                                         \ / Ribbon Campaign
[So it's true, scythe matters.  Willow  5/12/03]          X  Against
Visit - URL: http://vidiot.com/                          / \ HTML Email


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to