Re: Show GNU screen captions inside of mintty
On Wed, Aug 03, 2011 at 06:45:31AM +0100, Andy Koppe wrote: This has nothing to do with mintty and everything to do with screen and its configuration, unless you can show that mintty displays I didn't think it necessarily had anything to do with mintty as an application, but the TERMCAP settings it's using. Your comment did remind me that screen still reads the /etc/screenrc file even if you have a user specified configuration, so I diffed the /etc/screenrc from my Debian desktop and the Cygwin /etc/screenrc and found they were different. After replacing Cygwin's screenrc with the one from Debian, it behaved as expected. Thanks for the help, 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
Re: Show GNU screen captions inside of mintty
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
Re: Show GNU screen captions inside of mintty
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
Re: Show GNU screen captions inside of mintty
On 8/2/2011 11:10 PM, Eric Pruitt wrote: I want, albeit not with the formatting options I'll. Could you explain how and why that works? Nope, I flushed that Domain Specific Language from my short term memory after getting it to work as I wanted. I'd just be regurgitating the Fine Manual for you...GIYF. -- 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
Re: Show GNU screen captions inside of mintty
On Wed, Aug 03, 2011 at 12:35:10AM -0400, Charles Wilson wrote: On 8/2/2011 11:10 PM, Eric Pruitt wrote: I want, albeit not with the formatting options I'll. Could you explain how and why that works? Nope, I flushed that Domain Specific Language from my short term memory after getting it to work as I wanted. I'd just be regurgitating the Fine Manual for you...GIYF. Alright, thanks anyway. I just tweaked my screenrc and learned that mintty will always display caption as the last line of the terminal while keeping status messages in the title bar. I didn't realize screen made a distinction between the two. I'm still curious what termcap settings it's using to put the status notification in the title, though and how to toggle it. 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
Re: Show GNU screen captions inside of mintty
On 3 August 2011 05:50, Eric Pruitt wrote: On Wed, Aug 03, 2011 at 12:35:10AM -0400, Charles Wilson wrote: On 8/2/2011 11:10 PM, Eric Pruitt wrote: I want, albeit not with the formatting options I'll. Could you explain how and why that works? Nope, I flushed that Domain Specific Language from my short term memory after getting it to work as I wanted. I'd just be regurgitating the Fine Manual for you...GIYF. Alright, thanks anyway. I just tweaked my screenrc and learned that mintty will always display caption as the last line of the terminal while keeping status messages in the title bar. This has nothing to do with mintty and everything to do with screen and its configuration, unless you can show that mintty displays identical output differently from xterm, in which case you'd have found a compatibility issue. I didn't realize screen made a distinction between the two. I'd be quite surprised if it did, assuming identical configuration. Please provide instructions to show the difference, including TERM setting at the point screen is invoked and your .screenrc if necessary. (Keep in mind that I don't know an awful lot about Screen.) Andy -- 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