Function Keys Mapper



[ Home ] [ Kermit 95 ] [ C-kermit ] [ Scripts ] [ Current ] [ New ] [ FAQ ] [ Support ]
  1. Function Key Mapping Mac
  2. Function Keys Mapping

Sorry, it is not possible due to the hardware design of Fn key, I suggest using following key maps to solve your current problem: PrtScr - AppKey shift+PrtScr - PrtScr You can easily achieve this.

Function Keys Mapper

Function Key Mapping Mac

Personal Communications includes two.KMP keyboard map files that map the standard Win32 hotkeys for Cut, Copy, and Paste to Ctrl+X, Ctrl+C and Ctrl+V, respectively. You can use these keyboard map files or add the key values to an existing map file. For 5250 sessions, the.KMP file provided is pcswinkb5.kmp. The remapping is given in Table 15. This variable holds a keymap that describes the character sequences sent by function keys on an ordinary character terminal. The value of input-decode-map is usually set up automatically according to the terminal’s Terminfo or Termcap entry, but sometimes those need help from terminal-specific Lisp files.

KERMIT 95 VT220 / VT320 FUNCTION KEY MAPPING

Kermit 95 is Columbia University's communicationssoftware for Windows, with 40+ terminal emulations including DEC VT320and below available over serial-port, modem, Telnet, SSH, and otherkinds of connections, plus Kermit and XYZMODEM file transfer,scripting,and many other features, including a flexible key mapping mechanism, whichallows (for example) the PC keyboard to be mapped to a DEC terminal keyboard.

This page applies to DEC VT220, 320, 420, and 520 series terminals withthe standard DEC LK201 keyboard. It does NOT apply to the DECVT100 series,which does not have Function (F) keys.


Shelter 2 mountains download. DEC VT220/320 (LK201) Keyboard (CLICK IMAGE to magnify).

<>
(CLICK IMAGE to magnify)A glance the DEC keyboard layout diagrams above and at left reveals that theDEC LK201 and IBM 101 keyboards are quite different, especially in the toprow. Those who wish to map the DEC keyboard to the IBM one quickly findthat the DEC keyboard has more function keys: 16 versus 12 on the PCkeyboard. To confound the confusion, DEC's F-keys are labeled F6 throughF20 (F1-F4 are only for local use) and DEC and IBM keys that have the samefunction (e.g. Local Print = Print Screen, Hold Session = Scroll Lock) arein different places.

No mapping of DEC to IBM F-keys will please everyone. Kermit 95 comes witha default mapping, which is described here. If you don't like it, you canchange it as described below. Here is the defaultmapping of DEC to IBM F-keys:

DEC key
IBM keyKverbRemarks
Hold SessionScroll LockKholdScrn
Local PrintAlt-pKdump
Set Up(none)
Switch Session(none)
F5F5 KBreakSend BREAK
F6F6 KdecF06DEC F6
F7F7 KdecF07DEC F7
F8F8 KdecF08DEC F8
F9F9 KdecF09DEC F9
F10F10 KdecF10DEC F10
F11Alt-F1 KdecF11DEC F11: ESC (Escape)
F12Alt-F2 KdecF12DEC F12: BS (Backspace)
F13Alt-F3 KdecF13DEC F13: LF (Linefeed)
F14Alt-F4 KdecF14DEC F14
F15Alt-F5 KdecF15The DEC Help key
F16Alt-F6 KdecF16The DEC Do key
F17Alt-F7 KdecF17DEC F17
F18Alt-F8 KdecF18DEC F18
F19Alt-F9 KdecF19DEC F19
F20Alt-F10 KdecF20DEC F20

To change the key map, you need to write a SET KEY or SET TERMINAL KEYcommand for each key you wish to remap. Each such command requires akeycode to identify the key or key combination to be mapped, and avalue to map it to. The value can be a 'Kverb' (Keyboard Verb),such as the ones listed above. A Kverb with a name like 'KdecXX'means 'send what the DEC xx key would send'. You can find a completelisting of Kermit 95 keycodes HERE, or you canuse the SHOW KEY to find out the keycode of any key or key combination:

This tells you that the keycode for Alt-F5 is 2420 and its currentassignment (valu) is the Kverb Kdecf15. Note that in SET(TERMINAL) KEY commands:

  • Keycodes may be written with or without a backslash prefix;2420 = 2420.
  • Kverb names are case-independent; e.g. Kdecf15 =KDecF15 = kdecf15.
  • Certain DEC F-key verb names have alternative spellings,e.g. KDecF05 = KdecF5.
  • Certain DEC F-key verb names are synonyms for others, e.g.e.g. KDecF15 = KdecHelp.

Here's a table of IBM F keys, their default assignments in VT220 and VT320emulation, and their keycodes:

Function Keys MapperKey
KeycodeValueRemarks
F1368KgoldDEC PF1 = The Gold Key
F2369Kpf2DEC PF2
F3370Kpf3DEC PF3
F4371Kpf4DEC PF4
F5372KdecF05DEC Break key (= Kbreak)
F6373KdecF06DEC F6
F7374KdecF07DEC F7
F8375KdecF08DEC F8
F9376KdecF09DEC F9
F10377KdecF10DEC F10
F11378KdecF15DEC Help Key (= KdecHelp)
F12379KdecF16DEC Do Key (= KdecDo)

And here is a table of IBM F-Alt-key combinations, as above:

Key
KeycodeValueRemarks
Alt-F12416KdecF11DEC F11: ESC (Escape)
Alt-F22417KdecF12DEC F12: BS (Backspace)
Alt-F32418KdecF13DEC F13: LF (Linefeed)
Alt-F42419KdecF14DEC F14
Alt-F52420KdecF15DEC Help (= KdecHelp)
Alt-F62421KdecF16DEC Do (= KdecDo)
Alt-F72422KdecF17DEC F17
Alt-F82423KdecF18DEC F18
Alt-F92424KdecF19DEC F19
Alt-F102425KdecF20DEC F20
Alt-F112426(undefined)
Alt-F122427(undefined)

Shift-F-key combinations are reserved for DEC User Defined Keys (that is,for keys whose values can be defined by escape sequences sent from the hostapplication). Of course you can redefine these too if you wish, as well asdefine Ctrl-F-key, Ctrl-Alt-F-key, Ctrl-Shift-F-key, or any othercombinations you wish. Just use SHOW key to obtain the keycodes, orconsult the TABLE.

To remap keys, use SET KEY (which appliesuniversally) or SET TERMINAL KEY (which applies only to a particularemulation). Suppose, for example, you want to remap the F1 key to performthe Hold Session function. Use any of the following commands:

The first one stays in effect, even if you switch to another terminalemulation. The second applies only to VT220 emulation, and the third toVT320.

Put SET [TERMINAL] KEY Commands in..
If you want them to..
v(appdata)K95CUSTOM.INIApply to all your connections.
Dialer Entry Keyboard PageApply to a particular connection.

The DEC (and all other) Kverbs are listed in your Kermit 95 Manual:

Help -> Kermit 95 Manual -> Index to Reference Materials -> Terminal Emulation ->List of Keyboard Verbs

For complete instructions on key mapping, consult Chapter 7 of the Kermit 95manual.

Function Keys Mapper

This File Last Updated:Thu Dec 18 16:29:02 2003EST

[ Top ][ Keycodes ][ K95 README ][ K95 FAQ ][ K95 Home ][ Kermit Home ]

Keys

Function Keys Mapping

Kermit 95 FAQ /Columbia University /kermit@columbia.edu