Xterm title

Pavel Roskin proski at gnu.org
Fri Dec 27 18:06:41 UTC 2002


Hello!

> 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 haven't looked at the code yet, so I don't know how easy or hard that
> would be to implement.

I think it's possible.  Look for "Report xterm window's title" in this
document:

http://ftp.xfree86.org/pub/XFree86/4.2.1/doc/ctlseqs.TXT

I don't know if xterm actually implements it, let alone other terminals.

-- 
Regards,
Pavel Roskin



More information about the mc-devel mailing list