[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: setting xterm/rxvt window names



On Wed, 18 Sep 2002, Michael K O'Brien wrote:

> > > 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.

For the record, it doesn't work at all for me w/o the 'e' switch
(nor would I expect it to). What version of xterm are you using?

Also:

OSC 0; <TITLE> BEL ( "\033]0;$*\007" )

is deprecated: does

OSC 0; <TITLE> ST ( "\033]0;$*\033\\" )

work any better?




Reply to: