1 ================================================================================
3 # Function key mapping for the "more HP" - like layout #
5 ================================================================================
9 ========================
12 PC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |
14 _________________________________________________________________________
15 UNSHF| 132 | Soft| | | | 7/8 | Dspl| Auto| SCRN| SCRN| SCRN| SCRN|
16 SYS | Cols|Reset| | | Beep| Bit | Func| Wrap| 0 | 1 | 2 | 3 |
17 LABEL|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|
18 UNSHF| | | | | | | | | SCRN| SCRN| SCRN| SCRN|
19 USER | F6 | F7 | F8 | F9 | F10 | F11 | F12 | F13 | 0 | 1 | 2 | 3 |
20 LABEL|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|
21 | | | | | | | | | Fkey| U/S |VT/HP| Next|
22 ALT | F14 | HELP| DO | F17 | F18 | F19 | F20 | F21 |Label|Label| Mode| SCRN|
23 |_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|
24 | User| User| User| User| User| User| User| User| | | | |
25 SHIFT| F6 | F7 | F8 | F9 | F10 | F11 | F12 | F13 | | | | |
26 |_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|
27 ALT- | User| User| User| User| User| User| User| User| | | | |
28 SHIFT| F14 | F15 | F16 | F17 | F18 | F19 | F20 | F21 | | | | |
29 |_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|
30 CTRL-| SCRN| SCRN| SCRN| SCRN| SCRN| SCRN| SCRN| SCRN| SCRN| SCRN| SCRN| SCRN|
31 ALT | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
32 |_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|
34 PC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |
39 II. Special Keys Used To Change The General Runtime Functionality
40 =====================================================================
43 To be consistent with XFfree86 2.0 Virtual Screen switching, it is
44 now also possible to switch screens by using:
46 CTRL - ALT - Fx , where x can be 1 ... No of screens compiled,
47 see the definition of PCVT_NSCREENS !
50 Virtual Screen/Terminal switching
51 ---------------------------------
53 F9 or CTRL-ALT-F1 switches to screen 0
54 F10 or CTRL-ALT-F2 switches to screen 1
55 F11 or CTRL-ALT-F3 switches to screen 2
56 F12 or CTRL-ALT-F4 switches to screen 3
57 CTRL-ALT-F5 switches to screen 4
58 CTRL-ALT-F6 switches to screen 5
59 CTRL-ALT-F7 switches to screen 6
60 CTRL-ALT-F8 switches to screen 7
61 CTRL-ALT-F9 switches to screen 8
62 CTRL-ALT-F10 switches to screen 9
63 CTRL-ALT-F11 switches to screen 10
64 CTRL-ALT-F12 switches to screen 11
66 (see also ALT-F12 below)
69 ALT-F9 Function key labels ON / OFF
70 ------------------------------------
72 this key is only operational, when in HP/VT mode, see F11
74 ALT-F9 toggles between function key labels displayed or not.
76 ON: screen has either 25-3 = 22, 28-3 = 25 or 50-3 = 47 lines
77 2 lines fkey labels displayed
78 row/col display enabled
79 1 line status/load avg line
81 OFF: screen has either 25-3 = 22, 28-3 = 25 or 50-3 = 47 lines
82 no function key labels displayed
84 no status/load avg line
86 applicable escape sequences:
89 ESC & j @ remove labels from screen
92 ESC & j A display system fkey labels
93 ESC & j B display user fkey labels
94 ESC & j C display current fkey labels
97 ALT-F10 User / System Function key labels
98 -----------------------------------------
100 this key is only operational, when in HP/VT mode, see ALT-F11
102 ALT-F10 toggles between the display of user or system
105 this key is only active if labels are toggled on via
106 the ALT-F9 function key
108 screen has either 25-3 = 22, 28-3 = 25 or 50-3 = 47 lines
109 2 lines fkey labels displayed
110 row/col display enabled
111 1 line status/load avg line
114 applicable escape sequences: (see above)
116 ESC & j A display system fkey labels
117 ESC & j B display user fkey labels
118 ESC & j C display current fkey labels
121 ALT-F11 Toggle between pure VT and HP-VT Emulation
122 --------------------------------------------------
124 This key switches between pure vt100/vt220 mode and
125 vt100/vt220 with hp-fkey-labels mode of operation.
126 this is not dependent of any screen resolution the
127 virtual consoles are in.
129 initially, after power on, all virtual screens are in
132 - the emulator does not execute any hp escape sequences
133 - the function key label lines are switched off
134 - no load average or status line is displayed
135 - no row / column counter is displayed
136 - no window number is displayed
137 - the full screen 25x80, 28x80 or 50x80 is usable
138 - ALT-F9 and ALT-F10 have no function
140 when toggled to the vt/hp mix of operation, the following
143 - the emulator executes the supported hp-esc sequences
144 - the function key labels are displayable depending
145 on the state of ALT-F9/F10
146 - the load average is displayed
147 - the row / column counters are displayed
148 - the window number is displayed in the lower right corner
149 - in any screen resolution, the last 3 lines are lost,
150 so one has a 22x80, 25x80 and 47x80 resolution
151 - F9 and F10 are operational.
153 when switching modes by means of ALT-F11, the following
154 changes to the current environment, the emulator may
157 - the screen is cleared
158 - the cursor moves to the home position
159 - the scrolling region is reset to default
161 (this functionality is available via an ioctl)
163 ALT-F12 Cycle current screen
164 ----------------------------
166 This key cycles through the display of the video
167 screens. on startup, screen 0 is displayed; with every
168 keypress of F12, the next screen is displayed, wrapping
169 from the maximum screen number back to screen 0.
171 (this functionality is available via an ioctl)
174 III. Special Keys used to change the Runtime Functionality of a Page
175 =======================================================================
177 when in mixed HP/VT mode, one has two types of function key labels
178 on screen, user function keys and system function keys.
180 this functionality is NOT available in pure VT220 mode !
182 the user function keys emit the below mentioned VT220 function-
183 key sequences. the labels can be reprogrammed by use of escape
186 in system function key mode, several pre-programmed functions inside
187 the emulator can be toggled, currently implemented are:
189 - F1, if a chipset is detected for which 132 operation is supported,
190 F1 toggles between 80 columns and 132 columns.
191 - F2, does a soft reset of the emulator code
194 - F5, toggle the audible beep generation
195 - F6, toggle 7/8 bit char width
196 - F7, toggle display functions. this means that control codes
197 in the range 0x00 to 0x1f are not EXECUTED by the emulator
198 any longer, but displayed on the screen
199 - F8, toggle automatic cursor wraparound at end of line
201 these functions operate just for the selected screen
204 IV. Keyboard VT220 compatibility
205 ====================================
207 The following keys behave different as probably expected.
209 They were mapped to provide more VT220 compatibility.
211 To have F1-F8 emit something in HP-mode, you have to switch
212 to user function key labels by using ALT-F10 (see ALT-F10 above) !
214 PC Keyboard VT220 Keyboard
215 ------------- --------------------------------------------------
224 ALT-F1 F14 (ESC [ 26 ~)
225 ALT-F2 HELP (ESC [ 28 ~)
226 ALT-F3 DO (ESC [ 29 ~)
227 ALT-F4 F17 (ESC [ 31 ~)
228 ALT-F5 F18 (ESC [ 32 ~)
229 ALT-F6 F19 (ESC [ 33 ~)
230 ALT-F7 F20 (ESC [ 34 ~)
231 ALT-F8 F21 (ESC [ 35 ~) (i know !!!!)
233 SHIFT-F1 ... SHIFT-F8
234 User Defined Keys for F6 - F13
236 ALT-SHIFT-F1 ... ALT-SHIFT-F8
237 User Defined Keys for F14 - F20
239 Insert Insert Here (ESC [ 2 ~)
241 Delete Remove (ESC [ 3 ~)
243 Home Find (ESC [ 1 ~)
245 End Select (ESC [ 4 ~)
247 PgUp Prev Screen (ESC [ 5 ~)
249 PgDn Next Screen (ESC [ 6 ~)
257 Cursor Keys dependent upon state of cursor key mode either
258 ESC [ A ... ESC [ D or ESC O A ... ESC O D
260 NumLock toggles Numeric Keypad for Keypad Numeric Mode
261 and Keypad Application Mode
263 ALT-Keypad-0 can be used to generate any keycode in the
264 ALT-Keypad-1 rage 0-255.
265 ALT-Keypad-2 this was modeled with the behaviour of a
266 ALT-Keypad-3 popular boot loader in mind
274 Numeric Keypad dependent upon state of keypad numeric/application
275 mode either 0 ... 9 or ESC O p ... ESC O y
277 ALT-NumLock emits PF1 sequence (ESC O P)
279 ALT-Keypad-/ emits PF2 sequence (ESC O Q)
281 ALT-Keypad-* emits PF3 sequence (ESC O R)
283 ALT-Keypad-- emits PF4 sequence (ESC O S)