Once upon a time Bill Moseley said...
> When I run vim from an xterm session it sets the name of the file I'm
> editing. I'd like to do this with nano, too. Is there a program to set
> the title bar name that I can use as a wrapper script for nano -- set it
> to the file I'm editing, start nano, then on exit reset to "xterm".
function xtitle()
{
echo -ne "\E]2;$1\007";
}
I haven't tested this recently since I got rid of my title bars a while
ago.