home *** CD-ROM | disk | FTP | other *** search
- ;This is LOGI.DEF Source code for LOGI.MNU Version 4.0 April 22,1990
- ;
- ; Logitech Mouse PULL-DOWN MENUS
- ; For use with Directory Scanner Version 4.0
- ; By Tom LaChe'
- ; 460 Belvedere East
- ; Colgate, WI. 53017
- ; Voice 414-628-3849
- ; EXEC-PC 414-964-5160
- ; Compuserve [74046,1110]
-
- ; Copyright (c) 1989, 1990 by Tom LaChe, all rights reserved. This program
- ; is intended for non-commercial, public domain use, and may be used,
- ; copied, and distributed subject to this license.
-
- ; The author disclaims all warranties expressed or implied as to the
- ; quality or performance of this program. The author will not be held
- ; liable for any lost profits, lost savings or any other direct, indirect,
- ; incidental or consequential damages resulting from the use of this
- ; program. Your use of this program constitutes your agreement to this
- ; disclaimer and your release of the author from any form of liability.
-
- ; NOTE: The mouse driver software must be loaded into the system prior to
- ; the execution of the Directory Scanner program. It is recommended that
- ; the mouse software be loaded from the "autoexec.bat" file at boot-up.
-
- ; If this wonderful piece of work is to function properly, you MUST have
- ; your PATH setup to find the programs which some of the menus call. The
- ; programs called are: Format.com, Chkdsk.com, Diskcopy.com, and Label.com.
-
- ; There are only three things to remember while using this mouse menu.
- ; Except when a menu is showing:
- ; 1). The left button is always ENTER.
- ; 2). The middle button will call up the menu bar.
- ; 3). The right button is always ESCAPE.
-
- ; COLOR and MONOCHROME information: These menus have been set up for
- ; monochrome systems for the sake of maximum compatibility.
-
- ; COLOR: Each menu can have a color number that determines the text and
- ; background colors. Eg. MAIN: MENU , 6, 18, 14 The `14' is the color
- ; number. If you wanted to change your colors to RED text on a WHITE
- ; background just add the text color of 4 to the background color 112 which
- ; would equal 116. Substitute the `14' in each menu with `116'. Delete the
- ; word NORMAL or INVERSE, which are for use with monochrome systems and put
- ; the color number in it's place.
-
- ;╔════════════════════════════════════════════════╤════════════════════════╗
- ;║ T E X T C O L O R S │ BACKGROUND COLORS ║
- ;║ NUMBER COLOR NUMBER COLOR │ NUMBER COLOR ║
- ;║ 0 Black 8 Dark Gray │ 0 Black ║
- ;║ 1 Blue 9 Light Blue │ 16 Blue ║
- ;║ 2 Green 10 Light Green │ 32 Green ║
- ;║ 3 Cyan 11 Light Cyan │ 48 Cyan ║
- ;║ 4 Red 12 Light Red │ 64 Red ║
- ;║ 5 Magenta 13 Light Magenta │ 80 Magenta ║
- ;║ 6 Brown 14 Yellow │ 96 Brown ║
- ;║ 7 White 15 Intense White │ 112 White ║
- ;╚════════════════════════════════════════════════╧════════════════════════╝
- ; If any changes are made to this DEF file, they must be made with a pure
- ; ASCII text editor or WordStar in the nondocument mode. Don't forget to
- ; recompile this DEF file with NEWMENU.EXE when you are done. All of this
- ; text is ignored when the DEF file is compiled. If you are unfamiliar with
- ; the use of mouse menus, please read the Logitech manual.
-
- ; The following example will get things going.
- ; MOUSE [ENTER] This loads the mouse.com into memory
- ; MENU [ENTER] This loads menu.com into memory
- ; MENU LOGI [ENTER] This loads the mouse menu
- ; These three lines can be added to your Autoexec.bat file if you want.
- ; Enjoy......Comments, suggestions and donations are welcome.
-
- ;***** MOUSE MENU DEFINITION CODE STARTS HERE *****
- BEGIN LeftB, MiddleB, RightB, LeftM, RightM, UpM, DownM, 70,30
- CHORDS LMB, LRB, MRB, ALLB
- ;***** BUTTON ASSIGNMENTS *****
- LeftB: TYPE ENTER ;Enter
- MiddleB: EXECUTE MAIN ;OPTION MENU.."EXECUTE" IN ORDER TO LIGHT UP MENU
- RightB: TYPE ESC ;Escape
- ;***** MOVE ASSIGNMENTS *****
- LeftM: TYPE 0,75 ;Move Left
- RightM: TYPE 0,77 ;Move Right
- UpM: TYPE 0,72 ;Move Up
- DownM: TYPE 0,80 ;Move Down
- ;***** CHORD ASSIGNMENTS *****
- LMB: EXECUTE TAG ;Left & Middle Buttons
- MRB: EXECUTE UTAG ;Middle & Right Buttons
- LRB: EXECUTE TAGAL ;Left & Right Buttons
- ALLB: EXECUTE UTAGAL ;All Buttons
- ;***** MENU CODE *****
- MAIN: POPUP 1, 5, NORMAL ;Line-1, Column-5, Color
- TEXT "CANCEL Scrn-Cmds File-Cmds DS-Cmds Drive-Sel DOS-Cmds Setup HELP! "
- SELECT 1, 1, 8,
- SELECT 1, 10, 11, SCRN
- SELECT 1, 20, 11, FILE
- SELECT 1, 30, 9, DS
- SELECT 1, 38, 11, DRV
- SELECT 1, 48, 10, DOS
- SELECT 1, 57, 7, SET
- SELECT 1, 64, 7, HELP
- PEND
-
- SCRN: MENU "Screen Commands", 2, 17, NORMAL ;Line, Column, Color
- OPTION "CANCEL",
- OPTION "Split", SPLIT
- OPTION "Flip", FLIP
- OPTION "Refresh", REFR
- OPTION "MENU-BAR", MAIN
- MEND
-
- FILE: MENU "File Commands", 2, 17, NORMAL ;Line, Column, Color
- OPTION "CANCEL",
- OPTION "Copy", CFILE
- OPTION "Move", MFILE
- OPTION "List", LFILE
- OPTION "Edit", EFILE
- OPTION "Find", FFILE
- OPTION "Print", PFILE
- OPTION "Delete", DFILE
- OPTION "Rename", RFILE
- OPTION "Execute", XFILE
- OPTION "Attribute", AFILE
- OPTION "List (OVL)", LOVL
- OPTION "Edit (OVL)", EOVL
- OPTION "Execute (OVL)", XOVL
- OPTION " MENU-BAR ", MAIN
- MEND
-
- DS: MENU "DS Commands", 2, 25, NORMAL ;Line, Column, Color
- OPTION "CANCEL",
- OPTION "Tree Dump", TDUMP
- OPTION "Dir Rescan", RSCAN
- OPTION "Dir Attributes", ATRIB
- OPTION "Dir Select & Sort", DSS
- OPTION "Dir Add-Del-Rename ", DMOD
- OPTION "Free Space on Drive", FREE
- OPTION "Exit to DOS", EXIT
- OPTION " MENU-BAR ", MAIN
- MEND
-
- DRV: MENU "Select Drive", 2, 34, NORMAL ;Line, Column, Color
- OPTION "CANCEL",
- OPTION "Drive A:", CHDRVA
- OPTION "Drive B:", CHDRVB
- OPTION "Drive C:", CHDRVC
- OPTION "Drive D:", CHDRVD
- OPTION "Drive E:", CHDRVE
- OPTION "Drive F:", CHDRVF
- OPTION "MENU-BAR", MAIN
- MEND
-
- DOS: MENU "DOS Commands", 2, 50, NORMAL ;Line, Column, Color
- OPTION "CANCEL",
- OPTION "Format A:", FORMA
- OPTION "Format B:", FORMB
- OPTION "Check_disk", CHDSK
- OPTION "Label_Disk A:", LABEL
- OPTION "Diskcopy A: B:", DCOPY
- OPTION "Stop Printing", SPRT ;I always forget the syntax!
- OPTION "Enter Command", CDOS
- OPTION "Enter Command (OVL)", CDOSOV
- OPTION " MENU-BAR ", MAIN
- MEND
-
- SET: MENU "DS SETUP Commands", 2, 59, NORMAL ;Line, Column, Color
- OPTION "CANCEL",
- OPTION "Macros", MACRO
- OPTION "Dir Links", LINK
- OPTION "Color Setup", COLOR
- OPTION "Limits of DS.", LIMIT
- OPTION "25 43/50 Toggle", EGA
- OPTION "Volume ID Toggle", VOL
- OPTION "Edit-List Defaults", DEF
- OPTION " MENU-BAR ", MAIN
- MEND
-
- HELP: POPUP 2, 26, INVERSE ;Line, Column, Color
- TEXT "╔════════════════════════════════════════════════════╗"
- TEXT "║ MENUS ║"
- TEXT "║ │ ║"
- TEXT "║ ╔═══════════╪═══════════╗ ║"
- TEXT "║ ║ ║ ║"
- TEXT "║ TAG───╫──────── ────────╫───UNTAG ║"
- TEXT "║ ║ ┌───┐ ┌───┐ ┌───┐ ║ ║"
- TEXT "║ ENTER───╫─│▒▓▒│ │▒▓▒│ │▒▓▒│─╫───ESCAPE ║"
- TEXT "║ ║ └───┘ └───┘ └───┘ ║ ║"
- TEXT "║ ║ ─────────────────╫───TAG ALL ║"
- TEXT "║ UNTAG ALL───╫──────────────── ║ ║"
- TEXT "║ ║≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡║ ║"
- TEXT "║ ║ EXIT TO MAIN MENU ║ ║"
- TEXT "║ ║ DS Key Command Help ║ ║"
- TEXT "║ ║ DS Extended Help ║ ║"
- TEXT "║ ║ LOGITECH C-7 MOUSE ║ ║"
- TEXT "║ ╚═══════════════════════╝ ║"
- TEXT "╟────────────────────────────────────────────────────╢"
- TEXT "║ This program furnished compliments of Tom LaChe' ║"
- TEXT "╚════════════════════════════════════════════════════╝"
- ; Line, Col, Word Length, Label
- SELECT 13, 19, 19, MAIN
- SELECT 14, 19, 19, SHELP
- SELECT 15, 19, 19, CHELP
- PEND
-
- ;***** LABEL ASSIGNMENTS *****
- ATAG: TYPE "A" ;Attribute File
- CTAG: TYPE "K" ;Copy File
- MTAG: TYPE "M" ;Move File
- PTAG: TYPE "P" ;Print File
- LFILE: TYPE "L" ;List File
- EFILE: TYPE "E" ;Edit File
- FFILE: TYPE "F" ;Find File
- RFILE: TYPE "R" ;Rename File
- SPLIT: TYPE "S" ;Spit Display
- XFILE: TYPE "X" ;Execute File
- CDOS: TYPE "C" ;Dos Commands
- TAG: TYPE "T" ;Tag File
- UTAG: TYPE "U" ;Untag File
- LINK: TYPE "0" ;Directory Links
- SHELP: TYPE "?" ;Simple Help
- FLIP: TYPE 0,78 ;Flip Upper/Lower
- EXIT: TYPE 0,67 ;F9 Exit to Dos
- CHELP: TYPE 0,68 ;F10 Complex Help
- MACRO: TYPE 0,113 ;SHIFT-F10
- CDOSOV: TYPE 0,46 ;ALT-C Dos Cmd (OVL)
- FREE: TYPE 0,33 ;ALT-F Free Space
- DTAG: TYPE 0,32 ;ALT-D Delete Function
- RSCAN: TYPE 0,19 ;ALT-R Dir Rescan
- DSS: TYPE 0,31 ;ALT-S Dir Select & Sort
- TAGAL: TYPE 0,20 ;ALT-T Tag all Files
- UTAGAL: TYPE 0,22 ;ALT-U Untag all Files
- COLOR: TYPE 0,37 ;ALT-K Color Setup
- EGA: TYPE 0,50 ;ALT-M Toggle EGA Mode
- XOVL: TYPE 0,45 ;ALT-X Execute (OVL)
- LOVL: TYPE 0,38 ;ALT-L List (OVL)
- EOVL: TYPE 0,18 ;ALT-E Edit (OVL)
- DEF: TYPE 5 ;CTRL-E Edit Defaults
- REFR: TYPE 18 ;CTRL-R Refresh Screen
- TDUMP: TYPE 20 ;CTRL-T Tree Dump
- ATRIB: TYPE 1 ;CTRL-A Directory Attributes
- VOL: TYPE 22 ;CTRL-V Volume Toggle
- LIMIT: TYPE 12 ;CTRL-L Limits of Directory Scanner
- DMOD: TYPE 4 ;CTRL-D Directory Add/Delete/Change
- CHDRVA: TYPE "DA", ENTER ;CHANGE TO DRIVE A:
- CHDRVB: TYPE "DB", ENTER ;CHANGE TO DRIVE B:
- CHDRVC: TYPE "DC", ENTER ;CHANGE TO DRIVE C:
- CHDRVD: TYPE "DD", ENTER ;CHANGE TO DRIVE D:
- CHDRVE: TYPE "DE", ENTER ;CHANGE TO DRIVE E:
- CHDRVF: TYPE "DF", ENTER ;CHANGE TO DRIVE F:
- FMTA: TYPE "FORMAT A:", ENTER
- FMTB: TYPE "FORMAT B:", ENTER
- COPY: TYPE "DISKCOPY A: B:", ENTER
- CDSK: TYPE "CHKDSK "
- LAB: TYPE "LABEL A:",ENTER
- PRT: TYPE "PRINT/T", ENTER, ENTER ;TERMINATE PRINT OPERATION
- AFILE: EXECUTE TAG, ATAG
- CFILE: EXECUTE TAG, CTAG
- DFILE: EXECUTE TAG, DTAG
- MFILE: EXECUTE TAG, MTAG
- PFILE: EXECUTE TAG, PTAG
- FORMA: EXECUTE CDOS, FMTA
- FORMB: EXECUTE CDOS, FMTB
- CHDSK: EXECUTE CDOS, CDSK
- LABEL: EXECUTE CDOS, LAB
- DCOPY: EXECUTE CDOS, COPY
- SPRT: EXECUTE CDOS, PRT
- ;The end
-