On Sun, 21 Nov 2010, Akkana Peck wrote: > Public bug reported: > > Binary package hint: xterm > > I used to be able to change the titlebar inside an xterm window with: > echo 'ESC]2;New titleESC' (substitute ^V and the ESC key to insert > escape characters; I used a shell alias). > > This no longer works, and does nothing; the title remains 'xterm'. > > After reading bug 408496, I've tried adding in .Xdefaults: > XTerm*utf8Title: true > XTerm*allowTitleOps: true > but it doesn't help. I've also tried it with XTerm*utf8Title: false since I'm > not really clear what that resource is supposed to do. (I'm sending plain > ascii for the title, no extra UTF-8 characters, in any case.)
Perhaps that's because the Ubuntu package has *utf8Title: true so the pattern is already occupied in the resource database. To override it, you'd have to give a more-specific pattern, e.g., using "." rather than "*". (If it's not that simple, I'll dig deeper) > The color prompt code in /root/.bashrc doesn't set the title either: > PROMPT_COMMAND='echo -ne "\033]0;${us...@${hostname}: ${PWD/$HOME/~}\007"' > > Is there a new escape sequence for setting the prompt? no - though there is also the allowTitleOps resource from 2007, with the corresponding menu entry. I don't think anyone's setting that in a package. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- Can't set titlebar text with ESC sequence https://bugs.launchpad.net/bugs/678322 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xterm in ubuntu. _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp