← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 678322] [NEW] Can't set titlebar text with ESC sequence

 

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

The color prompt code in /root/.bashrc doesn't set the title either:
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"'

Is there a new escape sequence for setting the prompt?

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xterm 256-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-26.46-generic-pae 2.6.32.24+drm33.11
Uname: Linux 2.6.32-26-generic-pae i686
Architecture: i386
Date: Sun Nov 21 14:21:04 2010
DkmsStatus: Error: [Errno 2] No such file or directory
MachineType: ECS G41T-M5
ProcCmdLine: root=/dev/sda3 ro
ProcEnviron:
 LC_COLLATE=C
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/usr/bin/tcsh
SourcePackage: xterm
dmi.bios.date: 08/05/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080015
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: G41T-M5
dmi.board.vendor: ECS
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: ECS
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080015:bd08/05/2009:svnECS:pnG41T-M5:pvr1.0:rvnECS:rnG41T-M5:rvr1.0:cvnECS:ct3:cvr1.0:
dmi.product.name: G41T-M5
dmi.product.version: 1.0
dmi.sys.vendor: ECS
system:
 distro:             Ubuntu
 codename:           lucid
 architecture:       i686
 kernel:             2.6.32-26-generic-pae

** Affects: xterm (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

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



Follow ups

References