Package: xterm
Version: 261-1
Severity: normal

The reverseVideo X resource and the +rv/-rv command line options affect the 
reverse video feature in strange ways.
It seems to get inverted rather than set, though even that doesn't explain why 
there is a mark for the menu option if the reverseVideo resource is true and no 
CLI option is given, but no mark in all other cases.

This is what happens:

resource        CLI     menu                    result
--------------------------------------------------------------------------
false                   Mark                    white bg, black fg (false)
false                   No mark (default)       black bg, white fg (true)
false           +rv     Mark                    white bg, black fg (false)
false           +rv     No mark (default)       black bg, white fg (true)
false           -rv     Mark                    black bg, white fg (true)
false           -rv     No mark (default)       white bg, black fg (false)
true                    Mark (default)          black bg, white fg (true)
true                    No mark                 white bg, black fg (false)
true            +rv     Mark                    white bg, black fg (false)
true            +rv     No mark (default)       black bg, white fg (true)
true            -rv     Mark                    black bg, white fg (true)
true            -rv     No mark (default)       white bg, black fg (false)


This is what I would have expected:

resource        CLI     menu                    result
--------------------------------------------------------------------------
false                   Mark                    black bg, white fg (true)
false                   No mark (default)       white bg, black fg (false)
false           +rv     Mark                    black bg, white fg (true)
false           +rv     No mark (default)       white bg, black fg (false)
false           -rv     Mark (default)          black bg, white fg (true)
false           -rv     No mark                 white bg, black fg (false)
true                    Mark (default)          black bg, white fg (true)
true                    No mark                 white bg, black fg (false)
true            +rv     Mark                    black bg, white fg (true)
true            +rv     No mark (default)       white bg, black fg (false)
true            -rv     Mark (default)          black bg, white fg (true)
true            -rv     No mark                 white bg, black fg (false)

In words:
1. A mark in the menu should always correspond with reversed video (i.e. black 
background, white foreground).
2. The reverseVideo resource should set the default value for the menu option.
3. The -rv/+rv CLI options if given should set the default value for the menu 
option, overriding the reverseVideo resource.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xterm depends on:
ii  libc6                     2.11.2-7       Embedded GNU C Library: Shared lib
ii  libfontconfig1            2.8.0-2.1      generic font configuration library
ii  libice6                   2:1.0.6-1      X11 Inter-Client Exchange library
ii  libncurses5               5.7+20100313-4 shared libraries for terminal hand
ii  libutempter0              1.1.5-3        A privileged helper for utmp/wtmp
ii  libx11-6                  2:1.3.3-3      X11 client-side library
ii  libxaw7                   2:1.0.7-1      X11 Athena Widget library
ii  libxft2                   2.1.14-2       FreeType-based font drawing librar
ii  libxmu6                   2:1.0.5-2      X11 miscellaneous utility library
ii  libxt6                    1:1.0.7-1      X11 toolkit intrinsics library
ii  xbitmaps                  1.1.0-1        Base X bitmaps

Versions of packages xterm recommends:
ii  x11-utils                     7.5+4      X11 utilities

Versions of packages xterm suggests:
pn  xfonts-cyrillic               <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to