On Fri, 28 Jan 2000, Benjamin Scott wrote:
> Hello list,
>
> Does anyone here know how to get the currently running program name to show
> up in the title of your xterm windows? I don't mean using the "-T" or "-n"
> switches; I mean something that occurs for every command you run. So if, for
> example, I run a lengthy foreground job "foo", "foo" would appear in the xterm
> title bar. MS-Windoze does this.
Send the following escape sequence: <ESC> ] 0 ; <TITLE> ^G ^M
For example:
perl -e 'printf "\033];%s\007\n", "Foo Bar";'
--
John Abreau / Executive Director, Boston Linux & Unix
Email: [EMAIL PROTECTED] / URL: http://www.blu.org
ICQ#28611923 / AIM abreauj
-----------------------------------------------------------------------
"Working with NT is like trying to tune a watch wearing oven mitts.
You can't get your fingers inside like you can with UNIX.
-----------------------------------------------------------------------
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************