Vim sets the xterm title bar according to the name of the edited file.
I tried to find a solution to the something similar with mutt, but
couldn't find anything yet.
few control codes to stdout:
echo -ne "\033]2;MUTT - $MBOX\007" 1>&2
I started with a "folder-hook . source ~/bin/mutt-xtitle" where
mutt-xtitle was a shell script with a command like the one above. That
somehow worked, but I haven't found any way to detect the name of the
mbox that's currently opened, and to pass this name to the shell script.
Any ideas ?
Please cc to me, since I'm not subscribed to mutt-users.
Thanks,
Gregor