screen-users
[Top][All Lists]
Advanced

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

Re: I wrote a nice well-documented screenrc and would like to submit it


From: Angelina Carlton
Subject: Re: I wrote a nice well-documented screenrc and would like to submit it as extra documentation
Date: Fri, 22 Apr 2005 15:15:01 -0400
User-agent: Mutt/1.3.28i

On Wed, Apr 20, 2005 at 09:49:43PM -0500, Brad Sims wrote:
 
> ##    Explanation of hardstatus line    ##
> 
> # Ignore the ' marks if you use these examples for yourself
> 
> # Note that if you want to use the color brown under konsole
> # You actually use bright yellow (%{Y}). 
> 
> # Note the embeded space after the colon, I feel 
> #  it just looks nicer with a blank between the
> #  text and console edge:
> #   '%{=b}%{G} Screen(s): '
> 
> # This prints the window listing in blue:
> #   '%{b}%w'
> 
> # This right-aligns what follows:
> #   '%='
> 
> # This displays the time (hours and minutes) in 12hr format 
> # and adds an AM/PM flag, in bold green:
> #   '%{G}%C%A'
> 
> # This displays the day of the week:
> #   '%D'
> 
> #This displays the date in Mon/day/year format:
> # and again I embeded a space to give me one space
> # between the text and console edge:
> #  '%M/%d/%Y '
> 
> # The resulting command give you a status line that 
> #  looks like this: 
> #   | Screen(s): 0* bash           5:30PM  Fri, Jun/25/2004 |
> #  (The pipes indicate the edges of the xterm/console).
> 
> # Green text, time, and date; windows in blue:
> hardstatus alwayslastline "%{=b}%{G} Screen(s): %{b}%w %=%{kG}%C%A  %D, 
> %M/%d/%Y "
> 

Thanks, I collect hardstatus lines :) 
Do they vary from host to host? My hardstatus on my home debian pc and
a remote freebsd pc work fine, but the same line on a third bsd
machine is garbled.

-- 
Angelina Carlton




reply via email to

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