Changing the terminal title bar with Python
dickey at his.com
dickey at his.com
Fri Oct 18 15:57:00 EDT 2013
On Friday, October 18, 2013 12:46:19 PM UTC-4, Steven D'Aprano wrote:
> xterms used to have a feature where they would write the title back to
> standard input. Unfortunately, it has been disabled for security reasons,
> so I haven't been able to get this to work (not that I tried very
> hard...), but you might like to experiment with this:
Actually in "xterm" it is configurable (the allowWindowOps resource).
xterm "emulators" lack that (and most of xterm's) configurability.
> More recent xterms allegedly implement a title stack, where you can tell
> the terminal to save the current title, then restore it afterwards.
> Again, I haven't been able to get this to work, but have fun
> experimenting with it:
http://invisible-island.net/xterm/xterm.log-contents.html#xterm_251
It is used in "newer" screen, and vi-like-emacs.
More information about the Python-list
mailing list