home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / fileutil / ds410a.arj / LOGI.DEF < prev    next >
Encoding:
Text File  |  1991-03-01  |  12.1 KB  |  269 lines

  1. ;This is LOGI.DEF  Source code for LOGI.MNU   Version 4.0  April 22,1990
  2. ;
  3. ;                        Logitech Mouse  PULL-DOWN MENUS
  4. ;                  For use with Directory Scanner Version 4.0
  5. ;                              By Tom LaChe'
  6. ;                           460 Belvedere East
  7. ;                           Colgate, WI. 53017
  8. ;                           Voice 414-628-3849
  9. ;                           EXEC-PC 414-964-5160
  10. ;                           Compuserve [74046,1110]
  11.  
  12. ; Copyright (c) 1989, 1990 by Tom LaChe, all rights reserved. This  program
  13. ; is  intended  for  non-commercial,  public  domain  use, and may be used,
  14. ; copied, and distributed subject to this license.
  15.  
  16. ; The author disclaims all  warranties  expressed  or  implied  as  to  the
  17. ; quality  or  performance  of  this  program.  The author will not be held
  18. ; liable for any lost profits, lost savings or any other direct,  indirect,
  19. ; incidental  or  consequential  damages  resulting  from  the  use of this
  20. ; program. Your use of this program  constitutes  your  agreement  to  this
  21. ; disclaimer and your release of the author from any form of liability.
  22.  
  23. ; NOTE:  The mouse driver software must be loaded into the system prior  to
  24. ; the execution of the Directory Scanner program.   It is recommended  that
  25. ; the mouse software be loaded from the "autoexec.bat" file at boot-up.
  26.  
  27. ; If  this  wonderful  piece of work is to function properly, you MUST have
  28. ; your PATH setup to find the programs which some of the menus  call.   The
  29. ; programs called are: Format.com, Chkdsk.com, Diskcopy.com, and Label.com.
  30.  
  31. ; There are only three things to remember while using this mouse menu.
  32. ; Except when a menu is showing:
  33. ;  1). The left button is always ENTER.
  34. ;  2). The middle button will call up the menu bar.
  35. ;  3). The right button is always ESCAPE.
  36.  
  37. ;  COLOR  and  MONOCHROME  information:  These  menus  have been set up for
  38. ; monochrome systems for the sake of maximum compatibility.
  39.  
  40. ; COLOR:  Each  menu  can  have  a  color number that determines the text and
  41. ; background colors.  Eg.  MAIN: MENU , 6, 18,  14  The  `14'  is  the  color
  42. ; number.   If  you  wanted  to  change  your  colors  to RED text on a WHITE
  43. ; background just add the text color of 4 to the background color  112  which
  44. ; would  equal  116.  Substitute the `14' in each menu with `116'. Delete the
  45. ; word NORMAL or INVERSE, which are for use with monochrome systems  and  put
  46. ; the color number in it's place.
  47.  
  48. ;╔════════════════════════════════════════════════╤════════════════════════╗
  49. ;║             T E X T   C O L O R S              │      BACKGROUND COLORS ║
  50. ;║    NUMBER   COLOR       NUMBER  COLOR          │      NUMBER   COLOR    ║
  51. ;║       0    Black           8  Dark Gray        │         0    Black     ║
  52. ;║       1    Blue            9  Light Blue       │        16    Blue      ║
  53. ;║       2    Green          10  Light Green      │        32    Green     ║
  54. ;║       3    Cyan           11  Light Cyan       │        48    Cyan      ║
  55. ;║       4    Red            12  Light Red        │        64    Red       ║
  56. ;║       5    Magenta        13  Light Magenta    │        80    Magenta   ║
  57. ;║       6    Brown          14  Yellow           │        96    Brown     ║
  58. ;║       7    White          15  Intense White    │       112    White     ║
  59. ;╚════════════════════════════════════════════════╧════════════════════════╝
  60. ; If any changes are made to this DEF file, they must be  made  with  a  pure
  61. ; ASCII  text  editor  or  WordStar  in the nondocument mode. Don't forget to
  62. ; recompile this DEF file with NEWMENU.EXE when you are done.   All  of  this
  63. ; text  is ignored when the DEF file is compiled.  If you are unfamiliar with
  64. ; the use of mouse menus, please read the Logitech manual.
  65.  
  66. ; The following example will get things going.
  67. ;           MOUSE [ENTER]       This loads the mouse.com into memory
  68. ;           MENU [ENTER]        This loads menu.com into memory
  69. ;           MENU LOGI [ENTER]   This loads the mouse menu
  70. ; These three lines can be added to your Autoexec.bat file if you want.
  71. ; Enjoy......Comments, suggestions and donations are welcome.
  72.  
  73. ;***** MOUSE MENU DEFINITION CODE STARTS HERE *****
  74. BEGIN  LeftB, MiddleB, RightB, LeftM, RightM, UpM, DownM, 70,30
  75. CHORDS LMB, LRB, MRB, ALLB
  76. ;***** BUTTON ASSIGNMENTS *****
  77. LeftB:   TYPE ENTER    ;Enter
  78. MiddleB: EXECUTE MAIN  ;OPTION MENU.."EXECUTE" IN ORDER TO LIGHT UP MENU
  79. RightB:  TYPE ESC      ;Escape
  80. ;***** MOVE ASSIGNMENTS *****
  81. LeftM:   TYPE 0,75     ;Move Left
  82. RightM:  TYPE 0,77     ;Move Right
  83. UpM:     TYPE 0,72     ;Move Up
  84. DownM:   TYPE 0,80     ;Move Down
  85. ;***** CHORD ASSIGNMENTS *****
  86. LMB:    EXECUTE TAG    ;Left & Middle Buttons
  87. MRB:    EXECUTE UTAG   ;Middle & Right Buttons
  88. LRB:    EXECUTE TAGAL  ;Left & Right Buttons
  89. ALLB:   EXECUTE UTAGAL ;All Buttons
  90. ;***** MENU CODE *****
  91. MAIN:   POPUP 1, 5, NORMAL ;Line-1, Column-5, Color
  92. TEXT "CANCEL  Scrn-Cmds File-Cmds DS-Cmds Drive-Sel DOS-Cmds Setup  HELP! "
  93.           SELECT 1,  1, 8,
  94.           SELECT 1, 10, 11, SCRN
  95.           SELECT 1, 20, 11, FILE
  96.           SELECT 1, 30, 9,  DS
  97.           SELECT 1, 38, 11, DRV
  98.           SELECT 1, 48, 10, DOS
  99.           SELECT 1, 57, 7,  SET
  100.           SELECT 1, 64, 7,  HELP
  101.           PEND
  102.  
  103. SCRN: MENU "Screen Commands", 2, 17, NORMAL  ;Line, Column, Color
  104.           OPTION "CANCEL",
  105.           OPTION "Split",         SPLIT
  106.           OPTION "Flip",          FLIP
  107.           OPTION "Refresh",       REFR
  108.           OPTION "MENU-BAR",  MAIN
  109.           MEND
  110.  
  111. FILE: MENU "File Commands", 2, 17, NORMAL  ;Line, Column, Color
  112.           OPTION "CANCEL",
  113.           OPTION "Copy",          CFILE
  114.           OPTION "Move",          MFILE
  115.           OPTION "List",          LFILE
  116.           OPTION "Edit",          EFILE
  117.           OPTION "Find",          FFILE
  118.           OPTION "Print",         PFILE
  119.           OPTION "Delete",        DFILE
  120.           OPTION "Rename",        RFILE
  121.           OPTION "Execute",       XFILE
  122.           OPTION "Attribute",     AFILE
  123.           OPTION "List (OVL)",    LOVL
  124.           OPTION "Edit (OVL)",    EOVL
  125.           OPTION "Execute (OVL)", XOVL
  126.           OPTION " MENU-BAR ",  MAIN
  127.           MEND
  128.  
  129. DS: MENU "DS Commands", 2, 25, NORMAL  ;Line, Column, Color
  130.           OPTION "CANCEL",
  131.           OPTION "Tree Dump",           TDUMP
  132.           OPTION "Dir Rescan",          RSCAN
  133.           OPTION "Dir Attributes",      ATRIB
  134.           OPTION "Dir Select & Sort",   DSS
  135.           OPTION "Dir Add-Del-Rename ", DMOD
  136.           OPTION "Free Space on Drive", FREE
  137.           OPTION "Exit to DOS",         EXIT
  138.           OPTION " MENU-BAR ",        MAIN
  139.           MEND
  140.  
  141. DRV: MENU "Select Drive", 2, 34, NORMAL  ;Line, Column, Color
  142.           OPTION "CANCEL",
  143.           OPTION "Drive A:", CHDRVA
  144.           OPTION "Drive B:", CHDRVB
  145.           OPTION "Drive C:", CHDRVC
  146.           OPTION "Drive D:", CHDRVD
  147.           OPTION "Drive E:", CHDRVE
  148.           OPTION "Drive F:", CHDRVF
  149.           OPTION "MENU-BAR", MAIN
  150.           MEND
  151.  
  152. DOS: MENU "DOS Commands", 2, 50, NORMAL  ;Line, Column, Color
  153.           OPTION "CANCEL",
  154.           OPTION "Format A:",           FORMA
  155.           OPTION "Format B:",           FORMB
  156.           OPTION "Check_disk",          CHDSK
  157.           OPTION "Label_Disk A:",       LABEL
  158.           OPTION "Diskcopy A: B:",      DCOPY
  159.           OPTION "Stop  Printing",      SPRT  ;I always forget the syntax!
  160.           OPTION "Enter  Command",      CDOS
  161.           OPTION "Enter Command (OVL)", CDOSOV
  162.           OPTION " MENU-BAR ",        MAIN
  163.           MEND
  164.  
  165. SET: MENU "DS SETUP Commands", 2, 59, NORMAL  ;Line, Column, Color
  166.           OPTION "CANCEL",
  167.           OPTION "Macros",             MACRO
  168.           OPTION "Dir Links",          LINK
  169.           OPTION "Color Setup",        COLOR
  170.           OPTION "Limits of DS.",      LIMIT
  171.           OPTION "25 43/50 Toggle",    EGA
  172.           OPTION "Volume ID Toggle",   VOL
  173.           OPTION "Edit-List Defaults", DEF
  174.           OPTION " MENU-BAR ",       MAIN
  175.           MEND
  176.  
  177. HELP: POPUP  2, 26, INVERSE ;Line, Column, Color
  178. TEXT "╔════════════════════════════════════════════════════╗"
  179. TEXT "║                        MENUS                       ║"
  180. TEXT "║                          │                         ║"
  181. TEXT "║              ╔═══════════╪═══════════╗             ║"
  182. TEXT "║              ║                      ║             ║"
  183. TEXT "║        TAG───╫────────   ────────╫───UNTAG     ║"
  184. TEXT "║              ║  ┌───┐  ┌───┐  ┌───┐  ║             ║"
  185. TEXT "║      ENTER───╫─│▒▓▒│  │▒▓▒│  │▒▓▒│─╫───ESCAPE    ║"
  186. TEXT "║              ║  └───┘  └───┘  └───┘  ║             ║"
  187. TEXT "║              ║    ─────────────────╫───TAG ALL   ║"
  188. TEXT "║  UNTAG ALL───╫────────────────    ║             ║"
  189. TEXT "║              ║≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡║             ║"
  190. TEXT "║              ║  EXIT TO MAIN MENU  ║             ║"
  191. TEXT "║              ║  DS Key Command Help  ║             ║"
  192. TEXT "║              ║  DS  Extended   Help  ║             ║"
  193. TEXT "║              ║   LOGITECH C-7 MOUSE  ║             ║"
  194. TEXT "║              ╚═══════════════════════╝             ║"
  195. TEXT "╟────────────────────────────────────────────────────╢"
  196. TEXT "║  This program furnished compliments of Tom LaChe'  ║"
  197. TEXT "╚════════════════════════════════════════════════════╝"
  198. ;              Line, Col, Word Length, Label
  199.           SELECT 13, 19, 19, MAIN
  200.           SELECT 14, 19, 19, SHELP
  201.           SELECT 15, 19, 19, CHELP
  202.           PEND
  203.  
  204. ;***** LABEL ASSIGNMENTS *****
  205. ATAG:   TYPE "A"             ;Attribute File
  206. CTAG:   TYPE "K"             ;Copy File
  207. MTAG:   TYPE "M"             ;Move File
  208. PTAG:   TYPE "P"             ;Print File
  209. LFILE:  TYPE "L"             ;List File
  210. EFILE:  TYPE "E"             ;Edit File
  211. FFILE:  TYPE "F"             ;Find File
  212. RFILE:  TYPE "R"             ;Rename File
  213. SPLIT:  TYPE "S"             ;Spit Display
  214. XFILE:  TYPE "X"             ;Execute File
  215. CDOS:   TYPE "C"             ;Dos Commands
  216. TAG:    TYPE "T"             ;Tag File
  217. UTAG:   TYPE "U"             ;Untag File
  218. LINK:   TYPE "0"             ;Directory Links
  219. SHELP:  TYPE "?"             ;Simple Help
  220. FLIP:   TYPE 0,78            ;Flip Upper/Lower
  221. EXIT:   TYPE 0,67            ;F9 Exit to Dos
  222. CHELP:  TYPE 0,68            ;F10 Complex Help
  223. MACRO:  TYPE 0,113           ;SHIFT-F10
  224. CDOSOV: TYPE 0,46            ;ALT-C Dos Cmd (OVL)
  225. FREE:   TYPE 0,33            ;ALT-F Free Space
  226. DTAG:   TYPE 0,32            ;ALT-D Delete Function
  227. RSCAN:  TYPE 0,19            ;ALT-R Dir Rescan
  228. DSS:    TYPE 0,31            ;ALT-S Dir Select & Sort
  229. TAGAL:  TYPE 0,20            ;ALT-T Tag all Files
  230. UTAGAL: TYPE 0,22            ;ALT-U Untag all Files
  231. COLOR:  TYPE 0,37            ;ALT-K Color Setup
  232. EGA:    TYPE 0,50            ;ALT-M Toggle EGA Mode
  233. XOVL:   TYPE 0,45            ;ALT-X Execute (OVL)
  234. LOVL:   TYPE 0,38            ;ALT-L List (OVL)
  235. EOVL:   TYPE 0,18            ;ALT-E Edit (OVL)
  236. DEF:    TYPE 5               ;CTRL-E Edit Defaults
  237. REFR:   TYPE 18              ;CTRL-R Refresh Screen
  238. TDUMP:  TYPE 20              ;CTRL-T Tree Dump
  239. ATRIB:  TYPE 1               ;CTRL-A Directory Attributes
  240. VOL:    TYPE 22              ;CTRL-V Volume Toggle
  241. LIMIT:  TYPE 12              ;CTRL-L Limits of Directory Scanner
  242. DMOD:   TYPE 4               ;CTRL-D Directory Add/Delete/Change
  243. CHDRVA: TYPE "DA", ENTER     ;CHANGE TO DRIVE A:
  244. CHDRVB: TYPE "DB", ENTER     ;CHANGE TO DRIVE B:
  245. CHDRVC: TYPE "DC", ENTER     ;CHANGE TO DRIVE C:
  246. CHDRVD: TYPE "DD", ENTER     ;CHANGE TO DRIVE D:
  247. CHDRVE: TYPE "DE", ENTER     ;CHANGE TO DRIVE E:
  248. CHDRVF: TYPE "DF", ENTER     ;CHANGE TO DRIVE F:
  249. FMTA:   TYPE "FORMAT A:", ENTER
  250. FMTB:   TYPE "FORMAT B:", ENTER
  251. COPY:   TYPE "DISKCOPY A: B:", ENTER
  252. CDSK:   TYPE "CHKDSK "
  253. LAB:    TYPE "LABEL A:",ENTER
  254. PRT:    TYPE "PRINT/T", ENTER, ENTER   ;TERMINATE PRINT OPERATION
  255. AFILE:  EXECUTE TAG,  ATAG
  256. CFILE:  EXECUTE TAG,  CTAG
  257. DFILE:  EXECUTE TAG,  DTAG
  258. MFILE:  EXECUTE TAG,  MTAG
  259. PFILE:  EXECUTE TAG,  PTAG
  260. FORMA:  EXECUTE CDOS, FMTA
  261. FORMB:  EXECUTE CDOS, FMTB
  262. CHDSK:  EXECUTE CDOS, CDSK
  263. LABEL:  EXECUTE CDOS, LAB
  264. DCOPY:  EXECUTE CDOS, COPY
  265. SPRT:   EXECUTE CDOS, PRT
  266. ;The end
  267.  
  268. 
  269.