[Top][All Lists]

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

Re: hardstatus alwayslastline and xterms

From: Raymond Page
Subject: Re: hardstatus alwayslastline and xterms
Date: Mon, 02 Aug 2004 19:00:33 -0400
User-agent: Mozilla Thunderbird 0.7.1 (Windows/20040626)

David Cannings wrote:

I use screen with the following in /etc/screenrc:

  hardstatus alwayslastline
  backtick 1 1200 1200 whoami
  hardstatus string "address@hidden %c | %-Lw%{= BW}%50>%n* %t%{-}%+Lw%<"

This gives me a bar across the bottom which shows a list of windows and the currently active window is highlighted in blue, a simple tab bar. I can't remember where I got the code from, quite possibly the default screenrc. However, I have now started to use an xterm. Without the status line my xterm title is changed to show me the current directory I'm in, what user I am (etc). Some programs (portage in Gentoo, among others) use it to provide feedback on what they are doing. With the line "hardstatus alwayslastline" this information is not output to the xterm title. Is there any way I can use both at once, having a tab bar at the bottom and relevant information in the xterm window title? Or a 2 line status, one that portage (et al) can use and one for the tab bar?



screen-users mailing list

What you want is a caption always. However, you'll find that you might want something new for splits if you get that far in your screen experience.

My personal screenrc can be found at

And as you are a gentoo user, you may like my prompt at

I've also got a related question to the escape sequences somebody might be able to answer...

Is there a way to negate the focus character? Essentially I want a status line for focused windows to be "hostname window list time" and for the split unfocused windows "current window". Now my problem is that if anything expands non-null i.e. non-color escape after a %? it becomes true. Therefore, I cannot do a %?%F==my focused window==%?%?%F%:==my unfocused split==%?, because the ==my focused window== will expand true for the focused and unfocused windows if I attempt to use any non-null expanding escape.

Raymond Page

reply via email to

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