Skip to Main Content
Volume 7A: XView Programming Manual
book

Volume 7A: XView Programming Manual

by Dan Heller
October 1994
Intermediate to advanced content levelIntermediate to advanced
770 pages
22h 58m
English
O'Reilly Media, Inc.
Content preview from Volume 7A: XView Programming Manual
6.13.2 Mouseless Model Resources
Each Mouseless semantic action mapping and its corresponding key binding is determined by
the value of a resource. The default key bindings are based on the Sun Type-4 keyboard. The
bindings occur when applications are initialized and xv_init() reads the resource names.
Appendix C, Mouseless Model Keyboard Mappings, lists all of the Mouseless resources,
grouped according to the values loaded for the three different mouseless model modes: Sun-
View1, Basic, and Full. Section 6, Command-line Arguments and XView Resources, in the
XView Reference Manual, lists all XView resources alphabetically (all the mouseless
resources begin with OpenWindows.KeyboardCommand.) Mouseless model resources
use the following naming conventions:
OpenWindows.KeyboardCommand. XViewSemanticAction
XViewSemanticAction is the name of the XView semantic action without its ACTION_ prefix
(note that the capitalization for the action is also changed and the underscore characters “_”
are deleted). For example:
OpenWindows.KeyboardCommand.JumpRight: period+Ctrl
corresponds to binding the semantic action ACTION_JUMP_RIGHT to period modified by the
Control character.
Each resource may define several mappings for an individual action. Multiple mappings are
separated by “,” and have the following general format:
mapping[,mapping...]
The following resource definition is an example:
OpenWindows.KeyboardComma
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Volume 6A: Motif Programming Manual

Volume 6A: Motif Programming Manual

David Brennan, Dan Heller, Paula Ferguson
Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization

Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization

Alejandro Terrazas, John Ostuni, Michael Barlow

Publisher Resources

ISBN: 9780937175873