[16031] in Athena Bugs
Re: sgi 8.1.17, sunsparc4,5: xterm
daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Sat Jul 18 06:33:38 1998
To: Jordan A Weitz <jaw2s@MIT.EDU>
Cc: bugs@MIT.EDU
From: Jacob Morzinski <jmorzins@MIT.EDU>
Date: 18 Jul 1998 06:33:31 -0400
In-Reply-To: Jordan A Weitz's message of Fri, 17 Jul 1998 21:36:24 EDT
<daemon@ATHENA.MIT.EDU> (Jordan A Weitz) writes:
> What were you trying to do?
> set xresources for xterm
>
> What's wrong:
> xterm|XTerm*geometry:=blah blah causes the xterm window AND the
> xterm menus are referenced to these variables... so the menu apears, say
> 80x50. very undesirable.
This is not a bug -- Xterm did what you told it to do.
X resources are hideously powerful. They have to be used
carefully, for it's not always obvious what the ramifications
of switching from a "." to a "*" are.
(In case you're wondering, "*" acts like a glob: it tells xterm
that you want ALL of the xterm's widgets to have their
"geometry" resource set to the value you specified.)
A good rule of thumb to remember is: _never_ use "*" when setting
geometry reources.
-jacob morzinski
PS: To use Xresources to change the size of xterms, use something like:
xterm.vt100.geometry: 100x100
Unfortunately, the exact syntax of the line _does_ depend on which
applcation you're trying to control. (Netscape, for example, uses
Netscape.geometry: 800x700
)