[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatic title-ing in screen
From: |
Jeremy Chadwick |
Subject: |
Re: Automatic title-ing in screen |
Date: |
Tue, 28 Dec 2004 20:19:36 -0800 |
User-agent: |
Mutt/1.5.6i |
Taken from the manpage:
Interactively, there is the title-string
escape-sequence (<esc>kname<esc>\) and the "title"
command (C-a A). The former can be
Basically, put the following sequence of characters in your prompt:
<Escape>kMyWindowTitle<Escape>
For sh/bash: export PS1='\[\033kMyWindowTitle\[\033> '
...should work. Don't know, since I haven't tested it. :P
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. |
On Tue, Dec 28, 2004 at 10:21:39PM -0500, address@hidden wrote:
> Does anyone have a working sample of the hack described in the section
> "TITLES" of the man page. The idea is apparently to get screen to
> dynamically update the window's title as one switches to a different
> application.. I've tried lots of things the last couple of days and I
> haven't gotten anywhere. In particular I'm not sure I understand the
> part about a null title-escape-sequence output as part of the shell
> prompt. Not sure if it needs to be typed literally. The bash man page
> and the Bash Prompt Howto did't help much either. Either this doesn't
> work in the version of scren I'm running or more likely I'm missing
> something.. So may be a good example might help clarify..?
>
> Thanks.
> --
>
> address@hidden
>
>
>
> _______________________________________________
> screen-users mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/screen-users