public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Thorsten Kampe <thorsten@thorstenkampe.de>
To: cygwin@cygwin.com
Subject: Re: User name in screen caption not displaying with snapshot from 28th
Date: Tue, 31 May 2011 22:35:00 -0000	[thread overview]
Message-ID: <is3qe3$4r9$2@dough.gmane.org> (raw)
In-Reply-To: <j4u9u6tn3ffl9e91g9h8u0je738r68d0ap@4ax.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@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

  reply	other threads:[~2011-05-31 22:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-30 15:25 Thorsten Kampe
2011-05-31 14:20 ` Andrew Schulman
2011-05-31 22:35   ` Thorsten Kampe [this message]
2011-06-01  8:35   ` Thorsten Kampe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='is3qe3$4r9$2@dough.gmane.org' \
    --to=thorsten@thorstenkampe.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).