[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 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

Normally I stay away from xrdb (it is abused by people designing desktops).
But "xrdb -query -all" is useful.  Usually "appres XTerm" is enough for me
to see where a problem lies.
 
> The problem sounds as if it may or may not be in 'xterm'... but if it
> isn't, I'm puzzled as to where else it could be.
> 
> 
> Regards,
> * Ben Okopnik * Editor-in-Chief, Linux Gazette * http://linuxgazette.net *

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgpsK0D9sEcXK.pgp
Description: PGP signature


Reply to: