
;    GT.DEF  -  a mouse menu definition.  Use to compile a Microsoft Mouse
;    Expert Menu for use with GT-1221, an excellent Terminal Program which is
;    distributed as shareware by P&M Software.  This menu definition file was
;    written on 07-10-87 by
;
;              Jerry Houston  -  RBBS-PC COLLEGE CORNER
;                  Bellevue, WA  -  (206)643-0804

BEGIN lb,rb,bb,lm,rm,up,dn,256,8
lb:    execute ret                ; simulates return key
rb:    execute escape             ; simulates escape key
bb:    execute mainmenu           ; execute main menu
lm:    execute goleft             ; same as left arrow
rm:    execute goright            ; same as right arrow
up:    execute goup               ; same as up arrow
dn:    execute godn               ; same as dn arrow

;   Matches dialing directory and slows down horizontal cursor.  Uses faster
;   mouse movement in other parts of the program.

match 2,4,bold,"#",slow_horiz,fast_horiz

;   MAINMENU  -  The main popup menu that gives access to six other menus,
;   plus a couple functions that don't require menus (eg. shell to DOS).

mainmenu:  POPUP 2,1
    text "                                                                                "
    text "  FILE TRANSFERS:       Receive File       Transmit File      Transmit ASCII    "
    text "                                                                                "
    text "  FILES, DIRECTORIES:   List Disk Dir      New Drive/Dir      View a File       "
    text "                        Copy a File        Kill a File        Capture a File    "
    text "                                                                                "
    text "  DIALING, SCRIPTS:     Phone Directory    Redial Last Num    Circular Dialing  "
    text "                        Sort Phone Dir     Execute a Script   Terminate Call    "
    text "                        Suspend Capture    View Capture                         "
    text "                                                                                "
    text "  CONTROL, SETUP:       Program Setup      Macro Key Setup    Start Host Mode   "
    text "                        Shell to DOS       Toggle Duplex      Toggle Chksum RX  "
    text "                        Modem Setup        Toggle Beeps                         "
    text "                                                                                "
    text "  MISCELLANEOUS:        Exit Program       Clear Screen       Start Time Fix    "
    text "                        Screen Dump        Split Screen       Show Time Report  "
    text "                        Set Line BREAK     Manual Log Entry   Monitor Mode      "
    text "                        Print a File       Toggle Printer     Program Version   "
    text "                                                                                "

    select 2,24,19,receive
    select 2,43,19,transmit
    select 2,62,19,transasc
    select 4,24,19,list_disk
    select 4,43,19,new_drive
    select 4,62,19,view_file
    select 5,24,19,copy_file
    select 5,43,19,kill_file
    select 5,62,19,capture_file
    select 7,24,19,phone_dir
    select 7,43,19,redial
    select 7,62,19,circular
    select 8,24,19,sort_dir
    select 8,43,19,script
    select 8,62,19,terminate
    select 9,24,19,suspend_capt
    select 9,43,19,view_capt
    select 11,24,19,prog_setup
    select 11,43,19,macro_setup
    select 11,62,19,start_host
    select 12,24,19,shell
    select 12,43,19,duplex
    select 12,62,19,checksum
    select 13,24,19,modem_setup
    select 13,43,19,beeps
    select 15,24,19,exit
    select 15,43,19,clrscr
    select 15,62,19,start_time
    select 16,24,19,screen_dump
    select 16,43,19,split_screen
    select 16,62,19,show_time
    select 17,24,19,set_break
    select 17,43,19,log_entry
    select 17,62,19,monitor
    select 18,24,19,print_file
    select 18,43,19,toggle_printer
    select 18,62,19,version
pend


;executables
ret:               type enter             ; simulates return key
escape:            type esc               ; simulates escape key
goleft:            type 0,75              ; same as left arrow
goright:           type 0,77              ; same as right arrow
goup:              type 0,72              ; same as up arrow
godn:              type 0,80              ; same as dn arrow
receive:           type 0,19              ; alt-R
transmit:          type 0,20              ; alt-T
transasc:          type 0,30              ; alt-A
list_disk:         type 0,38              ; alt-L
new_drive:         type 0,49              ; alt-N
view_file:         type 0,47              ; alt-V
copy_file:         type 0,21              ; alt-Y
kill_file:         type 0,37              ; alt-K
capture_file:      type 0,46              ; alt-C
phone_dir:         type 0,32              ; alt-D
redial:            type 0,34              ; alt-G
circular:          type 0,125             ; alt-6
sort_dir:          type 0,24              ; alt-O
script:            type 0,122             ; alt-3
terminate:         type 0,16              ; alt-Q
suspend_capt:      type 0,123             ; alt-4
view_capt:         type 0,127             ; alt-8
prog_setup:        type 0,23              ; alt-I
macro_setup:       type 0,50              ; alt-M
start_host:        type 0,130             ; alt- -
shell:             type 0,120             ; alt-1
duplex:            type 0,18              ; alt-E
checksum:          type 0,124             ; alt-5
modem_setup:       type 0,31              ; alt-S
beeps:             type 0,128             ; alt-9
exit:              type 0,45              ; alt-X
clrscr:            type 0,17              ; alt-W
start_time:        type 0,33              ; alt-F
screen_dump:       type 0,121             ; alt-2
split_screen:      type 0,126             ; alt-7
show_time:         type 0,22              ; alt-U
set_break:         type 0,48              ; alt-B
log_entry:         type 0,129             ; alt-0
monitor:           type 0,44              ; alt-Z
print_file:        type 0,25              ; alt-P
toggle_printer:    type 0,114             ; ctrl-PrintScreen
version:           type 0,23              ; alt-J

slow_horiz:  assign ,,,,,,,256,8

fast_horiz:  assign ,,,,,,,4,8
