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

Bug#305723: xterm: Odd behavior in Ctrl-click menu invocation



On Fri, Apr 22, 2005 at 07:33:08PM -0400, Thomas Dickey wrote:
> On Fri, Apr 22, 2005 at 06:57:03PM -0400, Benjamin A. Okopnik wrote:
> ...
> > The xterm that's spawned above does not have the 'tiny menu' behavior.
> > However, running something like 
> > 
> > xterm -xrm 'XTerm*VT100*geometry: 80x24+0+21'
> > 
> > without flushing the xrdb cache _does_ have it. Does the stuff in xrdb
> > perhaps override the '-xrm' setting in some odd way? The size of the
> > terminal does change when set with '-xrm', but the 'tiny menu' behavior
> > does not change unless the cache is flushed.
> 
> It could.  Just because you give an -xrm option doesn't mean that it is
> going to determine the final result.  Resource values accumulate.  A
> very general pattern can be easily overridden, but more specific patterns
> are harder to override.  So you could for instance have some resource
> conflict via xrdb.  xterm's command-line options are implemented by applying
> less-general resource settings than normally appear in the app-defaults
> file.  But (this is the way X resources work), those could be overridden
> by an app-defaults file with specific patterns.
> 
> "*" is general
> "." is specific

Ah - thank you; that was data I didn't have. I've set

``
XTerm*VT100*geometry: 134x40+0+21
''

in my .Xresources, restarted X, and - no more problem. Thank you for
your help!

(I do note that the 'tiny menu' behavior, although it's sorta
documented, is a bug; the incorrect geometry usage should either
generate an error or resize everything proportionally. I suspect it's
not going to get fixed anytime soon, though... :)


Regards,
* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://linuxgazette.net *




Reply to: