HP Visualize J5000 hp workstations - hp-ux 10.20 graphics administration guide - Page 97

Customizing Keyboard Input, Modifying Modifier Key Bindings with xmodmap

Page 97 highlights

The easiest way to solve this dilemma is to call in another modifier. The following lines illustrate this. Compare them to the previous example. ###pointer function key pointer_key_mod1 left_shift pointer_key_mod2 left_extend pointer_left_key cursor_left pointer_right_key cursor_right pointer_up_key cursor_up pointer_down_key cursor_down In this example, • Pressing the • Pressing • Pressing key moves the hpterm text cursor up. moves the cursor up in the program you frequently operate. moves the pointer up. Using a similar technique, you can also reassign the sequence that aborts a session. You can specify the press of a single key or a combination of two, three, or four key presses. Just make sure that the key sequence you select isn't something you're going to type by accident. Customizing Keyboard Input Besides remapping the mouse's pointer and buttons to your keyboard, you can remap any key on the keyboard to any other key. Modifying Modifier Key Bindings with xmodmap To change the meaning of a particular key for a particular X11 session, or to initialize the X server with a completely different set of key mappings, use the xmodmap client. Note: There are now two keyboards available for Hewlett-Packard workstations, the 46021 keyboard, and the C1429 keyboard. See "Using the Keyboards" for more information on using these keyboards and the differences between them The syntax for xmodmap is as follows: xmodmap [] where are: -display : Specifies the host, display number, and screen to use. -help Displays a brief description of xmodmap options. -grammar Displays a brief description of the syntax for modification expressions. -verbose Prints log information as xmodmap executes. Page 97 Graphics Administration Guide for HP-UX 10.20

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171

The easiest way to solve this dilemma is to call in another modifier. The following lines illustrate this.
Compare them to the previous example.
###pointer function
key
pointer_key_mod1
left_shift
pointer_key_mod2
left_extend
pointer_left_key
cursor_left
pointer_right_key
cursor_right
pointer_up_key
cursor_up
pointer_down_key
cursor_down
In this example,
Pressing the
key moves the hpterm text cursor up.
Pressing
moves the cursor up in the program you frequently operate.
Pressing
moves the pointer up.
Using a similar technique, you can also reassign the
sequence that aborts a
session. You can specify the press of a single key or a combination of two, three, or four key presses.
Just make sure that the key sequence you select isn't something you're going to type by accident.
Customizing Keyboard Input
Besides remapping the mouse's pointer and buttons to your keyboard, you can remap any key on the
keyboard to any other key.
Modifying Modifier Key Bindings with xmodmap
To change the meaning of a particular key for a particular X11 session, or to initialize the X server with
a completely different set of key mappings, use the xmodmap client.
____________________________________________________________________________________
Note:
There are now two keyboards available for Hewlett-Packard workstations, the 46021 keyboard,
and the C1429 keyboard. See
"
Using the Keyboards
" for more information on using these keyboards and
the differences between them.
____________________________________________________________________________________
The syntax for xmodmap is as follows:
xmodmap <options> [<filename>] where <options>
are:
-display <host>:<display>
Specifies the host, display number, and screen to use.
-help
Displays a brief description of xmodmap options.
-grammar
Displays a brief description of the syntax for modification expressions.
-verbose
Prints log information as xmodmap executes.
Graphics Administration Guide for HP-UX 10.20
Page 97