home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-386-Vol-2of3.iso
/
c
/
commo541.zip
/
COMMO.MAC
< prev
next >
Wrap
Text File
|
1993-02-13
|
9KB
|
210 lines
┌────────────┐
PgDn for more macros │ Macro File │ PgDn for more macros
└────────────┘
1) A program indicated to the right of a macro must be in your DOS path.
2) Move Selector Bar to desired entry, press [Enter].
ASCII Upload macro, press Alt-A
────────────────────────────────────────────────────────────────────────────
{:ala} {ascii %uldir\} {} ASCII Upload with upload path
Macro to review capture file, press Shift-F8 Program required
────────────────────────────────────────────────────────────────────────────
{:sf8} {exec LIST %_cap /e} {} (aka Scrollback using no RAM) LIST.COM
Simple login macro, press F2
────────────────────────────────────────────────────────────────────────────
{:nf2} {send Fred|~~Brucker|~~~~%_pas|} {} RBBS, PCBoard, Auntie, etc.
Macro to list download directory, press Alt-F10
────────────────────────────────────────────────────────────────────────────
{:af0} {exec-w dir %dldir /w} {} Download directory
Macro to login to a PCBoard (put "pcb" in Dialing Directory macro field)
────────────────────────────────────────────────────────────────────────────
{:pcb} {capture y,c:\commo\pcb.cap} {asci ,}
{setlook 60,hng}
{lookfor graphics} {send y|}
{setlook 60,hng,6,n|}
{lookfor first name?} {send Fred Brucker|~%_pas|} <= your name here
{lookfor Main Board Command?} {}
{:hng} {hangup y} {stop}
CompuServe login macro
────────────────────────────────────────────────────────────────────────────
{:cis} {setlook 45,hng,2,^c} {send ^c}
{capt y,c:\commo\cis.%_day} {asci ,:}
{lookfor User ID:} {send XXXXX,XXX|} <= Change to your user ID
{setl 20,hng} {lookfor Password:} {send %_pas|} {}
GEnie login macro
────────────────────────────────────────────────────────────────────────────
{:genie}
{setlook 90,hng} {capt y,c:\commo\genie.%_day}
{asci ,>} {local y} {send ~H~H~H}
{lookfor u#} {send XXXXXXXX,%_pas|} {} <= Change to your user #
Macros used for DOWNLOADING (receiving)
────────────────────────────────────────────────────────────────────────────
{:pgd} ** Download menu
{setv _menu1, [F1] for HELP}
{setv _menu3, Y ■ Ymodem batch Internal}
{setv _menu4, G ■ Ymodem-G batch Internal}
{setv _menu5, X ■ Xmodem-CRC (or old Ymodem) Internal}
{setv _menu6, O ■ Xmodem-G Internal}
{setv _menu7, S ■ Xmodem csum Internal}
{setv _menu9, IMPORTANT: The following external}
{setv _menu10, protocols require that the indicated
{setv _menu11, program be installed on your system.}
{setv _menu13, Z ■ Zmodem batch using DSZ/GSZ/TXZM}
{setv _menu14, H ■ HS/Link using HSLINK.EXE}
{setv _menu15, M ■ MPt batch using MPT.EXE}
{setv _menu16, B ■ CompuServe B, B+ using OZBEXT.EXE}
{setv _mlabel,phld,pcbr,,,,,pygr,phbr,,,,,pmpr,,pxgr,,,,px2r,,,,,px1r,pybr,pzbr}
{setv _mcolor,0b,30}
{menu 20,47,DOWNLOAD Protocol Menu} {}
Help {:phld} {help z} {goto pgd}
Y batch {:pybr} {rymo-a %dldir} {} (-a is for the alarm)
Y-G {:pygr} {rymo-ga %dldir} {}
X CRC {:px1r} {call gfnd} {rxmo-ya %file} {}
X-G {:pxgr} {call gfnd} {rxmo-gya %file} {}
X csum {:px2r} {call gfnd} {rxmo-c0ya %file} {}
Zmodem receive macros
{:pzbr} {comp z_prog} {ifco dszc#r} {goto %z_prog#r}
{:dszc#r} {setv progdsz,dsz.com} {goto omen#r}
{:dsze#r} {setv progdsz,dsz.exe} {goto omen#r}
{:gsz#r} {setv progdsz,gsz.exe}
{:omen#r} {exec-a %progdsz portx %_pad,%_irq ha both rz -mr %dldir} {}
{:txzm#r} {exec-a txzm -c%_pad,%_irq -l%_spe -b%_mod -h -q -r %dldir} {}
HS/Link {:phbr} {call gfnu} HSLINK.EXE
{exec-a HSLINK -pb0x%_pad -pi%_irq -nv %file -u%dldir} {}
MPt {:pmpr} {exec-a MPT P%_por S%_spe r %dldir\} {} MPT.EXE
CIS BPlus {:pcbr} {exec OZBFIXED /c%_por /f%dldir /n} {} OZBEXT.EXE
{:gfnd} {setv file,%dldir\} {input file,Enter a filename to DOWNLOAD}
{ifex %file,,gf_y} {input %yn,File exists, overwrite? [Y/n]}
{comp yn} {ifco gf_y} {comp yn,y} {ifco gf_y} {}
{:gf_y} {return}
Macros used for UPLOADING (sending)
────────────────────────────────────────────────────────────────────────────
{:pgu} ** Upload menu
{setv _menu1, [F1] for HELP}
{setv _menu3, Y ■ Ymodem batch Internal}
{setv _menu4, G ■ Ymodem-G batch Internal}
{setv _menu5, X ■ Xmodem-1K (old Ymodem) Internal}
{setv _menu6, O ■ Xmodem-G Internal}
{setv _menu7, S ■ Xmodem Internal}
{setv _menu9, IMPORTANT: The following external}
{setv _menu10, protocols require that the indicated
{setv _menu11, program be installed on your system.}
{setv _menu13, Z ■ Zmodem batch using DSZ/GSZ/TXZM}
{setv _menu14, H ■ HS/Link using HSLINK.EXE}
{setv _menu15, M ■ MPt batch using MPT.EXE}
{setv _menu16, B ■ CompuServe B, B+ using OZBEXT.EXE}
{setv _mlabel,phlu,pcbs,,,,,pybs,phbs,,,,,pmps,,px1s,,,,px2s,,,,,px1s,pybs,pzbs}
{setv _mcolor,0b,20}
{menu 20,47,UPLOAD Protocol Menu} {}
Help {:phlu} {help z} {goto pgu}
Y batch {:pybs} {call gfnu} {symo-ka %file} {}
X-1K {:px1s} {call gfnu} {sxmo-ka %file} {}
X {:px2s} {call gfnu} {sxmo-a %file} {}
Zmodem send macros
{:pzbs} {call gfnu} {comp z_prog} {ifco dszc#s} {goto %z_prog#s}
{:dszc#s} {setv progdsz,dsz.com} {goto omen#s}
{:dsze#s} {setv progdsz,dsz.exe} {goto omen#s}
{:gsz#s} {setv progdsz,gsz.exe}
{:omen#s} {exec-a %progdsz portx %_pad,%_irq ha both sz -mr %file} {}
{:txzm#s} {exec-a txzm -c%_pad,%_irq -l%_spe -b%_mod -h -q -s %file} {}
HS/Link {:phbs} {call gfnu} HSLINK.EXE
{exec-a HSLINK -pb0x%_pad -pi%_irq -nv %file -u%dldir} {}
MPt {:pmps} {call gfnu} MPT.EXE
{exec-a MPT P%_por S%_spe s %file} {}
CIS BPlus {:pcbs} {exec-s OZBFIXED /c%_por /f%uldir /n} {} OZBEXT.EXE
{:gfnu} {setv file,%uldir\}
{input file,Enter a filename to UPLOAD} {return}
Macros for Utility Menu
────────────────────────────────────────────────────────────────────────────
{:alu}
{setv _menu1, A ≡ Edit an External File}
{setv _menu3, B ≡ Run a Macro}
{setv _menu5, C ≡ Run MOSTHOST host mode}
{setv _menu6, (use D to install)}
{setv _menu8, D ≡ View/Edit MOSTHOST}
{setv _mlabel,uext,urun,uhost,vhost}
{menu 12,32,Macro Utility Menu} {}
{:urun} {input runmac,Macro to run} {goto %runmac} {}
{:uext} {input temp,Filename to edit}
{:uedit} {edit %temp} {goto alu} {}
{:uhost} {macl mosthost.mac,bbs}
{:vhost} {setv temp,%_hom%mosthost.mac} {goto uedit}
──────────────────────────────
Full Screen Editor Key Support
──────────────────────────────
The following keys are used by full screen editors such as Visual Editor in
ProDoor, PCBoard's full screen editor, ANSIED in RBBS and others. They may
be changed to suit your own needs (all keys do not work with all editors --
capture the editor help info on the BBS). See Appendix D in COMMO.DOC for
details on character representation.
Note that the left arrow function (^S) is also the XOFF character. This may
cause a problem on some systems. If pressing the left arrow seems to hang
the remote, press Ctrl-Q and change the "lfa" macro to:
{send ^[[D} {} or {send ^@K} {}
PgUp and PgDn are normally used for uploading and downloading. To use them
for editing, change the key-labels in the menus above (press F6 in the
Internal Editor to see them).
Macro Key Function
────────────────────────────────────────────────────────────────────────────
{:hom} {send ^W} {} Home Start of line
{:end} {send ^P} {} End End of line
{:pgu} {send ^R} {} PgUp Page up
{:pgd} {send ^C} {} PgDn Page down
{:upa} {send ^E} {} Up Arrow Cursor up
{:dna} {send ^X} {} Down Arrow Cursor down
{:lfa} {send ^S} {} Left Arrow Cursor left
{:rta} {send ^D} {} Right Arrow Cursor right
{:cla} {send ^A} {} ^Left Arrow Word left
{:cra} {send ^F} {} ^Right Arrow Word right
{:ins} {send ^V} {} Insert Toggle insert mode
{:del} {send ^G} {} Delete Delete character
{:cnd} {send ^K} {} ^End Delete to end of line