home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 June
/
PCWorld_1998-06_cd.bin
/
software
/
sharware
/
komunik
/
QMODEM
/
Q40LOGMO.ZIP
/
QMODEM.DEF
< prev
next >
Wrap
Text File
|
1989-02-26
|
10KB
|
310 lines
;
; Q m o d e m L o g i m o u s e M e n u
; V e r s i o n 0.90
;
; SET COLOR FOR MENUS TO MATCH YOUR QMODEM COLOR CHOICES
;
; b y B o b R .
; The Anonymous BBS (414) 251-2580
; 24 hours/300-9600 bps Hayes
;
; ***** ASSIGN MOUSE FUNCTIONS *****
;
;------------------------------------------------------------------------
;
; ***** USE ALL THE BUTTONS AND MOVEMENTS, ANY CHORDS EXIT FROM MENU *****
;
;
BEGIN LBUT, MBUT, RBUT, LMOV, RMOV, UPMOV, DMOV, 50, 50
CHORDS LMB, LRB, MRB, ALLB
;
;*****CHORDS
LMB: MATCH 15,37,,"Redial",C,Y ; Enables Cycle or Yes from mouse
LRB: Execute Pgup ; Shortcut to upload menu
MRB: MATCH 15,37,,"Redial",K,N ; Enables Kill or No from mouse
ALLB: Execute Pgdn ; Shortcut to download menu
;
;
;------------------------------------------------------------------------
;
; ***** BUTTON DEFINITIONS *****
;
LBUT: TYPE ENTER ; LEFT BUTTON IS ALWAYS RETURN
RBUT: TYPE ESC ; RIGHT BUTTON IS ALWAYS ESCAPE
MBUT: MATCH 1,36,,"Phone",SPACE,MBUT2 ; MATCH ENABLES MARKING ENTRIES
MBUT2: MATCH 1,28,,"╒══ D",DLPRO,MBUT3 ; MATCH CALLS DL PROTOCOL MENU
MBUT3: MATCH 1,28,,"╒═══ U",ULPRO,MBUT4 ; MATCH CALLS UL PROTOCOL MENU
MBUT4: MATCH 25,1,,"░ ",MAINMENU,MBUT5 ; MATCH CALLS MAIN MENU
MBUT5: MATCH 43,1,,"░ ",MAINMENU,MBUT6 ; MATCH CALLS MAIN MENU (EGA)
MBUT6: MATCH 50,1,,"░ ",MAINMENU,SHELL ; MATCH CALLS MAIN MENU (VGA)
;
;---------------------------------------------------------------------------
;
; ***** MOVEMENTS *****
;
LMOV: TYPE 0,75 ; LEFT ARROW KEY
RMOV: TYPE 0,77 ; RIGHT ARROW KEY
UPMOV: TYPE 0,72 ; UP ARROW KEY
DMOV: TYPE 0,80 ; DOWN ARROW KEY
;
;----------------------------------------------------------------------------
;
; ***** MAIN POP-UP MENU *****
;
MAINMENU: MENU "Main Menu", 5, 60, 116 ; POP-UP IN UPPER AREA
OPTION "MODEM", MEN1 ; IF SELECTED, GOTO MEN1
OPTION "UL/DL", MEN2 ; IF SELECTED, GOTO MEN2
OPTION "SCREEN", MEN3 ; IF SELECTED, GOTO MEN3
OPTION "SETUP", MEN4 ; IF SELECTED, GOTO MEN4
OPTION "FILES", MEN5 ; IF SELECTED, GOTO MEN5
OPTION "HELP", HOME ; IF SELECTED, SHOW HELP SCREEN
OPTION "EXIT", ALTX ; IF SELECTED, EXIT QMODEM
OPTION "Cancel", NOTHING ; IF SELECTED, CANCEL POP-UP
MEND
;---------------------------------------------------------------------------
;
; ***** SUB-MENUS *****
;
;---------------------------------------------------------------------------
;
; *** MENU 1 ***
;
MEN1: MENU "MODEM", 5, 58, 116
;
OPTION "Dial Phone", ALTD
OPTION "Echo Toggle", ALTE
OPTION "LF Toggle", SHIFTTAB
OPTION "Session Log", ALT0
OPTION "Printer Echo", CTLPRTSCR
OPTION "Redial", ALTQ
OPTION "Script", ALTF
OPTION "Break", CTLEND
OPTION "Hang-up", ALTH
OPTION "CANCEL", NOTHING ; IF SELECTED, CANCEL POP-UP
MEND
;---------------------------------------------------------------------------
;
; *** MENU 2 ***
;
MEN2: MENU "DL/UL", 5, 58, 116
;
OPTION "Download", PGDN
OPTION "Upload", PGUP
OPTION "Capture File", CTLHM
OPTION "CANCEL", NOTHING ; IF SELECTED, CANCEL POP-UP
MEND
;---------------------------------------------------------------------------
;
; *** MENU 3 ***
;
MEN3: MENU "SCREEN", 5, 58, 116
;
OPTION "Clear Screen", ALTC
OPTION "Scroll Back", ALTU
OPTION "Split Screen", ALTS
OPTION "Screen Dump", ALTT
OPTION "EGA/VGA 25 line", ALT2
OPTION "EGA/VGA 43/50 line", ALT4
OPTION "CANCEL", NOTHING ; IF SELECTED, CANCEL POP-UP
MEND
;---------------------------------------------------------------------------
;
; *** MENU 4 ***
;
MEN4: MENU "SETUP", 5, 58, 116
;
OPTION "Run QINSTALL", ALTN
OPTION "XON/XOFF", ALTZ
OPTION "Set Func. Keys", ALTJ
OPTION "COM Port", ALTK
OPTION "Music", ALTM
OPTION "BAUD Rate", ALTP
OPTION "Beeps & Bells", ALTB
OPTION "Terminal Emul.", ALTG
OPTION "Backspace/DEL", ALT1
OPTION "8-BIT", ALT8
OPTION "Translation", ALTA
OPTION "Doorway Mode", ALTEQ
OPTION "CANCEL", NOTHING ; IF SELECTED, CANCEL POP-UP
MEND
;---------------------------------------------------------------------------
;
; *** MENU 5 ***
;
MEN5: MENU "FILES", 5, 58, 116
;
OPTION "Change Drive", ALTL
OPTION "Change Subdir", ALTO
OPTION "DOS Shell", ALTR
OPTION "View/Edit File", ALTV
OPTION "Disk DIR", ALTW
OPTION "Delete File", ALTY
OPTION "CANCEL", NOTHING ; IF SELECTED, CANCEL POP-UP
MEND
;---------------------------------------------------------------------------
; ***** SHELL MENU *****
SHELL: MENU , 15, 58, 116
;
OPTION "Exit DOS", EXIT
OPTION "Remain", NOTHING
MEND
;---------------------------------------------------------------------------
;
; ***** DL PROTOCOL MENU *****
; ADD PROTOCOLS AS NEEDED
;
DLPRO: POPUP 3, 29, 23
TEXT " Ascii "
TEXT " Xmodem "
TEXT " Xmodem CRC "
TEXT " Xmodem Relaxed "
TEXT " Xmodem-1K "
TEXT " Ymodem (batch) "
TEXT " Ymodem-1K/G "
TEXT " Ymodem/G (batch) "
TEXT "══════[ External ]══════"
TEXT " Sealink "
TEXT " PC Kermit "
TEXT " WXmodem "
TEXT " Xmodem Ovthr "
TEXT " True Ymod-G "
TEXT " Zmodem DSZ "
TEXT " MegaLink "
TEXT " Jmodem "
TEXT " CANCEL "
;
SELECT 1, 4, 16, A
SELECT 2, 4, 16, X
SELECT 3, 4, 16, C
SELECT 4, 4, 16, R
SELECT 5, 4, 16, O
SELECT 6, 4, 16, Y
SELECT 7, 4, 16, F
SELECT 8, 4, 16, G
SELECT 10, 4, 16, S
SELECT 11, 4, 16, K
SELECT 12, 4, 16, W
SELECT 13, 4, 16, V
SELECT 14, 4, 16, T
SELECT 15, 4, 16, Z
SELECT 16, 4, 16, M
SELECT 17, 4, 16, J
SELECT 18, 4, 16, ESCAPE
;
PEND
;---------------------------------------------------------------------------
;
; ***** UL PROTOCOL MENU *****
; ADD PROTOCOLS AS NEEDED
;
ULPRO: POPUP 2, 29, 23
TEXT " Ascii "
TEXT " Xmodem "
TEXT " Xmodem CRC "
TEXT " Xmodem Relaxed "
TEXT " Xmodem-1K "
TEXT " Ymodem (batch) "
TEXT " Ymodem-1K/G "
TEXT " Ymodem/G (batch) "
TEXT "══════[ External ]══════"
TEXT " Sealink "
TEXT " PC Kermit "
TEXT " WXmodem "
TEXT " Xmodem Ovthr "
TEXT " True Ymod-G "
TEXT " Zmodem DSZ "
TEXT " MegaLink "
TEXT " Jmodem "
TEXT " CANCEL "
;
SELECT 1, 4, 16, A
SELECT 2, 4, 16, X
SELECT 3, 4, 16, C
SELECT 4, 4, 16, R
SELECT 5, 4, 16, O
SELECT 6, 4, 16, Y
SELECT 7, 4, 16, F
SELECT 8, 4, 16, G
SELECT 10, 4, 16, S
SELECT 11, 4, 16, K
SELECT 12, 4, 16, W
SELECT 13, 4, 16, V
SELECT 14, 4, 16, T
SELECT 15, 4, 16, Z
SELECT 16, 4, 16, M
SELECT 17, 4, 16, J
SELECT 18, 4, 16, ESCAPE
;
PEND
;---------------------------------------------------------------------------
;
; ***** KEY DEFINITIONS FOR MENU CALLS ***
;
A: TYPE "A"
ALT2: TYPE 0,121
ALT4: TYPE 0,123
ALTA: TYPE 0,30
ALTB: TYPE 0,48
ALTC: TYPE 0,46
ALTD: TYPE 0,32
ALTE: TYPE 0,18
ALTEQ: TYPE 0,131
ALTF: TYPE 0,33
ALTG: TYPE 0,34
ALTH: TYPE 0,35
ALTJ: TYPE 0,36
ALTK: TYPE 0,37
ALTL: TYPE 0,38
ALTM: TYPE 0,50
ALTN: TYPE 0,49
ALTO: TYPE 0,24
ALTP: TYPE 0,25
ALTQ: TYPE 0,16
ALTR: TYPE 0,19
ALTS: TYPE 0,31
ALTT: TYPE 0,20
ALTU: TYPE 0,22
ALTV: TYPE 0,47
ALTW: TYPE 0,17
ALTX: TYPE 0,45
ALTY: TYPE 0,21
ALTZ: TYPE 0,44
ALT0: TYPE 0,129
ALT1: TYPE 0,120
ALT8: TYPE 0,127
B: TYPE "B"
C: TYPE "C"
D: TYPE "D"
CTLHM: TYPE 0,119
CTLEND: TYPE 0,117
CTLPRTSCR: TYPE 0,114
ESCAPE: TYPE ESC
EXIT: TYPE "EXIT",ENTER
F: TYPE "F"
G: TYPE "G"
HOME: TYPE 0,71
J: TYPE "J"
K: TYPE "K"
L: TYPE "L"
M: TYPE "M"
N: TYPE "N"
NOTHING: NOTHING
O: TYPE "O"
PGDN: TYPE 0,81
PGUP: TYPE 0,73
R: TYPE "R"
REVPRE: TYPE "E"
SPACE: TYPE " "
S: TYPE "S"
T: TYPE "T"
SHIFTTAB: TYPE 0,15
V: TYPE "V"
W: TYPE "W"
X: TYPE "X"
Y: TYPE "Y"
Z: TYPE "Z"
;
;---------------------------------------------------------------------------