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

Bug#216231: xterm: menus are opened far too small



tag 216231 + moreinfo
thanks

On Fri, Oct 17, 2003 at 02:40:03PM +0200, Torsten Jerzembeck wrote:
> When opening any menu while no item has been selected before, the menu
> presented is far too small - not even the title is readable. If you
> blindly select any item (which is, for whatever reason, possible) and
> let the menu close, the size of the menu is right and all items are
> visible.

Are you sure you're not experiencing the problem described in the FAQ?

*) Why do the menus in xterm have the wrong font, size, background color, or
   foregound color?

Because, 99 times out of 100, you're not using X resources correctly.

If you have X resource specifications (say, in your $HOME/.Xresources file)
that look like this:

XTerm*foreground: black
XTerm*background: white
XTerm*geometry: 200x55-0+20
XTerm*font: 10x20

...then be aware that you are, in fact, telling the menus, not just the
VT100 widget, to use the 10x20 font with white-on-black text.  That
asterisk is a wildcard, not an ordinary separator.  XTerm is doing exactly
what you are telling it to do.  If you find X resources confusing, don't
use them, or read the "RESOURCES" section of the X(7) manual page.

If you want to set X resources for xterm that affect only its VT100 widget,
then you need to say so:

XTerm.VT100.background: white
XTerm.VT100.foreground: black
XTerm.VT100.font: 10x20
XTerm.VT100.geometry: 200x55-0+20

-- 
G. Branden Robinson                |
Debian GNU/Linux                   |           //     // //  /     /
branden@debian.org                 |           EI 'AANIIGOO 'AHOOT'E
http://people.debian.org/~branden/ |

Attachment: signature.asc
Description: Digital signature


Reply to: