[Xastir] odd crash.
Curt, WE7U
archer at eskimo.com
Tue Dec 7 16:59:23 EST 2004
On Tue, 7 Dec 2004, J. Lance Cotton wrote:
> It works fine with lesstif... It's when I use OpenMotif that I see the problem.
>
> Not a big deal. I just don't see what's so great about OpenMotif. ;-)
It's less buggy. Other than that, they're work-alikes.
Excerpt from the FVWM FAQ. I've probably done some of this to my
config file, which might be why it's working for me now:
5.5 Why do NumLock, CapsLock and ScrollLock interfere with
ClickToFocus and/or my mouse bindings?
A: Because they are treated as modifiers. You can use the
IgnoreModifiers command to turn individual modifiers off for
bindings. With XFree86 and fvwm version 2.4.0 or above, the
right command is
IgnoreModifiers L25
If you changed your modifiers manually or are using a different
X server use the 'xmodmap' command to find out which modifiers
correspond to the keys you want to switch off.
This command creates a lot of extra network traffic, depending
on your CPU, network connection, the number of Key, Mouse or
PointerKey commands in your configuration file and the number
of modifiers you want to ignore. If you do not have a
lightning fast machine or very few bindings you should not
ignore more than two modifiers. So do not ignore scroll-lock
if you have no problem with it.
A better way to solve this problem is to modify the keyboard
mapping of your X server. The commands
xmodmap -e "clear Lock"
xmodmap -e "clear Mod2"
xmodmap -e "clear Mod5"
remove the CapsLock, NumLock and ScrollLock from the keyboard
map. Pressing these keys has no effect then. To re-add them
try this:
xmodmap -e "add Lock = Caps_Lock"
xmodmap -e "add Mod2 = Num_Lock"
xmodmap -e "add Mod5 = Scroll_Lock"
Fvwm has to be restarted to use the changes made by
xmodmap. Please refer to the man page of the xmodmap command
for further details. If you disable the CapsLock key in your
keyboard map in this way, you can speed up fvwm a bit by
removing the Lock modifier from the list of ignored modifiers:
IgnoreModifiers
Since we all occasionally press NumLock or ScrollLock, it makes
sense to redefine some main bindings to work with any modifiers.
I.e. consider to replace something like this in your
configuration:
Mouse 1 R N Menu MenuFvwmRoot
with this:
Mouse 1 R A Menu MenuFvwmRoot
--
Curt, WE7U. APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto: A tax on people who are bad at math." -- unknown
"Windows: Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me: I picked the coordinate system!"
More information about the Xastir
mailing list