This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Show GNU screen captions inside of mintty
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Tue, 02 Aug 2011 22:58:41 -0400
- Subject: Re: Show GNU screen captions inside of mintty
- References: <20110803013014.GA2264@icebox>
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