LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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:

Code:
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:

Code:
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:46 AM.

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