Re: Screen title, not just $WINDOW number, in prompt?

2005-09-01 Thread Thomas Köhler
Hi Steven, Steven Brown wrote: > Thomas Köhler wrote: > > > I'm not sure I understand your request (how do you set $WINDOW?), > > I just include $WINDOW (which is defined in the environment by screen) > in bash's PS1 (prompt) variable. E.g., > > if test x"$WINDOW" != x""; then > SCREEEN_PS1=

Re: Screen title, not just $WINDOW number, in prompt?

2005-09-01 Thread Daniel Lublin
On Thu, Sep 01, 2005 at 03:08:47PM -0700, Steven Brown wrote: > [EMAIL PROTECTED]:~(1)$ > [...] > > [EMAIL PROTECTED]:~(compile)$ I you use screens hardstatus, you can atleast have "(compile)" at the bottom of every screen (and a list of all other windows too, if you want). But maybe you don't lik

Re: Screen title, not just $WINDOW number, in prompt?

2005-09-01 Thread Steven Brown
Thomas Köhler wrote: > I'm not sure I understand your request (how do you set $WINDOW?), I just include $WINDOW (which is defined in the environment by screen) in bash's PS1 (prompt) variable. E.g., if test x"$WINDOW" != x""; then SCREEEN_PS1="($WINDOW)" else SCREEEN_PS1="" fi PS1='${debian