* Michael K O'Brien <mobrien@pixar.com>, 2002-09-18 12:11 -0400: > Hola~ > > >-- On Wed, Sep 18, 2002 at 04:36:35PM +0100, % wrote: > > On Wed, 18 Sep 2002, Michael K O'Brien wrote: > > > > > Hola~ > > > > > > About two weeks ago, I found that I could no longer set the window and icon > > > title of an xterm or rxvt window with the following script: > > > > > > echo -n "\033]0;$*\007" > > > > Try echo -ne, make sure you haven't got PROMPT_COMMAND set to something > > that overrides it, and haven't embedded a similar sequence in PS1 either. > > Thanks, but the -ne didn't fix it. I don't have PROMPT_COMMAND or PS1 set to > anything. > > MO Would if [ "$PS1" ]; then if [ "x`tput kbs`" != "x" ]; then # We can't do this with "dumb" terminal stty erase `tput kbs` fi case $TERM in xterm*) PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}:${PWD}\007"' ;; *) ;; esac fi do for you if you adjust it? -Andre
Attachment:
pgpTqk9llpUb6.pgp
Description: PGP signature