-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Hartman wrote:
> On Thu, Feb 26, 2009 at 11:25 AM, Chris Lieb <chris.l...@gmail.com> wrote:
>> I am trying to get screen set up and am running into some issues getting
>> it to display titles like I want.  When I'm not running screen, commands
>> like emerge change the title of the console I'm currently in (like
>> Konsole or PuTTY (win)).  When I start up screen, all I get is the name
>> of the host that I am ssh'd into.  I am testing only with PuTTY right
>> now since I don't have access to a Linux box with X on it right now.
> 
> I use PuTTY and screen and window titles are shown in the screens
> during emerging, etc... I don't think I've had to do anything to
> accomplish this, I'm just using the default /etc/screenrc
> 
> I did find a great status-bar that shows open screens (gentoo weekly
> newsletter? or maybe on this list... don't remember):
> 
> caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c"

My problem was that I used hardstatus instead of caption.  This allows
the window title to be set by the terminal.

Is there a way to have a child screen session set the title of the
terminal, eg. I run emerge inside a screen inside a screen (like sshing
from one computer to another)?

Also, is there a way to get the screen title to match the terminal title?

> As far as the syntax of the hardstatus I think it may be usual termcap syntax.

Can you give me a pointer to where a definition of that syntax is?  All
I find is for defining capabilities of terminals.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJpuT1AAoJEJWxx7fgsD+C7s4H/0ZwCpyknJ81JSWtlbMvAgry
a4PXBxHy1IS8hRxwOwvSrNqeFcIlfcgv7dZxf0wCYyho8+QOpRNQN6yhI6VeQhqW
uye4WIq8tslf9zw3cKZuBNTt7QBVJlmu2uvszCXhI6WUF84QrgdGiBAWoP8A9Hx+
YZHs3LMvbwRRgjqy0WVttg+OVWDq3kuuOi5pMlAKvZ7/5Y1EnS1xCu0uv1F+7UBE
/fqBkCzbsaWqM7fdLvBDv1CnKl0FDZNRgOMFbCTDohTfRdPXIzyFPIzxFJBnTimn
o32Nx1O69lYbBHNv2NyC9DeObyb9ofB3trPLpI1YBrn1GiCt8llKf6CbKwEed0Q=
=scfV
-----END PGP SIGNATURE-----

Reply via email to