Newsgroups: vmsnet.networks.desktop.pathworks
Subject: RE: VMS WP key map for SETHOST or KERMIT?
From: "G. Pentecost" <PENTECOST@BROOK.BITNET>
Date: 25 Jan 1993 17:20:29 -0400
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT

> Does anyone have a keyboard mapping file for SETHOST or MS-DOS KERMIT that wil
   l
> map VMS wordperfect V5.1 keys to the same locations as PC Wordperfect?  VMS WP
> supplied a SETHOST mapping file that was supposed to work with Pathworks V4.0
> but doesn't work with V4.1. Thanks.
 
 
Here's the mapping file that came with the version of Kermit we're using.
 
Gregg.
 
PENTECOST@BROOK.EDU
 
====== BEGIN WP50.INI
echo Defining Function Keys for WordPerfect Products...
 
set key CLEAR           ;clear all key definitions
set terminal wrap OFF
set terminal VT102
 
;Remap some Predefined Kermit Keys which would be overridden by WP functions
set key \2356 \Kexit ;ALT-PERIOD now Exits Kermit connection (was ALT-X)
set key \2343 \Kdump ;ALT-SEMICOLON now Dumps Kermit Screen (was CTRL-END)
set key \2305 \27    ;ALT-ESC now sends true escape (Ascii 27) (was ESC)
set key \2332 \10    ;ALT-RETURN now sends LineFeed (Ascii 10) (was Ctrl-J)
 
;The macro terminalR is invoked
;     a) when ESC[?34l (lowercase L) is received from the host,
;     b) when ALT-V is pressed while WP key definitions are active
define terminalR set key clear,-
  echo WP Key Definitions Cleared -- VT320 Default Mapping Now in Force,-
  take VT320.ini,-
  connect
set key \2351 \KterminalR
 
;The macro terminalS is invoked
;     a) whenever ESC[?34h is received from the host
;     b) when ALT-W is pressed after having previously cleared
define terminalS take wp.ini, connect
set key \2321 \KterminalS
 
;Esc - WordPerfect Escape
set key \27 \27Ow
 
;F1 - Cancel
set key \315 \27[18~
;F2 - Search ->
set key \316 \27[19~
;F3 - Help
set key \317 \27[20~
;F4 - Indent ->
set key \318 \27[21~
;F5 - List Files
set key \319 \27[23~
;F6 - Bold
set key \320 \27[24~
;F7 - Exit
set key \321 \27[25~
;F8 - Underline
set key \322 \27[26~
;F9 - Merge R
set key \323 \27[31~
;F10 - Save
set key \324 \27[32~
 
;F11 - Reveal Codes
set key \389 \27[33~
;F12 - Block
set key \390 \27[34~
 
;Shift F1 - Super/Subscript
set key \852 \27OP\27[18~
;Shift F2 - Search <-
set key \853 \27OP\27[19~
;Shift F3 - Switch
set key \854 \27OP\27[20~
;Shift F4 - -> Indent <-
set key \855 \27OP\27[21~
;Shift F5 - Date
set key \856 \27OP\27[23~
;Shift F6 - Center
set key \857 \27OP\27[24~
;Shift F7 - Print
set key \858 \27OP\27[25~
;Shift F8 - Line
set key \859 \27OP\27[26~
;Shift F9 - Merge E
set key \860 \27OP\27[31~
;Shift F10 - Retrieve
set key \861 \27OP\27[32~
 
;Ctrl F1 - Shell
set key \1374 \27OQ\27[18~
;Ctrl F2 - Spell
set key \1375 \27OQ\27[19~
;Ctrl F3 - Screen
set key \1376 \27OQ\27[20~
;Ctrl F4 - Move
set key \1377 \27OQ\27[21~
;Ctrl F5 - Text In/Out
set key \1378 \27OQ\27[23~
;Ctrl F6 - Tab Align
set key \1379 \27OQ\27[24~
;Ctrl F7 - Footnote
set key \1380 \27OQ\27[25~
;Ctrl F8 - Print
set key \1381 \27OQ\27[26~
;Ctrl F9 - Merge/Sort
set key \1382 \27OQ\27[31~
;Ctrl F10 - Macro Def
set key \1383 \27OQ\27[32~
 
;Alt F1 - Thesaurus
set key \2408 \27OR\27[18~
;Alt F2 - Replace
set key \2409 \27OR\27[19~
;Alt F3 - Reveal Codes
set key \2410 \27OR\27[20~
;Alt F4 - Block
set key \2411 \27OR\27[21~
;Alt F5 - Mark Text
set key \2412 \27OR\27[23~
;Alt F6 - Flush Right
set key \2413 \27OR\27[24~
;Alt F7 - Math/Columns
set key \2414 \27OR\27[25~
;Alt F8 - Page
set key \2415 \27OR\27[26~
;Alt F9 - Merge Codes
set key \2416 \27OR\27[31~
;Alt F10 - Macro
set key \2417 \27OR\27[32~
 
;Middle Keypad Insert
set key \4434 \27Op
;Right Keypad Ins
set key \338  \27Op
 
;Middle Keypad HOME
set key \4423 \27Ow
;Right Keypad HOME
set key \327  \27Ow
 
;Middle Keypad Pg Up
set key \4425 \27Ox
;Right Keypad Pg Up
set key \329  \27Ox
 
;Middle Keypad Delete
set key \4435 \27On
;Right Keypad Del
set key \339 \27On
 
;Middle Keypad End
set key \4431 \27Ow\27Ow\27[C   ;Actually Functions as Home,Home,Right
                                ;This may be necessary to provide
                                ; true End function in PlanPerfect
;Right Keypad End
set key \335 \27OS\27OS\27[C    ;Actually Functions as Home,Home,Right
                                ;This may be necessary to provide
                                ; true End function in PlanPerfect
;Middle Keypad Pg Dn
set key \4433 \27Os
;Right Keypad Pg Dn
set key \337 \27Os
 
;Middle Keypad Up arrow
set key \4424 \Kuparr
;Right Keypad Up arrow
set key \328 \Kuparr
 
;Middle Keypad Left arrow
set key \4427 \Klfarr
;Right Keypad Left arrow
set key \331 \Klfarr
 
;Middle Keypad Right arrow
set key \4429 \Krtarr
;Right Keypad Right arrow
set key \333 \Krtarr
 
;Middle Keypad DownArrow
set key \4432 \Kdnarr
;Right Keypad Down arrow
set key \336 \Kdnarr
 
;Ctrl BackSpace - Delete Word
set key \127 \27OP\8
 
;Shift Tab - Margin Release
set key \783 \27OP\9
 
;Ctrl ENTER - Hard Page
set key \10 \27OQ\13
 
;Keypad - ; Screen Up
set key \330 \27OP\27[A
;Ctrl Middle Keypad UpArrow - Screen Up
set key \5517 \27OP\27[A
;Ctrl Right Keypad UpArrow - Screen Up
set key \1421 \27OP\27[A
 
;Keypad + ; Screen Down
set key \334 \27OP\27[B
;Ctrl Middle Keypad DownArrow - Screen Down
set key \5521 \27OP\27[B
;Ctrl Right Keypad DownArrow - Screen Down
set key \1425 \27OP\27[B
 
;Ctrl Middle Keypad LeftArrow - Word left
set key \5491 \27OP\27[D
;Ctrl Right Keypad LeftArrow -Word Left
set key \1395 \27OP\27[D
 
;Ctrl Middle Keypad RightArrow - Word Right
set key \5492 \27OP\27[C
;Ctrl Right Keypad RightArrow - Word Right
set key \1396 \27OP\27[C
 
;Ctrl Middle Keypad End - Delete EOL
set key \5493 \27OQ\27On
;Ctrl Right Keypad End - Delete EOL
set key \1397 \27OQ\27On
 
;Ctrl Middle Keypad PgDn - Delete EOP
set key \5494 \27OR\27On
;Ctrl Right Keypad PgDn - Delete EOP
set key \1398 \27OR\27On
 
;Ctrl Middle Keypad PgUp - Macro Pause
set key \5508 \27OR\27Oz
;Ctrl Right Keypad PgUp - Macro Pause
set key \1412 \27OR\27Oz
 
;Ctrl Middle Keypad Home - Go To
set key \5495 \27OR\27Os
;Ctrl Right Keypad HOME - Go To
set key \1399 \27OR\27Os
 
;Alt 1 - Quick Macro
set key \2424 \27OP
 
;Alt 2 - Keymap 1
set key \2425 \27OQ    ;this only works for VAX/VMS WP products
 
;Alt 3 - PF3 Key mapping
set key \2426 \27OR    ;this only works for VAX/VMS WP products
 
;Alt A - QuickMacro A
set key \2334 \27OPa
;Alt B - QuickMacro B
set key \2352 \27OPb
;Alt C - QuickMacro C
set key \2350 \27OPc
;Alt D - QuickMacro D
set key \2336 \27OPd
;Alt E - QuickMacro E
set key \2322 \27OPe
;Alt F - QuickMacro F
set key \2337 \27OPf
;Alt G - QuickMacro G
set key \2338 \27OPg
;Alt H - QuickMacro H
set key \2339 \27OPh
;Alt I - QuickMacro I
set key \2327 \27OPi
;Alt J - QuickMacro J
set key \2340 \27OPj
;Alt K - QuickMacro K
set key \2341 \27OPk
;Alt L - QuickMacro L
set key \2342 \27OPl
;Alt M - QuickMacro M
set key \2354 \27OPm
;Alt N - QuickMacro N
set key \2353 \27OPn
;Alt O - QuickMacro O
set key \2328 \27OPo
;Alt P - QuickMacro P
set key \2329 \27OPp
;Alt Q - QuickMacro Q
set key \2320 \27OPq
;Alt R - QuickMacro R
set key \2323 \27OPr
;Alt S - QuickMacro S
set key \2335 \27OPs
;Alt T - QuickMacro T
set key \2324 \27OPt
;Alt U - QuickMacro U
set key \2326 \27OPu
 ;Alt V - QuickMacro V
 ;set key \2351 \27OPv
 ;Alt W - QuickMacro W
 ;set key \2321 \27OPw
;Alt X - QuickMacro X
set key \2349 \27OPx
;Alt Y - QuickMacro Y
set key \2325 \27OPy
;Alt Z - QuickMacro Z
set key \2348 \27OPz