X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Date: Tue, 2 Aug 2011 22:10:57 -0500 From: Eric Pruitt To: cygwin AT cygwin DOT com Subject: Re: Show GNU screen captions inside of mintty Message-ID: <20110803031057.GA2168@icebox> References: <20110803013014 DOT GA2264 AT icebox> <4E38B961 DOT 4030402 AT cwilson DOT fastmail DOT fm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E38B961.4030402@cwilson.fastmail.fm> User-Agent: Mutt/1.5.20 (2009-12-10) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Tue, Aug 02, 2011 at 10:58:41PM -0400, Charles Wilson wrote: > 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}' > That does what I want, albeit not with the formatting options I'll. Could you explain how and why that works? I like that the status messages remain in the title bar, too. Now I just need to figure out how to do the same thing on xterm -- keep the caption as the last line but status messages in the title bar. Any help you could offer on that would be great as well. Thanks, Eric -- 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