home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / MOUSE / LSTMNU7M.ZIP / LIST.DEF next >
Encoding:
Text File  |  1989-11-22  |  8.9 KB  |  257 lines

  1. ;Logitech Mouse menu for V. Buerg's List v 7.15 (c) 1989 
  2.  
  3. ;Written by Patrick Knight, based upon a menu for v 6.4a 
  4. ;written by Carl Capasso, (c) 1988. 
  5.  
  6. ;(c) 1989 
  7.  
  8. ;This menu may be used, copied and distributed freely.  IT IS NOT FOR SALE! 
  9. ;Both list.def and list.mnu are to be distributed together. 
  10.  
  11. ;This menu is similar to the one written by Capasso.  I have added most of the 
  12. ;new functions in v 7.15 of List, and I have rearranged the menu screen to  
  13. ;make the grouping of items more logical.  I also changed the left mouse button
  14. ;to control the ENTER function, to make it more consistent with other mouse-driven
  15. ;programs.  The LMB and RMB chords were also changed, as described below.
  16.  
  17. ;Functions marked with an asterisk on the main menu are found only in LIST.COM, which
  18. ;as of version 7.15 contains LIST PLUS.
  19.  
  20. ;Please send comments to: 
  21. ;Patrick Knight 
  22. ;P.O. Box 1745 
  23. ;Manhattan, KS   66502 
  24.  
  25. ;Press middle button to begin. 
  26.  
  27.  
  28. BEGIN LB,MB,RB,LM,RM,UM,DM,100,25   
  29.  
  30. LB: EXECUTE RET  
  31. MB: EXECUTE MAIN 
  32. RB: EXECUTE PGUP
  33. LM: EXECUTE LEFT 
  34. RM: EXECUTE RIGHT 
  35. UM: EXECUTE UP 
  36. DM: EXECUTE DOWN 
  37.  
  38. CHORDS LMB,LRB,MRB,ALLB 
  39.  
  40. LMB:      TYPE 0,81          ;page down
  41. LRB:      TYPE 67 
  42. MRB:      TYPE 0,73          ;page up   
  43. ALLB:     TYPE ESC 
  44.  
  45. PGUP:     TYPE 0,73 
  46. RET:      TYPE ENTER 
  47. LEFT:     TYPE 0,75 
  48. RIGHT:    TYPE 0,77 
  49. UP:       TYPE 0,72 
  50. DOWN:     TYPE 0,80   
  51.  
  52. ;--------------------------------------MAIN MENU 
  53.  
  54. MAIN: POPUP 3,8,inverse 
  55.      text " ■ ════════════════════════[LIST VER 7.0a]═══════════════════════ ■ " 
  56.      text " ║     -CANCEL-         Mark top line       Toggle tabs           ║ " 
  57.      text " ║ Display HELP info    Mark bottom line    Toggle junk filter    ║ " 
  58.      text " ║ *File select menu    Unmark lines        Toggle 7/8 bit        ║ " 
  59.      text " ║ Change FIND bg       Go to bookmark      Toggle star filter    ║ " 
  60.      text " ║ Change FIND fg       Clone LIST.COM      Go to top of file     ║ " 
  61.      text " ║ Change text bg       Get new filespec    Go to bottom of file  ║ " 
  62.      text " ║ Change text fg       *Insert new file    Page down             ║ " 
  63.      text " ║ Change 1/25 bg       Copy to file        Page up               ║ " 
  64.      text " ║ Change 1/25 fg       Go to DOS           Move # lines          ║ " 
  65.      text " ║ Scan for exact text  Toggle windows      Go to line #          ║ " 
  66.      text " ║ Find any case text   *Switch windows     Go to column 1        ║ " 
  67.      text " ║ Find next text       Toggle EGA 25/43    Enable scrolling      ║ " 
  68.      text " ║ Find previous text   Toggle ruler        List next file        ║ " 
  69.      text " ║ Exit to DOS          Toggle status line  List previous file    ║ " 
  70.      text " ║ Exit to DOS (cls)    Toggle line wrap    *Dial phone           ║ " 
  71.      text " ║ Exit, orig screen    Toggle preloading   *Hang up phone        ║ " 
  72.      text " ║ Quit to next file    Toggle keybd buffer *Reset TAB interval   ║ " 
  73.      text " ║ Toggle printing      Toggle file sharing   - MOUSE HELP -      ║ " 
  74.      text " ║ Print marked text    Toggle hex mode       - MORE LIST HELP -  ║ " 
  75.      text " ■ ══════════════════════════════════════════════════════════════ ■ " 
  76.      SELECT 2,4,19,   
  77.      SELECT 3,4,19,F1 
  78.      SELECT 4,4,19,ALTV 
  79.      SELECT 5,4,19,F2 
  80.      SELECT 6,4,19,F4 
  81.      SELECT 7,4,19,F5 
  82.      SELECT 8,4,19,F6 
  83.      SELECT 9,4,19,F7 
  84.      SELECT 10,4,19,F8 
  85.      SELECT 11,4,19,BKSLASH 
  86.      SELECT 12,4,19,FWDSLASH 
  87.      SELECT 13,4,19,F3 
  88.      SELECT 14,4,19,F9 
  89.      SELECT 15,4,19,F10 
  90.      SELECT 16,4,19,X                     
  91.      SELECT 17,4,19,ALTX 
  92.      SELECT 18,4,19,Q 
  93.      SELECT 19,4,19,P 
  94.      SELECT 20,4,19,ALTP 
  95.      SELECT 2,25,19,ALTM 
  96.      SELECT 3,25,19,ALTB 
  97.      SELECT 4,25,19,ALTU 
  98.      SELECT 5,25,19,ALTY 
  99.      SELECT 6,25,19,ALTC 
  100.      SELECT 7,25,19,ALTF 
  101.      SELECT 8,25,19,ALTI 
  102.      SELECT 9,25,19,ALTD 
  103.      SELECT 10,25,19,ALTG 
  104.      SELECT 11,25,19,ALTW 
  105.      SELECT 12,25,19,CTRLV 
  106.      SELECT 13,25,19,ALTE 
  107.      SELECT 14,25,19,ALTR 
  108.      SELECT 15,25,19,ALTZ 
  109.      SELECT 16,25,19,W 
  110.      SELECT 17,25,19,ALTL 
  111.      SELECT 18,25,19,ALTK 
  112.      SELECT 19,25,19,ALTS 
  113.      SELECT 20,25,19,ALTH 
  114.      SELECT 2,45,21,ALTT 
  115.      SELECT 3,45,21,ALTJ 
  116.      SELECT 4,45,21,STRIP 
  117.      SELECT 5,45,21,STAR 
  118.      SELECT 6,45,21,T     
  119.      SELECT 7,45,21,B      
  120.      SELECT 8,45,21,D 
  121.      SELECT 9,45,21,U 
  122.      SELECT 10,45,21,PLUS                                         
  123.      SELECT 11,45,21,CHOME 
  124.      SELECT 12,45,21,SCROLL 
  125.      SELECT 13,45,21,CLEFT 
  126.      SELECT 14,45,21,CPGDN 
  127.      SELECT 15,45,21,CPGUP 
  128.      SELECT 16,45,21,CTRLT 
  129.      SELECT 17,45,21,CTRLH 
  130.      SELECT 18,45,21,CTRLI
  131.      SELECT 19,45,21,MHELP 
  132.      SELECT 20,45,21,LHELP 
  133.      PEND 
  134.  
  135.   
  136. ;--------------------------------------MENU CMD DEFINITIONS 
  137.  
  138. F1:       TYPE 0,59 
  139. F2:       TYPE 0,60 
  140. F3:       TYPE 0,61 
  141. F4:       TYPE 0,62 
  142. F5:       TYPE 0,63 
  143. F6:       TYPE 0,64 
  144. F7:       TYPE 0,65 
  145. F8:       TYPE 0,66 
  146. F9:       TYPE 0,67 
  147. F10:      TYPE 0,68 
  148. P:        TYPE 80 
  149. W:        TYPE 87 
  150. Q:        TYPE 81 
  151. BKSLASH:  TYPE 47 
  152. FWDSLASH: TYPE 92 
  153. X:        TYPE 88 
  154. ALTA:     TYPE 0,30 
  155. ALTB:     TYPE 0,48 
  156. ALTC:     TYPE 0,46 
  157. ALTD:     TYPE 0,32 
  158. ALTE:     TYPE 0,18 
  159. ALTF:     TYPE 0,33 
  160. ALTG:     TYPE 0,34 
  161. ALTH:     TYPE 0,35 
  162. ALTI:     TYPE 0,23 
  163. ALTJ:     TYPE 0,36 
  164. ALTK:     TYPE 0,37 
  165. ALTL:     TYPE 0,38 
  166. ALTM:     TYPE 0,50 
  167. ALTP:     TYPE 0,25 
  168. ALTR:     TYPE 0,19 
  169. ALTS:     TYPE 0,31 
  170. ALTT:     TYPE 0,20 
  171. ALTU:     TYPE 0,22 
  172. ALTV:     TYPE 0,47 
  173. ALTW:     TYPE 0,17 
  174. ALTX:     TYPE 0,45 
  175. ALTY:     TYPE 0,21 
  176. ALTZ:     TYPE 0,44 
  177. T:        TYPE 84 
  178. B:        TYPE 66 
  179. D:        TYPE 68 
  180. U:        TYPE 85 
  181. CPGUP:    TYPE 0,132 
  182. CPGDN:    TYPE 0,118 
  183. CLEFT:    TYPE 0,115 
  184. CHOME:    TYPE 0,119 
  185. CTRLH:    TYPE 8 
  186. CTRLI:    TYPE 9
  187. CTRLT:    TYPE 20 
  188. CTRLV:    TYPE 22 
  189. STAR:     TYPE 42 
  190. PLUS:     TYPE 43 
  191. SCROLL:   TYPE 67 
  192.  
  193. ;--------------------------------------SUB-MENU 
  194.  
  195. STRIP: POPUP 5,30,79 
  196.      text "■ ════════════ ■" 
  197.      text "║    Cancel    ║" 
  198.      text "║ Strip hi-bit ║" 
  199.      text "║ Leave hi-bit ║" 
  200.      text "■ ════════════ ■" 
  201.      SELECT 2,3,12 
  202.      SELECT 3,3,12,REMOVE 
  203.      SELECT 4,3,12,LEAVE 
  204.      PEND 
  205.  
  206. REMOVE:   TYPE 55 
  207. LEAVE:    TYPE 56 
  208.  
  209.  
  210. ;--------------------------------------MOUSE HELP MENU 
  211.  
  212.            
  213. MHELP: POPUP 5,27,15 
  214.      text "■ ═════════════════════════ ■" 
  215.      text "║ Left Button   = Enter     ║" 
  216.      text "║ Middle Button = Main Menu ║" 
  217.      text "║ Right Button  = Page up   ║" 
  218.      text "║ ========================= ║" 
  219.      text "║          Chords           ║" 
  220.      text "║ Left-Mid Button  = PgDn   ║" 
  221.      text "║ Mid-Right Button = PgUp   ║" 
  222.      text "║ Left-Right Button= Scroll ║" 
  223.      text "║ All Buttons      = ESC    ║" 
  224.      text "■ ═════════════════════════ ■" 
  225.      SELECT 5,3,25 
  226.      PEND 
  227.  
  228. LHELP:POPUP 2,7,30 
  229.      text "■ ═══════════════════════════════════════════════════════════════ ■" 
  230.      text "║The command line format is:                              Cancel  ║" 
  231.      text "║  LIST [filespec...filespec] [/S][/J][/7][/8][/*][/W][/H][/L]    ║" 
  232.      text "║  where filespec is one or more names of files and the optional /║" 
  233.      text "║  switches are:                                                  ║" 
  234.      text "║  /S  indicates viewing a piped file   /*  sets star filter on   ║" 
  235.      text "║  /J  sets Junk filter on              /W  sets Wrap on          ║" 
  236.      text "║  /7  sets 7-bit display               /H  sets Hex dump mode    ║" 
  237.      text "║  /8  sets 8-bit display               /L  sets pre-Loading on   ║" 
  238.      text "║  To display a redirected file:                                  ║" 
  239.      text "║            dir a: >xyz                                          ║" 
  240.      text "║            list <xyz /s                                         ║" 
  241.      text "║  To display a piped file,  omit the filename, but supply  the   ║" 
  242.      text "║  /S.                                                            ║" 
  243.      text "║            dir a: | list /s                                     ║" 
  244.      text "║  Or, to LIST a file within a PKA (Phil Katz) archive:           ║" 
  245.      text "║            PKUNPAK -c filename.pka filename.ext | LIST /S       ║" 
  246.      text "║                             - or -                              ║" 
  247.      text "║            arce arcname filename.ext /p | list /S               ║" 
  248.      text "║                                                                 ║" 
  249.      text "║   + (plus)    - makes continuous scroll incrementally faster    ║" 
  250.      text "║   - (minus)   - makes continuous scroll incrementally slower    ║" 
  251.      text "■ ═══════════════════════════════════════════════════════════════ ■" 
  252.      SELECT 2,59,6 
  253.      PEND 
  254.  
  255. ;--------------------------------THE END !------------------------------------- 
  256.  
  257.