[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Customizing screen (titlebar and caption)

From: Peder Stray
Subject: Re: Customizing screen (titlebar and caption)
Date: Fri, 2 Jun 2006 10:32:03 +0200 (MEST)

On Thu, 1 Jun 2006, Dave Waxman wrote:

I am looking to have my screen setup as follows:
The title-bar of my xterm should contain the Xterm title for the window
The bottom line of screen I'd like to have a list of my open windows by
name/number.  Preferably with some kind of color coding.

How can I do this?

i have the following in my .screenrc

hardstatus on
hardstatus string "[%?%h%:%t%?]"
defhstatus ""

which tells xterm to have titles like [pine] (screens name if no title of window or [host:/path] (from my shell promt which sets the title)

and with the following line i proagate the hardstatus/title so i get one [] for each nesting of screen ;)

termcapinfo xterm|screen 'hs:ts=\E]2;:fs=\007:ds=\E]0;screen\007'

then i have:

caption always
caption string "%{= 

which gives me a bar on the bottom containg the time, window number and name, and title if any... and the hostname on the right side

[10:29][0:bash][meta:~]                                           meta

hope this helps ;)

  Peder Stray

reply via email to

[Prev in Thread] Current Thread [Next in Thread]