Date: Sat, 06 Feb 2010 13:38:11 +0100 From: Dominic Fandrey <kamikaze@bsdforen.de> To: freebsd-questions@freebsd.org Subject: backup terminal title Message-ID: <4B6D62B3.4070702@bsdforen.de>
next in thread | raw e-mail | index | archive | help
I just started to wonder how portmaster changes the window title of my terminal and why it doesn't change it back when it terminates. Some digging in the portmaster code showed up an escape sequence: printf "\033]0;%s\007" "YOUR TEXT GOES HERE" Unfortunately I am entirely clueless as to how one could backup the old title string to restore it upon termination. It seems to me this ought to be a precondition to using this kind of feature. -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B6D62B3.4070702>