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