| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | Thorsten Kampe <thorsten AT thorstenkampe DOT de> |
| Subject: | Re: User name in screen caption not displaying with snapshot from 28th |
| Date: | Wed, 1 Jun 2011 00:34:34 +0200 |
| Lines: | 23 |
| Message-ID: | <is3qe3$4r9$2@dough.gmane.org> |
| References: | <is0csj$g74$1 AT dough DOT gmane DOT org> <j4u9u6tn3ffl9e91g9h8u0je738r68d0ap AT 4ax DOT com> |
| Mime-Version: | 1.0 |
| User-Agent: | MicroPlanet-Gravity/3.0.4 |
| X-IsSubscribed: | yes |
| 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 |
* Andrew Schulman (Tue, 31 May 2011 10:20:16 -0400)
> > I have these two lines in my .screenr:
> >
> > backtick 0 0 0 echo $LOGNAME
> > caption always "%{= c}[%0`@%H:%n%f %{w}%t %{r}loadavg: %l %=%{g}%Y-%
> > m-%d %0c:%s]%{d}"
> >
> > Screen always displayed this until cygwin1-20110520.dll as
> > [thorsten AT hombre:0$ loadavg: 0.00 0.00 0.00 2011-05-30 17:20:46]
> >
> > Starting with cygwin1-20110528.dll it displays as:
> > [@hombre:0$ loadavg: 0.00 0.00 0.00 2011-05-30 17:20:46]
> >
> > $LOGNAME is nonetheless set
>
> Thorsten, can you confirm that the difference is only due to cygwin1.dll,
> and not to a different version of screen?
Yes, I can confirm that. It's sounds to me like it maybe connected to
the pipe issue. "backtick" = "The output of such a command is used for
substitution of the "%`" string escape."
Thorsten
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |