page-up,page-down on sun keyboard

Scott Tringali scott.tringali at etnus.com
Mon Aug 9 17:12:03 CEST 2004


Timothy Paige wrote:

> osfPageUp     :	<Key>Prior
 > osfPageDown   :	<Key>Next
 > osfPageUp	:	<Key>F29
> osfPageDown	:	<Key>F35

It looks like the Sun session manager installed these double-keybindings 
(/usr/dt/lib/bindings/sun), among others.  It might be that they 
customized their Motif to be able to read them, but the normal OpenMotif 
cannot.  Or, a bug in OpenMotif.  As far as I can tell, this syntax 
means the "F29" overrides the "Prior".

For Motif 2, I think what you want is:

   osfPageUp: <Key>Prior,<Key>F29
   osfPageDown: <Key>Next,<Key>F35

But this syntax doesn't work with Motif 1.  In that case, I would run 
'xev', press your Page Up key, and see which code it actuall sends 
(either F29 or Prior).  Whichever one it is, use that and delete the other.

Sorry this is so complicated.  The system almost works, except where it 
doesn't.  See "man VirtualBindings" for more info.

[Developers - perhaps we can to somehow detect these legal duplicate 
bindings, merge them into a single one, and somehow proceed?]



More information about the Discuss mailing list