delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/02/22:59:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4E38B961.4030402@cwilson.fastmail.fm>
Date: Tue, 02 Aug 2011 22:58:41 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: Cygwin Mailing List <cygwin AT cygwin DOT com>
Subject: Re: Show GNU screen captions inside of mintty
References: <20110803013014 DOT GA2264 AT icebox>
In-Reply-To: <20110803013014.GA2264@icebox>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 8/2/2011 9:30 PM, Eric Pruitt wrote:
> When using mintty with GNU screen, all status messages (captions) are shown in 
> the title bar instead of the interior of the terminal. I originally found this 
> feature quite nifty, but now that I use an always-on caption for screen, it 
> means that I end up losing visibility of the window title and hardstatus.
> What needs to be modified in order to make captions show up in the interior
> of mintty?

Here's what I use:

hardstatus string "screen %n (%t)%? [%h]%?"
caption always '%{yb} %H %{k}|%L=%= %{w}%?%-Lw%45L>%?%{=b bR}[%{W}%n%f
%t%?(%u)%?%{=b bR}]%{= bw}%?%+Lw%?%?%=%-30= %{k}|%{Y}%l%{k}|%{=b C}
%m/%d %c %{W}'

The hardstatus line sets mintty's title bar; the caption line sets the
bottom row of the terminal. (I[m thinking of removing the load info (the
|%{Y}%l%{k}| bit) from the cygwin version, but I use the same .screenrc
on linux.

--
Chuck

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019