I have this line in my .screenrc file:

caption string " %{kw}%-w%{ky}%n-%t%{-}%+w"

This is the caption output, where 0 is the active screen:

0-bash  1 bash  2 bash

How do I customise %-w and %+w such that it outputs with a dash as well?

migrated from serverfault.com Oct 18 '13 at 16:03

This question came from our site for system and network administrators.


You will have to change screen source code for this, specifically AddWindows function in process.c.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.