;   Please see key.txt for more thorough comments and explanation
;
;   In order to be effective, changes to this file must be acted upon
;   by PK.EXE.
;
;   *****************************************************************
;   *                                                               *
;   *            Wordstar Emulation key definition file             *
;   *                                                               *
;   *                                                               *
;   *  Note: Wordstar key definitions have been added to pE's.      *
;   *        Commands 'left over' are at bottom of file             *
;   *                                                               *
;   *                                                               *
;   *****************************************************************
;
;   This file, when provided as input to PK.exe produces
;   KEY.PED which is the keyboard definition file for pE.
;
;   If you would like to use this key set run PK.EXE as follows
;
;           PK wp.txt
;
;
; 1      2

^^_^a   ^a
^^_^b   ^b
^^_^c   ^c
^^_^d   ^d
^^_^e   ^e
^^_^f   ^f
^^_^g   ^g
^^_^h   ^h
^^_^i   ^i
^^_^j   ^j
^^_^k   ^k
^^_^l   ^l
^^_^m   ^m
^^_^n   ^n
^^_^o   ^o
^^_^p   ^p
^^_^q   ^q
^^_^r   ^r
^^_^s   ^s
^^_^t   ^t
^^_^u   ^u
^^_^v   ^v
^^_^w   ^w
^^_^x   ^x
^^_^y   ^y
^^_^z   ^z
^^_^[   ^[
^^_^\   ^\
^^_^]   ^]
^^_^^   ^^
^^_^_   ^_

`       LastAscii

f1      ExecuteCommand
f2      JumpNext
f3      InsertDelLine
f4      DeleteLine
f5      FindForward
f6      FindBackward
f7      FloatBlock
f8      PrevMark
f9      GoTo
f10     MatchBrace
f11     OpenDosWindow
f12     StackWin

f1     Menu
f2     JumpPrev
f3
f4
f5     FoundList
f6
f7
f8
f9     ToggleDecHex
f10    SetParagraphStyle
f11    ToggleBorders
f12    JumpZoom

^f1     RecordMacro
^f2     SaveOptions
^f3     InsertDelSeg
^f4     DeleteToEol
^f5     ToggleCase
^f6     ToggleWordprocess
^f7     SetTabs
^f8     SetMarks
^f9
^f10    UndoPara
^f11    SetLineLength
^f12    Minimize

Alt-f1  AsciiChart
Alt-f2  Calendar
Alt-f3
Alt-f4
Alt-f5  RegularExp
Alt-f6  AllWindows
Alt-f7  ToggleAutoTab
Alt-f8
Alt-f9
Alt-f10 StartUp
Alt-f11 ShowMacros
Alt-f12 Maximize

Alt-a  AlignParagraph
Alt-b  BlockMarkColumn
Alt-c  CascadeWin
Alt-d  DosCommand
Alt-e  EditFile
Alt-f  DefineFind
Alt-g  ToggleGraphics
Alt-h  ToggleHex
Alt-i  EditIncludeFile
Alt-j  JumpList
Alt-k  KloseWindow
Alt-l  BlockMarkLines
Alt-m  MergeFile
Alt-n  NewFile
Alt-o  OpenFile
Alt-p  PrintLines
Alt-q  QuickExit&Save
Alt-r  DefineReplace
Alt-s  SaveFileAs
Alt-t  TileWindows
Alt-u  UnmarkBlock
Alt-v  ViewOnly
Alt-w  OpenWindow
Alt-x  Exit
Alt-y  DefineTag
Alt-z  ZoomWindows

Alt-1  SingleLineBox
Alt-2  DoubleLineBox
Alt-3  TwoDownBox
Alt-4  TwoAcrossBox
Alt-5  ThickLineBox
Alt-6  ASCIIOneBox
Alt-7  ASCIITwoBox
Alt-8  ASCIIThreeBox
Alt-9  ASCIIFourBox
Alt-0  UndoBlock

Alt--  ManifestFilename
Alt-=  ManifestCalcValue

home    Home
end     End
^home   PageTop
^end    PageBottom

ins     Ins
del     Del

up      Up
right   Right
down    Down
left    Left

^i      TabRight
tab    TabLeft

grey-   Cut
grey+   Paste
grey*   CopyToScrap

pgup    PgUp
pgdn    PgDn
^pgup   FileTop
^pgdn   FileBottom

^right  WordRight
^left   WordLeft

^a      WordLeft
^b      AlignParagraph
^c      PgDn
^d      Right
^e      Up
^f      WordRight
^g      Del
^h      BackSpace
^i      TabRight
^j      ExecuteCommand

^k_b    BlockMarkColumn
^k_c    Paste
^k_f    FillBlock
^k_h    UnmarkBlock
^k_k    BlockMarkStream
^k_l    LowerCase
^k_m    MoveBlock
^k_o    OutputBlock
^k_p    PrintLines
^k_q    NewFile


^k_r    InsertDelBlock
^k_s    SaveFile
^k_t    MarkWord

^k_u    UpperCase

^k_w    WriteBlock
^k_x    Exit

^l      FindForward
^m      Enter
^n      InsertLine

^o_c    Center

^o_d    DoubleSpace



^o_f    HorizontalRuler
^o_h    TileWindows
^o_l    SetParagraphStyle
^o_n    JumpNext
^o_g    ZoomWindows
^o_r    SetLineLength
^o_s    SingleSpace

^o_v    ToggleAutoTab
^o_w    ToggleWordprocess
^o_z    ZoomWindows

^q_a    DefineReplace
^q_b    InsertDelBlock
^q_c    FileBottom
^q_d    End
^q_e    PageTop
^q_f    DefineFind
^q_j    JoinLine
^q_l    CancelOp
^q_n    WordCount
^q_q    RepeatChar
^q_r    FileTop
^q_s    Home
^q_t    InsertDelWord
^q_u    DupLine
^q_w    ParagraphUp
^q_x    PageBottom
^q_y    DeleteToEol
^q_z    ParagraphDown

^r      PgUp
^s      Left
^t      DeleteWord
^u      InsertDelLine

^v_h    HorizontalRuler
^v_v    VerticalRuler
^v_u    ToggleUnixLines
^v_x    ToggleLines

^v_t    CursorToTop
^v_c    CursorToCtr
^v_b    CursorToBot

^w      ScrollUp
^x      Down
^y      DeleteLine
^z      ScrollDown

^bs     DeletePrevWord

^[      CancelOp
^\      ToggleMacro
^_      ClearMacro

Alt-enter  OpenLine


^-
^+
^*      AppendToScrap
^ins    VisibleSpaces
^/

Alt-home   SizeWindow
Alt-end    MoveWindow

Alt-UP     ScrollUp
Alt-DOWN   ScrollDown
Alt-LEFT   ScrollLeft
Alt-RIGHT  ScrollRight

Alt-pgup
Alt-pgdn
Alt-ins
Alt-del
Alt-/      Delay
Alt-tab    OptionMenu

;
; commands below are not assigned to any keys
;
SetColors
SetInsRpl
DisplayOwner
SetBackup
RightEdge
LeftEdge
LeftFlush
RightFlush

LeaveEditorNow
SetCursor
WrapLines
