From: Chris Lieb <chris.lieb@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Screen and Window Titles in screen
Date: Thu, 26 Feb 2009 12:52:37 -0600 [thread overview]
Message-ID: <49A6E4F5.8040803@gmail.com> (raw)
In-Reply-To: <58965d8a0902260948s13d32ec7h9a5b7e13ab0401f6@mail.gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul Hartman wrote:
> On Thu, Feb 26, 2009 at 11:25 AM, Chris Lieb <chris.lieb@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-----
next prev parent reply other threads:[~2009-02-26 18:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-26 17:25 [gentoo-user] Screen and Window Titles in screen Chris Lieb
2009-02-26 17:48 ` Paul Hartman
2009-02-26 18:52 ` Chris Lieb [this message]
2009-02-26 19:25 ` [gentoo-user] " Paul Hartman
2009-02-26 19:44 ` Chris Lieb
2009-02-26 20:00 ` Paul Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49A6E4F5.8040803@gmail.com \
--to=chris.lieb@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox