home *** CD-ROM | disk | FTP | other *** search
-
- MACROFIL.MAC v1.2d
- by Jeff Oberlee (C)opyright 1992
-
- {:alr} {MACL MACROBBS.MAC,WF3} {:alu} {MACL MACROBBS.MAC,bbs}
-
- {:esc_menu}
- {IFCA ,ESM} {SEND ^J^M%an7%%an9%Time comes to a grinding halt! %an0}
- {:ESM} {SETE-P0 ESM2} {SETV ch}
- {PARM ,,,,0}
- {INPU ch, PRESS: [ENTER] to CHAT, [U]seredit, [D]OS, [H]angup}
- {COMP ch,h} {IFCO ESM4}
- {COMP ch,d} {IFCO ESM5}
- {COMP on,} {IFCO ESM}
- {COMP ch,u} {IFCO ESM3}
- {COMP ch,} {IFCO ,ESM}
- {:ESM1} {COMP cf,} {IFCO CT8,ESM}
- {:ESM2} {SETE-P0 esc_menu}
- {IFCA ,ESM6} {SEND %an3%Then suddenly...} {PAUS 1}
- {:ESM6} {RETURN}
- {:ESM5} {SHEL} {GOTO ESM}
- {:ESM3} {COMP open,y} {IFCO ESM}
- {:ESM8} {COMP login_name,} {IFCO ESM}
- {SETV lname,%login_name} {INPU lname,EDIT: Handle (3-30 characters)}
- {COMP lname,1} {IFCO-GE ESM8}
- {LENG %lname} {COMP _len,3} {IFCO-L ESM8}
- {LENG %lname} {COMP _len,30} {IFCO-G ESM8}
- {:ESM9} {SETV temp,%protocol} {INPU temp,EDIT: Protocol (1 letter)}
- {LENG %temp} {COMP _len,1} {IFCO ,ESM9}
- {:ESM0} {SETV ch,%al} {INPU ch,EDIT: Access Level (0-999)}
- {COMP ch,999} {IFCO-G ESM0}
- {SETV al,%ch}
- {SETV protocol,%temp}
- {SETV row,%_row} {SETV col,%_col} {DISP 2,2,0F,%an9 * Saving * }
- {COMP lname,%login_name} {IFCO ESM7}
- {SETV login_name,%lname}
- {SETE time_out}
- {CALL update_clist}
- {:ESM7} {CALL write_user}
- {DISP 2,2,07, }
- {DISP %row,%col,,}
- {SETV row} {SETV col} {SETV lname}
- {GOTO ESM}
- {:ESM4} {SETV s,2} {GOTO time_out}
-
- {:chat}
- {SETV temp,0} {SETV ccount,0}
- {WOPE-A %datadir%LOG-1.LOG} {WRIT %_tim : Chat request} {WCLO}
- {SEND ^J^M^J%an4%Paging %sysop ...^J^M}
- {SPOC n} {SEND %an3%Press %an0[ESC]%an3 then %an0[ENTER]%an3 to chat with%an7 %login_name %an3...^J^M} {SPOC y}
- {:CT7} {INCR ccount} {SETV-S ch,an%ccount}
- {SEND %ch█}
- {SEND ^G} {SEND ^G} {SEND ^G} {PAUS 2}
- {COMP ccount,5} {IFCO-G ,CT7}
- {:CT6} {SETV chat,CHAT}
- {SEND ^M%an0%Sorry, %sysop isn't around right now.^J^M}
- {SEND %an0%However, the chat flag has been set.^J^M^J}
- {GOTO CT9}
- {:CT8} {SETV tl,%_ela}
- {SETG 240,time_out}
- {WOPE-A %datadir%LOG-1.LOG} {WRIT %_tim : Started chat} {WCLO}
- {COMP cb,y} {IFCO ,CT14}
- {CAPT y,%datadir%CHAT.LOG}
- {:CT14} {SEND ^J^M^J%an3%You've just entered . . . %an7%The Twilight Zone. %an3%Reality vanishes.^J^M}
- {SEND %an2(Type "%an0%bye!%an2" on a blank line to exit when desired.)^J^M}
- {SETV cf,1} {SETV co1,%an0} {SETV co2,%an3}
- {SETE-P0 esc_menu}
- {PUSH}
- {:CT2} {COMP cf,1} {IFCO CT3}
- {SEND %co2} {SETV cf,1} {GOTO CT4}
- {:CT3} {SEND %co1} {SETV cf,2}
- {:CT4} {SETV cline}
- {:CT5} {SEND ^J}
- {:CT13} {SEND ^M%cline}
- {GETS-AH cline,78,CT2}
- {COMP cline,/c} {IFCO switch_c}
- {COMP cline,bye!} {IFCO CT1}
- {COMP cline,bye!!} {IFCO time_out}
- {COMP cline,/scroll} {IFCO view_scroll}
- {COMP cline,NO CARRIER} {IFCO time_out}
- {LENG %cline} {COMP %_len,77} {IFCO-LE CT4}
- {SETV ccount,80} {SETV dline,0} {SETV cline, %cline}
- {:CT11} {DECR ccount} {INCR dline}
- {COMP ccount,60} {IFCO-LE CT4}
- {SUBS ch,%ccount,1,%cline}
- {COMP ch, } {IFCO ,CT11}
- {COMP ccount,79} {IFCO CT4}
- {INCR ccount}
- {SUBS cline,%ccount,%dline,%cline}
- {SETV ccount,0}
- {:CT12} {INCR ccount} {SEND ^H}
- {COMP ccount,%dline} {IFCO ,CT12}
- {GOTO CT5}
- {:CT1} {CAPT n}
- {SETV ch,%_ela} {DECR ch,%tl} {INCR tlc,%ch} {SETV tl}
- {SEND ^J^M^J%an3%You've just left . . . %an7%The Twilight Zone. %an3%Reality restored.^J^M^J}
- {WOPE-A %datadir%LOG-1.LOG} {WRIT %_tim : Ended chat} {WCLO}
- {SETV cf} {SETV co1} {SETV co2} {SETV chat} {SETV cline}
- {POPS}
- {:CT9} {SETV ccount}
- {SETE-P0 esc_menu}
- {CALL press_any_key}
- {RETURN}
-
- {:switch_c}
- {:SW1} {SEND ^M%an0(0 %an1%1 %an2%2 %an3%3 %an4%4 %an5%5 %an6%6 %an7%7%an0) ^H}
- {GETS-H ch,1,SW1}
- {COMP ch,0} {IFCO-L SW1}
- {COMP ch,7} {IFCO-G SW1}
- {SEND ^M ^M}
- {COMP cf,1} {IFCO ,SW3}
- {SETV-S co2,an%ch} {SEND %co2} {GOTO SW4}
- {:SW3} {SETV-S co1,an%ch} {SEND %co1}
- {:SW4} {SETV cline}
- {GOTO CT13}
-
- {:view_scroll}
- {SCROLL}
- {GOTO CT4}
-
- {:update_clist}
- {ROPE %datadir%CALLERS.LST,UC1}
- {WOPE %datadir%TEMP.000}
- {:UC2} {READ ch} {READ cline} {READ dline}
- {COMP ch,%userno} {IFCO UC3}
- {WRIT %ch} {WRIT %cline} {WRIT %dline} {GOTO UC2}
- {:UC3} {COMP s,1} {IFCO UC5}
- {:UC4} {WRIT %ch}
- {WRIT %login_name}
- {WRIT %password}
- {:UC5} {READ dline} {WRIT %dline} {GOTO UC5}
- {:UC1} {WCLO}
- {EXEC-N COPY %datadir%TEMP.000 %datadir%CALLERS.LST}
- {EXEC-N DEL %datadir%TEMP.000}
- {RETURN}
-
- {:write_user}
- {WOPE %userdir%%userno.MHS}
- {WRIT %login_name}
- {WRIT %password}
- {WRIT %al}
- {WRIT %protocol}
- {WRIT %expert}
- {WRIT %a}
- {WRIT %fa}
- {WCLO}
- {RETURN}
-
- {:time_out}
- {MACL MACROBBS.MAC,time_out}
-
- {:cls}
- {CLEA}
- {COMP on,} {IFCO CLS3}
- {COMP mnu,A} {IFCO CLS1}
- {SEND ^[[2J}
- {GOTO CLS2}
- {:CLS1} {SEND ^L}
- {:CLS2} {DISP 1,1,4F,│ }
- {DISP 1,3,4E,%login_name #%userno}
- {DISP 1,40,47,AL=%al}
- {DISP 1,48,47,%mspeed}
- {DISP 1,57,47,%_ela mins}
- {DISP 1,70,4F,%an9%%chat}
- {DISP 2,1,4F,└──────────────────────────────────────────────────────────────────────────────}
- {DISP 3,1,07,}
- {:CLS3} {RETURN}
-
- {:press_any_key}
- {COMP mnu,a} {IFCO PAK1}
- {SEND %an3%%an9^[[24;1h^[[24;1f[Press Any Key]%an0}
- {GOTO PAK2}
- {:PAK1} {SEND ^J^M^J[Press Any Key]}
- {:PAK2} {SETG 240,time_out}
- {GETS-H temp,1,PAK}
- {:PAK} {SEND ^M ^M}
- {SETV temp}
- {RETURN}
-
- {:dsp_file}
- {IFEX %dump_file,,DF5}
- {SETV count,0} {SETV open,y}
- {ROPE %dump_file,DF3}
- {PUSH}
- {:DF1} {READ dline}
- {COMP e,1} {IFCO ,DF8}
- {CALL list_quote}
- {:DF8} {SEND ^M%dline^J^M}
- {INCR count}
- {COMP count,22} {IFCO DF4}
- {GOTO DF1}
- {:DF2} {RCLO}
- {:DF3} {SETV dline} {SETV ch} {SETV count}
- {SETV open}
- {POPS}
- {RETURN}
-
- {:DF4} {SETV count,0}
- {SEND More? (Y,n) : }
- {SETG 120,DF1}
- {:DF6} {GETS-H ch,1,DF7}
- {COMP ch,y} {IFCO DF7}
- {COMP ch,n} {IFCO DF7}
- {SEND ^H} {GOTO DF6}
- {:DF7} {SEND ^M ^M}
- {COMP ch,n} {IFCO DF2,DF1}
- {:DF5} {SEND ^J^M^G%an1%Error: %an7%File not found: %dump_file}
- {CALL press_any_key}
- {RETURN}
-
- {:expert_tog}
- {COMP expert,ON}
- {IFCO ET1}
- {SETV expert,ON}
- {GOTO ET2}
- {:ET1} {SETV expert,OFF}
- {:ET2} {RETURN}
-
- {:cd}
- {IFCA cd1}
- {COMP on,1} {IFCO time_out}
- *-{:cd1} {COMP on,1} {IFCO ,cd2}
- {COMP _ela,%tlc} {IFCO-GE time_out}
- {:cd2} {RETURN}
-
- /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
- /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
- /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
- /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
- /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
-
- {:start}
- {SETE-P0 esc_menu}
- {PUSH}
- {:FX1} {CALL cd}
- {COMP expert,ON} {IFCO FX3}
- {:FX10} {CALL cls}
- {SEND ^J^M^J^J%an2}
- {SEND ^J^M ┌───────────────────────────────────────────────────┐}
- {SEND ^J^M │ %an0▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ %an7%File Base %an0▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ %an2│}
- {SEND ^J^M └───────────────────────────────────────────────────┘}
- {SEND ^J^M [%an0%<%an2] Reverse [%an0%A%an2] Area List [%an0%>%an2] Forward^J^M}
-
- {SEND ^J^M [%an0%L%an2] List this area's files [%an0%P%an2] Protocol Menu [%an0%M%an2] Message Base}
- {SEND ^J^M [%an0%U%an2] UPLOAD (give) a file [%an0%C%an2] Chat [%an0%H%an2] Hall of Fame}
- {SEND ^J^M [%an0%D%an2] DOWNLOAD (take) a file [%an0%X%an2] Xpert Toggle [%an0%Q%an2] MAIN MENU^J^M}
-
- {:FX3} {ROPE %filedir%F%fa.BAS} {READ bname} {READ bal} {RCLO}
- {SEND ^J^M^J%an2%File Base}
- {SEND ^J^M%an2[%an0%%bname%%an2] %an0%%_tim^J^M}
- {SETV ch,%tlc} {DECR ch,%_ela}
- {SEND %an0%Mins Left: %ch^J^M}
- {:FX2} {SEND ^M} {COMP expert,ON} {IFCO ,FX11}
- {SEND %an2(%an0?%an2=menu) }
- {:FX11} {SEND %an7%FB Command: ^H}
- {SETG 240,time_out}
- {:FX5} {IFCA FX9}
- {COMP mspeed,local} {IFCO ,time_out}
- {:FX9} {CALL cd}
- {GETS-H ch,1,FX9}
- {:FX6}
- {COMP ch,*} {IFCO time_out}
- {COMP ch,?} {IFCO FX10}
- {COMP ch,<} {IFCO fast_bak}
- {COMP ch,>} {IFCO fast_for}
- {COMP ch,a} {IFCO area_chg}
- {COMP ch,c} {IFCO chat}
- {COMP ch,x} {IFCO expert_tog}
- {COMP ch,l} {IFCO list_files}
- {COMP ch,p} {IFCO get_protocol}
- {COMP ch,q} {IFCO FX8}
- {COMP ch,m} {IFCO msg_base}
- {SETV dline,udh} {INST dline,%ch} {IFCO ,FX2} {COMP al,0} {IFCO FX7}
- {COMP ch,u} {IFCO ufiles}
- {COMP ch,d} {IFCO dfiles}
- {COMP ch,h} {IFCO hall}
-
- {:FX7} {SEND ^J^M%an1%Sorry, your access level does not allow.^J^M} {GOTO FX2}
-
- {:FX8}
- {SETV files} {SETV dfiles} {SETV desc}
- {MACL MACROBBS.MAC,main_menu}
-
- {:msg_base}
- {IFEX %msgsdir%A%a.BAS,MB2}
- {IFEX %msgsdir%A*.BAS,,FX2}
- {SETV a,0}
- {:MB1} {INCR a}
- {COMP a,%mhigh} {IFCO-G FX2}
- {IFEX %msgsdir%A%a.BAS,,MB1}
- {:MB2}
- {ROPE %msgsdir%A%a.BAS,MB1} {READ ch} {READ ch} {RCLO}
- {COMP ch,%al} {IFCO-G MB1}
- {SETV files} {SETV dfiles} {SETV desc}
- {MACL MACROMSG.MAC,start}
-
- {:hall}
- {SETV files} {SETV dfiles} {SETV desc}
- {MACL MACROREG.MAC,start}
-
- {:fast_for}
- {COMP fa,%fhigh} {IFCO FX2}
- {SETV ch,%fa}
- {:FF1} {INCR ch}
- {COMP ch,%fhigh} {IFCO-G FX2}
- {IFEX %filedir%F%ch.BAS,,FF1}
- {ROPE %filedir%F%ch.BAS,FF1} {READ dline} {READ temp} {RCLO}
- {COMP al,%temp} {IFCO-L FF1}
- {SETV fa,%ch}
- {:FF2} {GOTO FX3}
-
- {:fast_bak}
- {COMP fa,1} {IFCO FX2}
- {SETV ch,%fa}
- {:FB1} {DECR ch}
- {COMP ch,1} {IFCO-L FX2}
- {IFEX %filedir%F%ch.BAS,,FB1}
- {ROPE %filedir%F%ch.BAS,FB1} {READ dline} {READ temp} {RCLO}
- {COMP al,%temp} {IFCO-L FB1}
- {SETV fa,%ch}
- {:FB2} {GOTO FX3}
-
- {:area_chg}
- {CALL cls}
- {SEND ^J^M%an7%File areas:^J^M^J^M}
- {SETV count,0}
- {:AC1} {INCR count}
- {COMP count,%fhigh} {IFCO-G AC2}
- {IFEX %filedir%F%count.BAS,,AC1}
- {ROPE %filedir%F%count.BAS,AC1} {READ bname} {READ bal} {RCLO}
- {COMP al,%bal} {IFCO-L AC1}
- {SEND %an7%%count> %an2%%bname^J^M}
- {GOTO AC1}
- {:AC2} {SEND ^J^M}
- {:AC3} {SEND ^M%an3%Which will it be?%an7 ^H^H}
- {SETG 120,time_out}
- {GETS ch,2,AC4}
- {COMP ch,1} {IFCO-L AC3}
- {COMP ch,%fhigh} {IFCO-G AC3}
- {IFEX %filedir%F%ch.BAS,,AC3}
- {ROPE %filedir%F%ch.BAS,AC3} {READ bname} {READ bal} {RCLO}
- {COMP al,%bal} {IFCO-L AC3}
- {SETV fa,%ch}
- {:AC4} {RETURN}
-
- {:dfiles}
- {CALL cls}
- {SETV proto}
- {SETV dline,yz}
- {INST dline,%protocol} {IFCO ,DX6}
- {IFEX %dszdir,,DX5}
- {:DX6} {SEND ^J^M%an2%Enter the name of the file you wish to download. (ENTER=abort)^J^M}
- {:DX4} {SEND %an7%Filename:%an0 }
- {SETG 120,time_out}
- {GETS files,12,DX1}
- {SETV files,%filedir%F%fa\%files}
- {IFEX %files,,DX3}
- {COMP protocol,} {IFCO ,DX0}
- {CALL get_protocol}
- {SETV dline,yz}
- {INST dline,%protocol} {IFCO ,DX0}
- {IFEX %dszdir,,DX5}
- {:DX0} {SETV proto,s%protocol}
- {CALL transfer_file}
- {IFCO DX2}
- {WOPE-A %datadir%LOG-1.LOG} {WRIT ▒░▒░▒ ERRONEOUS DOWNLOAD at %_tim of %files ▒░▒░▒} {WCLO}
- {SEND ^J^M%an1%Erroneous download.^J^M}
- {CALL press_any_key}
- {:DX1} {SETV files}
- {RETURN}
- {:DX2} {WOPE-A %datadir%LOG-1.LOG} {WRIT %_tim : successful download of %files} {WCLO}
- {SEND ^J^M%an7%Successful download.^J^M}
- {GOTO DX1}
- {:DX3} {SEND ^J^M%an1%Invalid filename. Please try again.^J^M}
- {GOTO DX4}
- {:DX5} {BEEP}
- {SEND ^J^M%an1"%dszdir" not found.%an0 Try XMODEM or XMODEM-1K.}
- {COMP expert,ON} {IFCO DX1}
- {CALL press_any_key}
- {GOTO DX1}
-
- {:ufiles}
- {CALL cls}
- {COMP mspeed,local} {IFCO UF16}
- {SETV dline,yz}
- {INST dline,%protocol} {IFCO ,UF16}
- {IFEX %dszdir,,DX5}
- {:UF16} {SEND ^J^M^J%an7%Upload a file to %an3%%bname%%an7? %an0(y,%an7%N%an0) : }
- {SETG 120,time_out}
- {:UF9} {GETS-H ch,1,UF1}
- {COMP ch,n} {IFCO UF1}
- {COMP ch,y} {IFCO UF15}
- {SEND ^H} {GOTO UF9}
- {:UF15} {SETV proto}
- {SEND ^J^M^J%an4%Enter the name of the file you wish to upload. (ENTER=abort)^J^M}
- {:UF8} {SEND %an7%Filename:%an0 }
- {GETS dfiles,12,UF1}
- {SETV files,%filedir%F%fa\%dfiles}
- {COMP mspeed,local} {IFCO ,UF5}
- {IFEX %files,,UF7}
- {SEND ^J^M}
- {EXEC-N DIR %filedir%F%fa\%dfiles > %datadir%TEMP.000}
- {ROPE %datadir%TEMP.000,UF14}
- {WOPE-A %filedir%F%fa.LST}
- {:UF10} {READ dline}
- {COMP %dline,} {IFCO UF10}
- {SUBS ch,1,1,%dline} {COMP ch, } {IFCO UF10} {COMP ch,.} {IFCO UF10}
- {INST %dline,<DIR>} {IFCO UF10}
- {SUBS dline,1,23,%dline}
- {SEND ^J^M%an3%%dline }
- {SEND %an1%Upload this file? %an0(Yes,%an7%N%an0%o,Quit) : }
- {:UF11} {GETS-H ch,1,UF10}
- {COMP ch,n} {IFCO UF10}
- {COMP ch,q} {IFCO UF13}
- {COMP ch,y} {IFCO UF12}
- {SEND ^H} {GOTO UF11}
- {:UF12} {SEND ^J^M%an7%File description:%an0 }
- {GETS desc,53,UF10}
- {WRIT %dline %desc}
- {GOTO UF10}
- {:UF13} {RCLO}
- {:UF14} {WCLO}
- {GOTO UF1}
- {:UF5} {IFEX %files,UF4}
- {COMP protocol,} {IFCO ,UF0}
- {CALL get_protocol}
- {SETV dline,yz}
- {INST dline,%protocol} {IFCO ,UF0}
- {IFEX %dszdir,,DX5}
- {:UF0} {SETV proto,r%protocol} {SETV tl,%_ela}
- {CALL transfer_file}
- {IFCO ,UF3}
- {WOPE-A %datadir%LOG-1.LOG} {WRIT %_tim : successful upload of %files} {WCLO}
- {SETV ch,%_ela} {DECR ch,%tl} {INCR tlc,%ch} {SETV tl}
- {:UF6} {EXEC-N DIR %filedir%F%fa\%dfiles > %datadir%TEMP.000}
- {ROPE %datadir%TEMP.000,UF14}
- {:UF20} {READ dline}
- {COMP %dline,} {IFCO UF20}
- {SUBS ch,1,1,%dline} {COMP ch, } {IFCO UF20} {COMP ch,.} {IFCO UF20}
- {INST %dline,<DIR>} {IFCO UF20}
- {RCLO}
- {SUBS dline,1,23,%dline}
- {SEND ^J^M%an7%File description:%an0 }
- {:UF2} {GETS desc,53,UF2}
- {WOPE-A %filedir%F%fa.LST} {WRIT Φ %dline %desc} {WCLO}
- {:UF1} {SETV files} {SETV dfiles} {SETV desc} {SETV tl} {SETV proto}
- {RETURN}
- {:UF3} {WOPE-A %datadir%LOG-1.LOG} {WRIT ▒░▒░▒ ERRONEOUS UPLOAD at %_tim of %files ▒░▒░▒} {WCLO}
- {GOTO UF1}
- {:UF4} {SEND ^J^M%an1%File already exists.^J^M} {GOTO UF8}
- {:UF7} {SEND ^J^M%an1%Invalid filename. Please try again.^J^M} {GOTO UF8}
-
- {:list_files}
- {CALL cls}
- {SETV dump_file,%filedir%F%fa.LST}
- {CALL dsp_file}
- {COMP expert,ON} {IFCO LF}
- {CALL Press_Any_Key}
- {:LF} {RETURN}
-
- {:get_protocol}
- {PUSH}
- {SEND ^J^M}
- {:GP2} {COMP expert,ON} {IFCO GP4}
- {CALL CLS}
- {SEND ^J^M^J^J^J%an1}
- {SEND ^J^M ┌───────────────────────────────────────────────────┐}
- {SEND ^J^M │ %an0▒▒▒▒▒▒▒▒▒▒▒▒ %an7%File Transfer Protocols %an0▒▒▒▒▒▒▒▒▒▒▒▒ %an1│}
- {SEND ^J^M └───────────────────────────────────────────────────┘}
- {SEND ^J^M [%an0%Z%an1] Zmodem}
- {SEND ^J^M [%an0%Y%an1] Ymodem}
- {SEND ^J^M [%an0%X%an1] Xmodem csum}
- {SEND ^J^M [%an0%K%an1] Xmodem-1k^J^M}
-
- {SEND ^J^M%an0%(When in doubt, choose Z ...
- {SEND ^J^MYou can always change it later, if needed.)^J^M}
- {:GP4} {SEND ^J^M}
- {:GP1} {SEND ^M%an1%Protocol:%an0 ^H}
- {SETG 120,time_out}
- {:GP3} {GETS-H ch,1,GP3}
- {SETV dline,xkyz} {INST dline,%ch} {IFCO ,GP1}
- {SETV protocol,%ch}
- {POPS}
- {RETURN}
-
- {:transfer_file}
- {COMP proto,sz} {IFCO send_zmodem}
- {COMP proto,sy} {IFCO send_ymodem}
- {COMP proto,sx} {IFCO send_xcsum}
- {COMP proto,sk} {IFCO send_x1k}
- {COMP proto,rz} {IFCO recv_zmodem}
- {COMP proto,ry} {IFCO recv_ymodem}
- {COMP proto,rx} {IFCO recv_xcsum}
- {COMP proto,rk} {IFCO recv_x1k}
- {SEND ^J^M%an1%Invalid protocol.^J^M}
- {CALL press_any_key}
- {:DL1} {SETV proto}
- {RETURN}
-
- {:send_zmodem}
- {SEND ^J^MStart your zmodem download now.}
- {EXEC-D %dszdir port %_port ha both sz %files}
- {COMP %_err,0}
- {RETURN}
-
- {:send_ymodem}
- {SEND ^J^MStart your ymodem download now.}
- {EXEC-D %dszdir port %_port ha both sb -k %files}
- {COMP %_err,0}
- {RETURN}
-
- {:send_x1k}
- {SEND ^J^MStart your xmodem-1k download now.}
- {SXMO-K %files}
- {COMP %_err,0}
- {RETURN}
-
- {:send_xcsum}
- {SEND ^J^MStart your xmodem (csum) download now.}
- {SXMO-K %files}
- {COMP %_err,0}
- {RETURN}
-
- {:recv_zmodem}
- {SEND ^J^MStart your zmodem upload now.}
- {EXEC-D %dszdir port %_port ha both rz %files}
- {COMP %_err,0}
- {RETURN}
-
- {:recv_ymodem}
- {SEND ^J^MStart your ymodem upload now.}
- {EXEC-D %dszdir port %_port ha both rb -k %files}
- {COMP %_err,0}
- {RETURN}
-
- {:recv_x1k}
- {SEND ^J^MStart your xmodem-1k upload now.}
- {RXMO-K %files}
- {COMP %_err,0}
- {RETURN}
-
- {:recv_xcsum}
- {SEND ^J^MStart your xmodem (csum) upload now.}
- {RXMO-A %files}
- {COMP %_err,0}
- {RETURN}
-
-