;   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

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

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

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

@-  ManifestFilename
@=  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

@enter  OpenLine


^Grey-
^Grey+
^Grey*  AppendToScrap
^Ins    VisibleSpaces
^/

@Home   SizeWindow
@End    MoveWindow

@Up     ScrollUp
@Down   ScrollDown
@Left   ScrollLeft
@Right  ScrollRight

@PgUp
@PgDn
@Ins
@Del
@/      Delay
@Tab    OptionMenu

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

LeaveEditorNow
SetCursor
