C
Mouseless Model Keyboard Mappings
This appendix lists information for the Mouseless Model, including the following:
• Resource mappings for the Mouseless Model key bindings.
• Semantic actions for the Mouseless Model.
• SunView1 to Mouseless Model keyboard command mappings.
C.1 Mouseless Model Resources
Each action’s mapping is determined by the value of a resource. The name of the resource is:
OpenWindows.KeyboardCommand.
XViewSemanticAction
XViewSemanticAction is the name of the XView semantic action, without the ACTION_ pre-
fix. For the resource names, the underscore naming paradigm is changed to the capitalized
paradigm (see example). Each value for a resource has the form:
mapping[,mapping...]
and each mapping is of the form:
KeysymName[+Modifier . . . ]
In other words, each mapping is separated by a comma, and if the keysym is modified, then
each modifier is separated by a plus sign. A modifier is either “Shift,” “Ctrl,” “Alt,” or
“Meta.” Note that when giving alphabetic characters as keysyms, the case of the Keysym-
Name is pertinent. For uppercase characters, use the uppercase alpha keysym, for example
“L”, instead of the lowercase with a “Shift” modifier. When an alphabetic character is not
modified by shift, then use the lowercase alpha keysym (e.g., l+Meta). Unmodified
ASCII
keyboard commands should not be listed.
Mouseless Model
Keyboard Mappings
Mouseless Model Keyboard Mappings 667
C.1.1 SunView1 Mappings
The following keyboard mappings are always loaded regardless of the setting of OpenWin-
dows.KeyboardCommands.
C.1.1.1 Keyboard core functions
OpenWindows.KeyboardCommand.Stop: L1
OpenWindows.KeyboardCommand.Again: a+Meta,a+Ctrl+Meta,L2
OpenWindows.KeyboardCommand.Props: L3
OpenWindows.KeyboardCommand.Undo: u+Meta,L4
OpenWindows.KeyboardCommand.Copy: c+Meta,L6
OpenWindows.KeyboardCommand.Paste: v+Meta,L8
OpenWindows.KeyboardCommand.FindForward: f+Meta,L9
OpenWindows.KeyboardCommand.FindBackward: F+Meta,L9+Shift
OpenWindows.KeyboardCommand.Cut: x+Meta,L10
OpenWindows.KeyboardCommand.Help: Help
OpenWindows.KeyboardCommand.MoreHelp: Help+Shift
OpenWindows.KeyboardCommand.TextHelp: Help+Ctrl
OpenWindows.KeyboardCommand.MoreTextHelp: Help+Shift+Ctrl
OpenWindows.KeyboardCommand.DefaultAction: Return+Meta
OpenWindows.KeyboardCommand.CopyThenPaste: p+Meta
OpenWindows.KeyboardCommand.Translate: R2
C.1.1.2 Local navigation commands
OpenWindows.KeyboardCommand.Up: p+Ctrl,N+Ctrl,Up,R8,Up+Shift
OpenWindows.KeyboardCommand.Down: n+Ctrl,P+Ctrl,Down,R14,Down+Shift
OpenWindows.KeyboardCommand.Left: b+Ctrl,F+Ctrl,Left,R10,Left+Shift
OpenWindows.KeyboardCommand.Right: f+Ctrl,B+Ctrl,Right,R12,Right+Shift
OpenWindows.KeyboardCommand.JumpLeft: comma+Ctrl,greater+Ctrl
OpenWindows.KeyboardCommand.JumpRight: period+Ctrl
OpenWindows.KeyboardCommand.GoPageBackward: R9
OpenWindows.KeyboardCommand.GoPageForward: R15
OpenWindows.KeyboardCommand.GoWordForward: slash+Ctrl,less+Ctrl
OpenWindows.KeyboardCommand.LineStart: a+Ctrl,E+Ctrl
OpenWindows.KeyboardCommand.LineEnd: e+Ctrl,A+Ctrl
OpenWindows.KeyboardCommand.GoLineForward: apostrophe+Ctrl,R11
OpenWindows.KeyboardCommand.DataStart: Home,R7,Return+Shift+Ctrl,Home+Shift
OpenWindows.KeyboardCommand.DataEnd: End,R13,Return+Ctrl,End+Shift
C.1.1.3 Text editing commands
OpenWindows.KeyboardCommand.SelectFieldForward: Tab+Ctrl
OpenWindows.KeyboardCommand.SelectFieldBackward: Tab+Shift+Ctrl
OpenWindows.KeyboardCommand.EraseCharBackward: Delete,BackSpace
OpenWindows.KeyboardCommand.EraseCharForward: Delete+Shift,BackSpace+Shift
OpenWindows.KeyboardCommand.EraseWordBackward: w+Ctrl
OpenWindows.KeyboardCommand.EraseWordForward: W+Ctrl
OpenWindows.KeyboardCommand.EraseLineBackward: u+Ctrl
OpenWindows.KeyboardCommand.EraseLineEnd: U+Ctrl
OpenWindows.KeyboardCommand.MatchDelimiter: d+Meta
668 XView Programming Manual
OpenWindows.KeyboardCommand.Empty: e+Meta,e+Ctrl+Meta
OpenWindows.KeyboardCommand.IncludeFile: i+Meta
OpenWindows.KeyboardCommand.Insert: Insert
OpenWindows.KeyboardCommand.Load: l+Meta
OpenWindows.KeyboardCommand.Store: s+Meta
C.1.2 Basic Mappings
When the OpenWindows.KeyboardCommands resource is set to Basic or Full, the fol-
lowing keyboard mappings are loaded.
C.1.2.1 Local navigation commands
OpenWindows.KeyboardCommand.Up: Up
OpenWindows.KeyboardCommand.Down: Down
OpenWindows.KeyboardCommand.Left: Left
OpenWindows.KeyboardCommand.Right: Right
OpenWindows.KeyboardCommand.JumpUp: Up+Ctrl
OpenWindows.KeyboardCommand.JumpDown: Down+Ctrl
OpenWindows.KeyboardCommand.JumpLeft: Left+Ctrl
OpenWindows.KeyboardCommand.JumpRight: Right+Ctrl
OpenWindows.KeyboardCommand.PaneUp: R9
OpenWindows.KeyboardCommand.PaneDown: R15
OpenWindows.KeyboardCommand.PaneLeft: R9+Ctrl
OpenWindows.KeyboardCommand.PaneRight: R15+Ctrl
OpenWindows.KeyboardCommand.RowStart: Home,R7
OpenWindows.KeyboardCommand.RowEnd: End,R13
OpenWindows.KeyboardCommand.DataStart: Home+Ctrl,R7+Ctrl
OpenWindows.KeyboardCommand.DataEnd: End+Ctrl,R13+Ctrl
C.1.2.2 Text editing commands
OpenWindows.KeyboardCommand.SelectUp: Up+Shift
OpenWindows.KeyboardCommand.SelectDown: Down+Shift
OpenWindows.KeyboardCommand.SelectLeft: Left+Shift
OpenWindows.KeyboardCommand.SelectRight: Right+Shift
OpenWindows.KeyboardCommand.SelectJumpUp: Up+Shift+Ctrl
OpenWindows.KeyboardCommand.SelectJumpDown: Down+Shift+Ctrl
OpenWindows.KeyboardCommand.SelectJumpLeft: Left+Shift+Ctrl
OpenWindows.KeyboardCommand.SelectJumpRight: Right+Shift+Ctrl
OpenWindows.KeyboardCommand.SelectRowStart: Home+Shift,R7+Shift
OpenWindows.KeyboardCommand.SelectRowEnd: End+Shift,R13+Shift
OpenWindows.KeyboardCommand.SelectPaneUp: R9+Shift
OpenWindows.KeyboardCommand.SelectPaneDown: R15+Shift
OpenWindows.KeyboardCommand.SelectPaneLeft: R9+Shift+Ctrl
OpenWindows.KeyboardCommand.SelectPaneRight: R15+Shift+Ctrl
OpenWindows.KeyboardCommand.SelectDataStart: Home+Shift+Ctrl,R7+Shift+Ctrl
OpenWindows.KeyboardCommand.SelectDataEnd: End+Shift+Ctrl,R13+Shift+Ctrl
OpenWindows.KeyboardCommand.SelectAll: End+Shift+Meta
OpenWindows.KeyboardCommand.SelectNextField: Tab+Meta
OpenWindows.KeyboardCommand.SelectPreviousField: Tab+Shift+Meta
OpenWindows.KeyboardCommand.ScrollUp: Up+Alt
Mouseless Model
Keyboard Mappings
Mouseless Model Keyboard Mappings 669
OpenWindows.KeyboardCommand.ScrollDown: Down+Alt
OpenWindows.KeyboardCommand.ScrollLeft: Left+Alt
OpenWindows.KeyboardCommand.ScrollRight: Right+Alt
OpenWindows.KeyboardCommand.ScrollJumpUp: Up+Alt+Ctrl
OpenWindows.KeyboardCommand.ScrollJumpDown: Down+Alt+Ctrl
OpenWindows.KeyboardCommand.ScrollJumpLeft: Left+Alt+Ctrl
OpenWindows.KeyboardCommand.ScrollJumpRight: Right+Alt+Ctrl
OpenWindows.KeyboardCommand.ScrollRowStart: Home+Alt,R7+Alt
OpenWindows.KeyboardCommand.ScrollRowEnd: End+Alt,R13+Alt
OpenWindows.KeyboardCommand.ScrollPaneUp: R9+Alt
OpenWindows.KeyboardCommand.ScrollPaneDown: R15+Alt
OpenWindows.KeyboardCommand.ScrollPaneLeft: R9+Alt+Ctrl
OpenWindows.KeyboardCommand.ScrollPaneRight: R15+Alt+Ctrl
OpenWindows.KeyboardCommand.ScrollDataStart: Home+Alt+Ctrl,R7+Alt+Ctrl
OpenWindows.KeyboardCommand.ScrollDataEnd: End+Alt+Ctrl,R13+Alt+Ctrl
OpenWindows.KeyboardCommand.EraseCharBackward: Delete,BackSpace
OpenWindows.KeyboardCommand.EraseCharForward: Delete+Shift,BackSpace+Shift
OpenWindows.KeyboardCommand.EraseLine: Delete+Meta,BackSpace+Meta
C.1.3 Full Mouseless Mappings
When the OpenWindows.KeyboardCommands resource is set to Full, the following key-
board mappings are loaded.
C.1.3.1 Keyboard core functions
OpenWindows.KeyboardCommand.Adjust: Insert+Alt
OpenWindows.KeyboardCommand.Menu: space+Alt
OpenWindows.KeyboardCommand.InputFocusHelp: question+Ctrl
OpenWindows.KeyboardCommand.QuoteNextKey: q+Alt
OpenWindows.KeyboardCommand.SuspendMouseless: z+Alt
OpenWindows.KeyboardCommand.ResumeMouseless: Z+Alt
OpenWindows.KeyboardCommand.JumpMouseToInputFocus: j+Alt
C.1.3.2 Global navigation commands
OpenWindows.KeyboardCommand.NextElement: Tab+Ctrl
OpenWindows.KeyboardCommand.PreviousElement: Tab+Shift+Ctrl
OpenWindows.KeyboardCommand.NextPane: a+Alt
OpenWindows.KeyboardCommand.PreviousPane: A+Alt
670 XView Programming Manual
C.1.3.3 Miscellaneous navigation commands
OpenWindows.KeyboardCommand.PanelStart: bracketleft+Ctrl
OpenWindows.KeyboardCommand.PanelEnd: bracketright+Ctrl
OpenWindows.KeyboardCommand.VerticalScrollbarMenu: v+Alt
OpenWindows.KeyboardCommand.HorizontalScrollbarMenu: h+Alt
OpenWindows.KeyboardCommand.PaneBackground: b+Alt
C.2 Mouseless Model Keyboard Semantic Actions
The following semantic actions are defined to support the Mouseless Model.
#define ACTION_ACCELERATOR (XVIEW_FIRST+74) /* 31818 */
#define ACTION_DELETE_SELECTION (XVIEW_FIRST+75) /* 31819 */
#define ACTION_ERASE_LINE (XVIEW_FIRST+76) /* 31820 */
#define ACTION_HORIZONTAL_SCROLLBAR_MENU (XVIEW_FIRST+77) /* 31821 */
#define ACTION_INPUT_FOCUS_HELP (XVIEW_FIRST+78) /* 31822 */
#define ACTION_JUMP_DOWN (XVIEW_FIRST+79) /* 31823 */
#define ACTION_JUMP_MOUSE_TO_INPUT_FOCUS (XVIEW_FIRST+80) /* 31824 */
#define ACTION_JUMP_UP (XVIEW_FIRST+81) /* 31825 */
#define ACTION_MORE_HELP (XVIEW_FIRST+82) /* 31826 */
#define ACTION_MORE_TEXT_HELP (XVIEW_FIRST+83) /* 31827 */
#define ACTION_NEXT_ELEMENT (XVIEW_FIRST+84) /* 31828 */
#define ACTION_NEXT_PANE (XVIEW_FIRST+85) /* 31829 */
#define ACTION_PANE_BACKGROUND (XVIEW_FIRST+86) /* 31830 */
#define ACTION_PANE_LEFT (XVIEW_FIRST+87) /* 31831 */
#define ACTION_PANE_RIGHT (XVIEW_FIRST+88) /* 31832 */
#define ACTION_PANEL_START (XVIEW_FIRST+89) /* 31833 */
#define ACTION_PANEL_END (XVIEW_FIRST+90) /* 31834 */
#define ACTION_PREVIOUS_ELEMENT (XVIEW_FIRST+91) /* 31835 */
#define ACTION_PREVIOUS_PANE (XVIEW_FIRST+92) /* 31836 */
#define ACTION_QUOTE_NEXT_KEY (XVIEW_FIRST+93) /* 31837 */
#define ACTION_RESUME_MOUSELESS (XVIEW_FIRST+94) /* 31838 */
#define ACTION_SCROLL_DATA_END (XVIEW_FIRST+95) /* 31839 */
#define ACTION_SCROLL_DATA_START (XVIEW_FIRST+96) /* 31840 */
#define ACTION_SCROLL_DOWN (XVIEW_FIRST+97) /* 31841 */
#define ACTION_SCROLL_JUMP_DOWN (XVIEW_FIRST+98) /* 31842 */
#define ACTION_SCROLL_JUMP_LEFT (XVIEW_FIRST+99) /* 31843 */
#define ACTION_SCROLL_JUMP_RIGHT (XVIEW_FIRST+100) /* 31844 */
#define ACTION_SCROLL_JUMP_UP (XVIEW_FIRST+101) /* 31845 */
#define ACTION_SCROLL_LEFT (XVIEW_FIRST+102) /* 31846 */
#define ACTION_SCROLL_LINE_END (XVIEW_FIRST+103) /* 31847 */
#define ACTION_SCROLL_LINE_START (XVIEW_FIRST+104) /* 31848 */
#define ACTION_SCROLL_RIGHT (XVIEW_FIRST+105) /* 31849 */
#define ACTION_SCROLL_PANE_DOWN (XVIEW_FIRST+106) /* 31850 */
#define ACTION_SCROLL_PANE_LEFT (XVIEW_FIRST+107) /* 31851 */
#define ACTION_SCROLL_PANE_RIGHT (XVIEW_FIRST+108) /* 31852 */
Mouseless Model
Keyboard Mappings
Mouseless Model Keyboard Mappings 671
Get Volume 7A: XView Programming Manual now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.