home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR8 / PETPE402.ZIP / PED.EXE / KEY.TXT < prev    next >
Text File  |  1993-09-16  |  13KB  |  382 lines

  1. ;   In order to be effective, changes to this file must be acted upon
  2. ;   by PK.EXE.
  3. ;
  4. ;   PK.EXE should be executed in the pE directory (where pe.exe is)
  5. ;
  6. ;   PK [key.txt]
  7. ;
  8. ;     one can also specify wp.txt or ws.txt.  Output will always be
  9. ;     KEY.PED in the same directory where the .txt file was found.
  10. ;
  11. ; █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  12. ; █        IF YOU'RE NOT SURE OF WHAT YOU'RE DOING - PLEASE MAKE A        █
  13. ; █           COPY OF KEY.PED BEFORE YOU RUN PK.EXE            █
  14. ; █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  15. ;
  16. ;   If you're in to wordstar commands - take a look at ws.txt.
  17. ;
  18. ;   Registered users also receive wp.txt (WordPerfect keystroke emulation)
  19. ;
  20. ;   Data following semi-colons are treated as commentary
  21. ;
  22. ;   Key names are defined as follows
  23. ;
  24. ;       f1 - means function key F1
  25. ;      ^f1 - means control key and F1
  26. ;      f1 - means shift key and F1
  27. ;      @f1 - means alt key and F1
  28. ;
  29. ;   two (or more) keys can be used for a single command as
  30. ;   long as the keys in the sequence are joined with an
  31. ;   underscore character, like this: ^a_c
  32. ;
  33. ;   note, however, that the first key in a two key sequence cannot
  34. ;      then be used as a single key.  So, in the above sequence,
  35. ;      ^a (alone) could not also be assigned a function.  It would have
  36. ;      no effect.
  37. ;
  38. ;   one or more spaces follow each field and are field separators
  39. ;
  40. ;   The ordering of keys in this file is arbitrary, put it in whatever
  41. ;   order you feel is logical.
  42. ;
  43. ;   While a function may have more than one key assigned, the same key
  44. ;   cannot be used for more than one function.
  45. ;
  46. ;   Note that key names go in field one, functions in field two.
  47. ;
  48. ; 1     2    ;and these are comments just as any line that begins with a ;
  49.  
  50. ^^_^a    ^a        ;these assignments allow the keyin
  51. ^^_^b    ^b        ;of any literal control character by
  52. ^^_^c    ^c        ;first typing ^ (control circumflex)
  53. ^^_^d    ^d        ;followed by the control character you
  54. ^^_^e    ^e        ;want.
  55. ^^_^f    ^f
  56. ^^_^g    ^g
  57. ^^_^h    ^h
  58. ^^_^i    ^i
  59. ^^_^j    ^j
  60. ^^_^k    ^k
  61. ^^_^l    ^l
  62. ^^_^m    ^m
  63. ^^_^n    ^n
  64. ^^_^o    ^o
  65. ^^_^p    ^p
  66. ^^_^q    ^q
  67. ^^_^r    ^r
  68. ^^_^s    ^s
  69. ^^_^t    ^t
  70. ^^_^u    ^u
  71. ^^_^v    ^v
  72. ^^_^w    ^w
  73. ^^_^x    ^x
  74. ^^_^y    ^y
  75. ^^_^z    ^z
  76. ^^_^[    ^[
  77. ^^_^\    ^\
  78. ^^_^]    ^]
  79. ^^_^^    ^^
  80. ^^_^_    ^_
  81.  
  82. `    LastAscii    ;this character will produce the last character the
  83.             ;ascii window was set to - if ascii window is never
  84.             ;called it will be itself.
  85. ;
  86. ; f1 - f10
  87. ;
  88.  
  89. f1    ExecuteCommand    ;provides a menu of all commands and keystrokes
  90. f2    JumpNext    ;jump (cycle) to next window number
  91. f3    InsertDelLine    ;undeletes the just deleted line
  92. f4    DeleteLine    ;deletes the current line
  93. f5    FindForward    ;find a string from cursor towards "bottom"
  94. f6    FindBackward    ;find a string from cursor towards "top"
  95. f7    FloatBlock    ;move a column block of text with arrow keys or mouse
  96. f8    PrevMark    ;position cursor to saved location (SetMarks)
  97. f9    GoTo        ;go to line number, offset (hex edit), or bookmark
  98. f10    Menu        ;another way to get to menu
  99.  
  100. ; extended keyboard only
  101.  
  102. f11    OpenDosWindow    ;open a window with the text from DOS screen
  103. f12    StackWin    ;minimize all windows into 'stacks'
  104.  
  105. ; shift f1 - f10
  106.  
  107. f1    MatchBrace    ;locate the corresponding { ( or [
  108. f2    JumpPrev    ;jump to previous window
  109. f3
  110. f4
  111. f5    FoundList    ;Build a list of found items and put into FIND.PED
  112. f6
  113. f7
  114. f8
  115. f9    ToggleDecHex    ;set either decimal or hex offsets (hex edit only)
  116. f10    SetParagraphStyle   ;set left, right, indent and paragraph alignment
  117.  
  118. f11    ToggleBorders    ;allow/disallow borders
  119. f12    JumpZoom    ;maximize a window when jumped to
  120.  
  121. ; control f1 - f10
  122.  
  123. ^f1    RecordMacro    ;assign multiple keystrokes/commands to a single key
  124. ^f2    SaveOptions    ;save all settings (including macros) to env.ped
  125. ^f3    InsertDelSeg    ;Undo delete to end of line
  126. ^f4    DeleteToEol    ;delete to end of line
  127. ^f5    ToggleCase    ;make fine case sensitive or not
  128. ^f6    ToggleWordprocess ;sets automatic paragraph alignment as you type
  129. ^f7    SetTabs     ;set tab stops, detab increment and tabs/blanks
  130. ^f8    SetMarks    ;store position of cursor
  131. ^f9
  132. ^f10    UndoPara    ;will undo last paragraph alignment
  133.  
  134. ; extended keyboard only
  135.  
  136. ^f11    SetLineLength    ;allows word wrap at specified margin
  137. ^f12    Minimize    ;minimize current window
  138.  
  139. ; alt f1 - f10
  140.  
  141. @f1  AsciiChart      ;allows you to choose any ASCII character
  142. @f2  Calendar         ;dates
  143. @f3
  144. @f4
  145. @f5  RegularExp      ;turns "regular expression" (patterns) on/off
  146. @f6  AllWindows      ;search and replace across all windows when set
  147. @f7  ToggleAutoTab   ;when on, tabs/shifttabs after { or }
  148. @f8
  149. @f9
  150. @f10 StartUp         ;can be assigned a series of commands to be executed
  151.              ;when pE begins
  152.  
  153. ; extended keyboard only
  154.  
  155. @f11 ShowMacros      ;shows any currently assigned macros
  156. @f12 Maximize         ;maximizes current window
  157.  
  158. ; alt a-z
  159.  
  160. @a  AlignParagraph   ;formats paragraph
  161. @b  BlockMarkColumn  ;marks a rectangular area of file
  162. @c  CascadeWin         ;arranges windows in overlapped fashion
  163. @d  DosCommand         ;goes to DOS to execute specified command
  164. @e  EditFile         ;edits an existing file in new window
  165. @f  DefineFind         ;defines find string (and initiates search)
  166. @g  ToggleGraphics   ;redefines qwerty keyboard into graphics characters
  167. @h  ToggleHex         ;file is edited in "hex dump" mode
  168. @i  EditIncludeFile  ;opens a file enclosed in < > on current cursor row
  169. @j  JumpList         ;shows all open windows, allows selection
  170. @k  KloseWindow      ;closes current window
  171. @l  BlockMarkLines   ;marks a range of lines
  172. @m  MergeFile         ;merges a specified file into current file
  173. @n  NewFile         ;clears current window to edit a "new file"
  174. @o  OpenFile         ;opens a file in current window
  175. @p  PrintLines         ;prints file to printer or file (F3 after @p)
  176. @q  QuickExit&Save   ;Saves file and exits (if changed)
  177. @r  DefineReplace    ;Sets search and replace strings
  178. @s  SaveFileAs         ;Allows filename change before saving
  179. @t  TileWindows      ;Arranges windows in 2, 3, or 4 'Tiles'
  180. @u  UnmarkBlock      ;Un mark a block
  181. @v  ViewOnly         ;Open a file in uneditable window.
  182. @w  OpenWindow         ;Opens a new window called "NO_NAME"
  183. @x  Exit         ;Exits with prompt to save changed files
  184. @y  DefineTag         ;Allows saving of 26 'bookmarks' for later goto
  185. @z  ZoomWindows
  186.  
  187. ; alt 1 - 0
  188.  
  189. @1  SingleLineBox    ;draws a single line box around a marked rectangle
  190. @2  DoubleLineBox    ;draws a double line box around a marked rectangle
  191. @3  TwoDownBox         ;double down single across
  192. @4  TwoAcrossBox     ;double across single down
  193. @5  ThickLineBox     ;'fat' box
  194. @6  ASCIIOneBox      ;/
  195. @7  ASCIITwoBox      ;|various styles of boxes without use of graphic
  196. @8  ASCIIThreeBox    ;|characters
  197. @9  ASCIIFourBox     ;\
  198. @0  UndoBlock         ;Undoes last box draw and last block search&replace
  199.  
  200. @-  ManifestFilename  ;inserts current filename at cursor
  201. @=  ManifestCalcValue ;inserts calculater register at cursor
  202.  
  203. ; numeric keypad
  204.  
  205. Home    Home        ;cursor moves to beginning of line/edge of window
  206. End    End        ;cursor moves one character past end of line
  207. ^Home    PageTop     ;cursor moves to top line of window, column stays same
  208. ^End    PageBottom    ;cursor moves to bottom line, column doesn't change
  209.  
  210. Ins    Ins        ;characters typed are inserted/replaced
  211. Del    Del        ;the character above the cursor is deleted
  212.  
  213. Up    Up        ;cursor moves one line up, same column
  214. Right    Right        ;cursor moves one character right, same row
  215. Down    Down        ;cursor moves one line down, same column
  216. Left    Left        ;cursor moves one character right, same row
  217.  
  218. ^i    TabRight    ;cursor moves one tab stop to right
  219. tab    TabLeft     ;cursor moves one tab to left
  220.             ;if ins is on, tab will "push" all characters to right
  221.             ;of cursor one tab stop, if off only cursor moves
  222.  
  223.             ;if block is marked, all lines in block move one tab
  224.  
  225.  
  226. Grey-    Cut        ;"cuts" the marked block (or a single line) to "scrap"
  227.             ;also called clipboard, buffer....
  228.  
  229. Grey+    Paste        ;"pastes" the contents of the "scrap" into file;
  230.             ;the effect differs depending on Ins/Replace mode.
  231.             ;cut and paste are not user assignable keys
  232.             ; OutputBlock and InsertDelBlock are the names of the
  233.             ; commands (see ^q_c and ^q_b)
  234.  
  235.             ;Cut cuts text to file pb$$$$.ped(no affect on scrap)
  236.             ;Paste pastes text from  pb$$$$.ped (not from scrap)
  237.  
  238. Grey*    CopyToScrap    ;copies block to scrap, replacing
  239.  
  240. PgUp    PgUp        ;displays previous screen of file
  241. PgDn    PgDn        ;displays next screen
  242. ^PgUp    FileTop     ;positions to first line of file
  243. ^PgDn    FileBottom    ;positions to last line of file
  244.  
  245.  
  246. ^Right    WordRight    ;moves cursor to start of next word
  247. ^Left    WordLeft    ;moves cursor to start of prev word
  248.  
  249. ; control key combinations
  250.  
  251. ^a_b    AddBlock    ;adds up a block (hopefully) of numbers
  252.  
  253. ^a_c    Center        ;center text in block or between margins
  254. ^a_l    LeftFlush    ;left flush text
  255. ^a_r    RightFlush    ;right flush text
  256.  
  257. ^c    Calculator    ;call calculator
  258. ^d_d    DateEntry    ;enter the date into file at cursor
  259. ^d_t    TimeEntry    ;enter the time into file at cursor
  260.  
  261. ^Del    UndeleteBlock    ;deleted with del key
  262.  
  263. ^e    RightEdge    ;move cursor to right edge of window (east)
  264. ^w    LeftEdge    ;move cursor to left edge of window (west)
  265.  
  266. ^h    BackSpace    ;delete the character to the left of the cursor
  267.  
  268.  
  269. ^k_k    BlockMarkStream ;marks a block beginning at the current cursor
  270.             ;position one character at a time
  271.             ;holding the control key while dragging the mouse
  272.             ;will also mark this kind of block
  273.             ;shift and arrow keys will also work
  274.             ;this command is provided a key sequence primarily
  275.             ;for macro assignment.
  276.  
  277. ^k_f    FillBlock    ;allows filling a block with a specified character
  278.  
  279. ^k_d    SingleSpace    ;deletes blank lines from cursor on or within block
  280. ^k_l    LowerCase    ;lower cases all characters in block
  281. ^k_u    UpperCase    ;upper cases all characters in block
  282. ^k_m    MoveBlock    ;moves the specified block to new location
  283.             ; - does a cut from old location and a paste in new
  284. ^k_n    DoubleSpace    ;inserts a blank line between each line
  285. ^k_s    SaveFile    ;writes file from memory to disk (uses assigned name)
  286. ^k_t    MarkWord    ;marks a single word
  287. ^k_w    WriteBlock    ;allows a range of marked lines to be written to file
  288. ^k_x    RestoreLine    ;restores line if edit has not been "committed"
  289.  
  290. ^m    Enter        ;action depends on Ins/Replace; generally moves
  291.             ;one line down in file
  292.  
  293. ^n    InsertLine    ;inserts a blank line and positions cursor on it
  294.  
  295. ^q_c    OutputBlock    ;cuts block to pb$$$$.ped (see cut and paste)
  296. ^q_b    InsertDelBlock    ;merges text from pb$$$$.ped (only)
  297.  
  298. ^q_l    LeaveEditorNow    ;exits editor - NO SAVES or PROMPTS, just exits.
  299.  
  300. ^q_n    WordCount    ;counts words within spaces.
  301.  
  302.  
  303. ^t    DeleteWord    ;deletes next word
  304. ^q_t    InsertDelWord    ;inserts a word deleted with DeleteWord
  305.  
  306. ^q_j    JoinLine    ;concatenates next line onto current line
  307. ^q_u    DupLine     ;duplicates from cursor on and inserts that text onto
  308.             ;next line, will also replace if Replace is on.
  309.  
  310. ^q_w    ParagraphUp    ;moves cursor to paragraph above this one
  311.             ; also pgup (shift page up)
  312. ^q_z    ParagraphDown    ;moves cursor to paragraph below this one
  313.             ; also pgdn (shift page down)
  314. ^q_y    DeleteToEol    ;deletes from the cursor to end of line
  315.  
  316. ^r    RepeatChar    ;repeats a character or command a specified number
  317.             ;of times
  318. ^s    SortBlock    ;sorts a block in ascending ascii order.
  319.  
  320. ^bs    DeletePrevWord    ;deletes the word to the left of the cursor
  321.  
  322. ^y    DeleteLine    ;deletes the current line
  323. ^u    InsertDelLine    ;undeletes the just deleted line
  324.  
  325. ^Up    CursorToTop    ;positions line cursor is on to the top of the window
  326. ^5    CursorToCtr    ;positions line cursor is on to center of window
  327. ^Down    CursorToBot    ;positions line cursor is on to bottom row of window
  328.  
  329. ^v_h    HorizontalRuler ;puts a horizontal ruler on the screen
  330. ^v_v    VerticalRuler    ;puts a vertcal ruler on screen
  331. ^v_u    ToggleUnixLines ;allows Unix ASCII files to be read and written
  332. ^v_x    ToggleLines    ;changes video display from 25 to 43/50 lines & back
  333.  
  334. ^v_t    CursorToTop    ;positions line cursor is on to the top of the window
  335. ^v_c    CursorToCtr    ;positions line cursor is on to center of window
  336. ^v_b    CursorToBot    ;positions line cursor is on to bottom row of window
  337.  
  338. ^v_a    ASCIIChart    ;calls ASCII window
  339.  
  340. ^[    CancelOp    ;ESC key generally cancels operation
  341.  
  342. ^\    ToggleMacro    ;turns macro processing on/off
  343. ^_    ClearMacro    ;undefines a macro
  344.  
  345. ; extended keyboard extra keys
  346.  
  347. @Enter    OpenLine     ;remaining characters on line are pushed to next line
  348.             ;cursor remains stationary
  349.  
  350. ^Grey/            ;this is the grey / on the numpad
  351. ^Grey-
  352. ^Grey+    WrapLines    ;wraps long lines on input (only)
  353. ^Grey*    AppendToScrap    ;marked text is added to current contents of scrap
  354. ^Ins    VisibleSpaces    ;Makes blanks visible/invisible
  355.  
  356. @Home    SizeWindow   ;allows window to be sized
  357. @End    MoveWindow   ;allows window to be moved
  358.  
  359. @Up    ScrollUp     ;scrolls text down (not the cursor)
  360. @Down    ScrollDown   ;scrolls text up
  361. @Left    ScrollLeft   ;etc, etc, etc,
  362. @Right    ScrollRight  ;etc, etc, etc,
  363.  
  364. @PgUp             ;grey one
  365. @PgDn             ;grey one
  366. @Ins    LeaveBlanks  ;do NOT trim blanks from end of lines
  367. @Del
  368. @/    Delay         ;sets execution delay in macros
  369. @Tab    OptionMenu   ;calls up the option menu to set different flags
  370.  
  371.  
  372. ;
  373. ; commands below are not assigned to any keys
  374. ;
  375.  
  376. SetColors        ;changes the colors of windows, menus and messages
  377. SetInsRpl        ;sets Ins/Rpl mode on startup
  378. DisplayOwner        ;displays name of user who installed pE
  379. SetBackup        ;sets backup directory path
  380. SetCursor        ;sets cursor size and shape
  381. ToggleMenu        ;turns menu line on/off
  382.