This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: User name in screen caption not displaying with snapshot from 28th
* 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