Xterm title



Hi,

I really like mc's new feature to set the Xterm title to mc's current
directory. Still, I've got one minor cosmetical request concerning this
feature: would it be possible to save the original Xterm title when mc
starts, and restore it when mc quits?

I'm using mcedit to edit my mails/posts in Mutt and Slrn, with matching
Xterm titles (ie. "Mutt" for Mutt, and "Slrn" for Slrn :-). Once I edit
a mail/post, though, mcedit changes the Xterm title to "mc - ~", and it
stays that way until I quit mutt/slrn - which basically makes the Xterms
running Mutt/Slrn indistinguishable from the "ordinary" ones running mc.

I haven't looked at the code yet, so I don't know how easy or hard that
would be to implement. As I said, it's only a cosmetical thing, so I'd
just turn the Xterm title feature off in mc if it turned out be a problem.
It sure would be nice to have it both, though. :-)

Just for the record, here's the command lines I use to run Slrn/Mutt
from IceWM's toolbar:

| [zlatko disclosure]:~/tmp$ egrep "(mutt|slrn)" ~/.icewm/toolbar 
| prog Mutt mutt2 xterm -ls -tn xterm-color -T "Mutt" -name xterm_mutt -e mutt
| prog Slrn slrn2 xterm -ls -tn xterm-color -T "Slrn" -name xterm_slrn -e slrn

TIA & $SEASONS_GREETINGS,
Thomas
-- 
=-------------------------------------------------------------------------=
-  Thomas "ZlatkO" Zajic    <zlatko gmx at>     Linux-2.4.19 & Mutt-1.4i  -
-  "It is not easy to cut through a human head with a hacksaw."  (M. C.)  -
=-------------------------------------------------------------------------=



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]