[openbox] openbox focus wish list
Bobby R. Cox
bcox at pmt.org
Wed Oct 8 11:43:44 EDT 2003
On Wed, 2003-10-08 at 12:41, Mike wrote:
> On Wednesday, October 08, 2003 at 08:13AM, Bobby R. Cox wrote:
> >On Wed, 2003-10-08 at 11:51, Robert Upshall wrote:
> >> On Tue, 2003-10-07 at 11:25, Brett Campbell wrote:
> >
> ># Change the window title of X terminals
> >case $TERM in
> > xterm*|rxvt|Eterm|eterm)
> > PROMPT_COMMAND='echo -ne
> >"\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
> > ;;
> > screen)
> > PROMPT_COMMAND='echo -ne
> >"\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
> > ;;
> >esac
>
> I can see a special case for screen, but is there a reason why you don't just use $PS1 instead of going through all of the above?
>
> PS1="\[\033];\u@\h:\w\[\007\]\$ "
No particular reason comes to mind ;)
--
Bobby R. Cox
Linux Systems Administrator
Project Mutual Telephone
bcox at pmt.org
208.434.7185
--------------------------------------------------------
A certain amount of opposition is a help, not a hindrance. Kites rise
against the wind, not with it.
More information about the openbox
mailing list