[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] Thoughts on 'hardstatus' command
From: |
Doug Kearns |
Subject: |
Re: [RP] Thoughts on 'hardstatus' command |
Date: |
Fri Dec 14 20:14:02 2001 |
User-agent: |
Mutt/1.2.5i |
On Thu, Dec 13, 2001 at 12:51:54AM -0800, Ryan Yeske wrote:
> Doug Kearns <address@hidden> writes:
>
> > Would anyone else be interested in emulating screen's hardstatus
line?
>
> Remind us (me at least) what that is.
It controls the use and emulation of the terminal status line.
If the terminal has no status line it allows you to reserve the last
line, or to use the messaging system for this purpose.
To try it out start a screen session and enter
:hardstatus alwayslastline " %d/%m/%y %c | %w"
or
:hardstatus alwaysmessage " %d/%m/%y %c | %w"
Now the last example can be duplicated with something like this
(untested):
ratpoison -c next -c "msgwait 1" -c "echo $( date +'%H:%M %d/%m/%y' ) $(
ratpoison -c windows | grep '\*' )"
However the first would require some work, and is similar to use
'hardstatus' with screen.
We'd also need to add a number of new flags for the window format string
to make it more useful.
Regards,
Doug