[comp.windows.x] Xterm menus

grunwald@FOOBAR.COLORADO.EDU (Dirk Grunwald) (01/09/90)

Hi,

total X11R4, pretty much virgin installation, DEC-3100, used default
compile options.

the menus in the new xterm appear missized; they're very small boxes,
and only in one can I see enough to know that there are selectable
items in there. I press Control-Mouse to get this mis-sized items.
To see if this was a problem with finding the proper XTerm.ad file,
I did ``xrdb -merge XTerm.ad'' in the source directory.

Still no go. Anyone else see this? Any fix? I would assume I simply
need to edit XTerm.ad to specify a width on the menu, but wanted to
check first (specifying a width for e.g. mainMenu.width didn't work).

Dirk Grunwald -- Univ. of Colorado at Boulder	(grunwald@foobar.colorado.edu)
						(grunwald@boulder.colorado.edu)

Damon.Lipparelli@cs.cmu.edu (01/10/90)

I just finished building R4 on my hp800 and got a similar problem.  First,
the applications seem to think that the app-defaults dir is under /usr/lib/X11
even though I changed the position of it in the config stuff.  But, after
some fiddling, I got the app-defaults to load up.  Now, I get great looking
menus under xterm, but I can't select anything.  Nothing happens as I move
over the items on the menu.

Does this sound familiar to anyone?

Damon Lipparelli
(lipp@miracle.edrc.cmu.edu)

kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (01/10/90)

> the menus in the new xterm appear missized; they're very small boxes...

Make sure you don't use ``xterm*geometry:'' anywhere this will match the menus
as well as the main window, and since most sizes are something like 80x24...

Use a resource like this instead:

xterm*vt100.geometry:	80x24


						Chris D. Peterson     
						MIT X Consortium 

Net:	 kit@expo.lcs.mit.edu
Phone:   (617) 253 - 9608	
Address: MIT - Room NE43-213

kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (01/10/90)

> Now, I get great looking menus under xterm, but I can't select anything. 
> Nothing happens as I move over the items on the menu.

This will often happen if you have a modifier key stuck on, something like
shift lock, or num lock will keep your menus from working.  Since the toolkit
is not processing the server grab when these extra modifiers are on.


						Chris D. Peterson     
						MIT X Consortium 

Net:	 kit@expo.lcs.mit.edu
Phone:   (617) 253 - 9608	
Address: MIT - Room NE43-213