Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-01-2013, 10:38 PM   #1
Senior Member
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,452

Rep: Reputation: 85
GNU Screen status bar and caption bar

I have found a guide online to making screens caption bar show output from a script.

I am already using a hardstatus and caption line that I like:

hardstatus string '%{= bW}%-Lw%{= rW}%50>%n%f* %t%{= bW}%+Lw%< %{= bd}%-=%D %d %M %Y %c:%s%{-}'
caption always "%{= rW} [ %S ]  %f %t %? ( %{rY} %u %{rW} ) %?"
His looks like this:

backtick 100 5 5 tail -1 /var/tmp/vermaden_stats_top
caption always '%{= wk} %= %100` %='
I try reading about screen. Most/some of the escape sequences make sense to me, but the other characters being used do not.

How can I add the backtick to the config I am already using, so that it is aligned to the right of of the caption bar? Or center align it with the text I already have in the caption bar that's left aligned?

Last edited by fakie_flip; 03-01-2013 at 10:42 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email notification (new email) for Screen status bar? Xeratul Linux - General 1 03-16-2012 05:26 PM
[SOLVED] Ubuntu Status Bar cmnorton Ubuntu 2 12-17-2009 10:22 AM
Recover status bar devmohan786 Linux - Software 2 07-22-2008 02:48 PM
[SOLVED] lost task bar and status bar how to get them back devmohan786 Linux - Software 2 07-13-2008 04:00 AM
System status bar? mikegorb Linux - Software 4 12-13-2004 10:46 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration