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

Bug#695494: xterm -title not working



On Sun, Dec 09, 2012 at 07:49:34AM +0100, patrick295767 wrote:
> Package: xterm
> Version: 261-1
> Severity: normal
> 
> Hi,
> 
> Yeah, it is surprising but it is not working on debian stable (squeeze).
> It is kinda annoying. 
> 
> How to reproduce, first:
>   @debian:~$ xterm -title "quake_console"
> 
> 
> and then: 
> 
> pat@debian:~$ wmctrl -l
> 0x02600024  0 debian reportbug-xterm-20121209-30122-9muH3T + (/tmp) -
> VIM
> 0x02400024  0 debian pat@debian: ~
> 
> 
> My xterm rc is not customed at all, but default.
> 
> It should be fixed in the next release of debian if you might find some
> time to check the code.

The cause is not a bug per se, but a feature change:

man xterm (list of resource settings):

       allowWindowOps (class AllowWindowOps)
               Specifies whether extended window control sequences (as used in
               dtterm)  should  be  allowed.   These  include  several control
               sequences which manipulate the window size or position, as well
               as  reporting these values and the title or icon name.  Each of
               these can be abused in a script; curiously enough most terminal
               emulators  that  implement  these restrict only a small part of
               the repertoire.  For fine-tuning, see disallowedWindowOps.  The
               default is "false."

This is configurable in xterm, and generally disabled in other terminal
emulators - I don't recall an exception offhand.  (The maintainers delayed
a few years before disabling the feature in gnome-terminal - worth a comment).

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


Reply to: