home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
files
/
bbs
/
remotedo
/
remote1.do
< prev
next >
Wrap
Text File
|
1987-12-28
|
7KB
|
269 lines
>TY "Remote Operation written using Flash 1.52|"|
>TY "Original concept by Ed Seward, modifications by Bud Hammerton.|"|
>TY "Version 1.00 - December 28, 1987|"|
>** *******************|
>L: Initialize|
>** *******************|
>QU "Enter name of setup file|Specify complete pathname|Including drive:" $A|
>OP $A|
>IF OP JMP KeepGoing|
>AL "[3][Aborting . . .|Unable to open setup file][ Cancel ]"|
>B2|
>END|
>L: KeepGoing|
>TY "Password for full access: "|
>INP $Z|
>TY $Z|>TY "|"|
>TY "Password for limited access - no destructive commands: "|
>INP $Y|
>TY $Y|>TY "|"|
>TY "Password for shell execution: "|
>INP $X|
>TY $X|>TY "|"|
>TY "Password to shut down remote DO: "|
>INP $U|
>TY $U|>TY "|"|
>TY "Default path: "|
>INP $F|
>TY $F|>TY "|"|
>TY "Maximum baud rate: "|
>INP $G|
>TY $G|TY "|"|
>** Modem initialization string|
>INP $H|
>** Ring detection string|
>INP $I|
>CA CL|
>** *******************|
>L: TopLabel|
>DP $F|
>$L $F|
>BA $G|
>SE $H|
>PA 2|
>CA OFF|
>EC OFF|
>LF OFF|
>WA $I|
>SE "ATA|"|
>GET $N 15|
>IFI $N "2400" BA 24|
>IFI $N "1200" BA 12|
>IFI $N "300" BA 30|
>GET $N 15|
>IFI $N "2400" BA 24|
>IFI $N "1200" BA 12|
>IFI $N "300" BA 30|
>LF ON|
>SE "|You have reached FLASH DO Remote Controller|"|
>SE "Version 1.00||"|
>SE "Please enter your full name:"|
>EC ON|
>AS 0|
>GET $W|
>LOG $W|>LOG |
>L: NULL|
>SE "Please enter your password:"|
>GET $B|
>IF ~B jmp NULL|
>** changed - IFI ~$B is not a valid command|
>IFI $B $Y JMP Limited|
>IFI $B $Z JMP Full|
>SE "**◆** Invalid password, access denied **◆**|"|
>HG|
>JMP TopLabel|
>L: Full|
>$M "MAX"|
>SE "|You have full access|"|
>JMP CommandLoop|
>L: Limited|
>$M "LIMITED"|
>L: CommandLoop|
>IF ~CA JMP TopLabel|
>SE "|COMMAND:"|
>GET $C 45 Logoff|
>IF C JMP FindCommand|
>SE "45 seconds till automatic logoff enter valid command|"|
>GET $C 45|
>IF ~C JMP Logoff|
>L: FindCommand|
>IFI $C "BYE" JMP LogOff|
>IFI $C "DIR" JMP DiskDir|
>IFI $C "DOWN" JMP SendingASCII|
>IFI $C "CD" JMP DefPath|
>IFI $C "DP" JMP DefPath|
>IFI $C "EXIT" JMP LogOff|
>IFI $C "HELP" JMP Menu|
>IFI $C "?" JMP Menu|
>IFI $C "KILL" JMP Delete|
>IFI $C "OFF" JMP LogOff|
>IFI $C "QUIT" JMP LogOff|
>IFI $C "RECEIVE" JMP SendingXMODEM|
>IFI $C "SEND" JMP ReceivingXMODEM|
>IFI $C "SE" JMP ReceivingXMODEM|
>IFI $C "REC" JMP SendingXMODEM|
>IFI $C "UPLOAD" JMP ReceivingASCII|
>IFI $C "SHELL" JMP CommandEXEC|
>IFI $C "SHUT" JMP TerminateRemoteDO|
>** the next line is only reached if NO valid commands are found|
>SE "Invalid command. Enter HELP or ? for menu|"|
>JMP CommandLoop|
>** ********************|
>L: DefPath|
>** change default path|
>IFI $M "LIMITED" JMP CommandLoop|
>SE "Enter new path:"|
>GET $D|
>IF ~D JMP CommandLoop|
>DP $D|
>$L $D|
>JMP CommandLoop|
>** ********************|
>L: Delete|
>** kill or delete a file|
>IFI $M "LIMITED" JMP CommandLoop|
>SE "Enter file in current dirtectory to kill or delete:"|
>GET $D|
>IF D KI $D|
>LOG $D|
>LOG " deleted|"|
>JMP CommandLoop|
>** ********************************************|
>L: DiskDir|
>** display disk directory|
>SE "Path of desired directory or return for current directory:"|
>GET $D|
>OPEN AUX:|
>IF ~D DDIR *.* AUX:|
>IF D DDIR $D AUX:|
>JMP CommandLoop|
>** ********************************************|
>L: LogOff|
>** hangup/disconnect|
>SE "Prepare for Disconnect◆◆|"|
>HG|
>JMP TopLabel|
>** ********************************************|
>L: Menu|
>** display a menu of available commands|
>SE "||||"|
>SE " Flash Remote DO Control Version 1.00||"|
>SE " DIR - display a disk directory|"|
>SE " DOWN - ASCII download of file from this system|"|
>IFI $M "LIMITED" JMP Skip1|
>SE " DP * change the default path|"|
>L: Skip1|
>SE " EXIT - exit or logoff this system|"|
>SE " HELP - display this menu|"|
>IFI $M "LIMITED" JMP Skip2|
>SE " KILL * kill or delete a file in the default directory|"|
>L: Skip2|
>SE " RECEIVE - XMODEM download of a file from this system|"|
>SE " SE - XMODEM upload of a file to this system|"|
>IFI $M "LIMITED" JMP Skip3|
>SE " SHELL * execute COMMAND program|"|
>L: Skip3|
>IFI $M "LIMITED" JMP Skip4|
>SE " SHUT * shut down entire system|"|
>L: Skip4|
>SE " UPLOAD - ASCII upload of a file to this system|"|
>IFI $M "LIMITED" JMP Skip5|
>SE "| Commands with * require full system access||"|
>L: Skip5|
>JMP CommandLoop|
>** ********************************************|
>L: ReceivingXMODEM|
>** receive a file using xmodem|
>SE "Name of file to upload:"|
>GET $D|
>IF ~D JMP CommandLoop|
>DL XM $D|
>SE "◆◆"|
>IF ~DL JMP ReceivingXMODEM|
>** above is to retry if xmodem failed|
>SE $D|
>SE " received|"|
>LOG "Recieved XMODEM file: "|
>LOG $D|>LOG |
>JMP CommandLoop|
>** ********************************************|
>L: ReceivingASCII|
>** receive a straight ASCII file|
>SE "Name of ASCII file to upload:"|
>GET $D|
>IF ~D JMP CommandLoop|
>DL AS $D|
>SE "◆◆"|
>IF ~DL JMP ReceivingASCII|
>** above is to retry if ASCII upload failed|
>SE $D|
>SE " received|"|
>LOG $D|
>LOG "Recieved ASCII file: "|
>LOG $D|>LOG |
>JMP CommandLoop|
>** ********************************************|
>L: SendingASCII|
>** send a straight ASCII file|
>SE "Name of file to ASCII download:"|
>GET $D|
>IF ~D JMP CommandLoop|
>UL AS $D|
>SE "◆◆"|
>IF ~UL JMP SendingASCII|
>** above is to retry if ASCII download failed|
>SE $D|
>SE " sent|"|
>LOG $D|
>LOG " sent ASCII|"|
>JMP CommandLoop|
>** ********************************************|
>L: SendingXMODEM|
>** send a file using xmodem|
>SE "Name of file to download:"|
>GET $D|
>IF ~D JMP CommandLoop|
>UL XM $D|
>SE "◆◆"|
>IF ~UL JMP SendingXMODEM|
>** above is to retry if xmodem failed|
>SE $D|
>SE " sent|"|
>LOG $D|
>LOG " sent XMODEM|"|
>JMP CommandLoop|
>** ********************************************|
>L: CommandEXEC|
>IFI $M "LIMITED" JMP CommandLoop|
>** execute COMMAND.TTP and issue CTTY AUX command|
>SE "Enter password for DOS shell entry:"|
>GET $B|
>IF ~B JMP CommandLoop|
>IFI $B $X JMP Execute|
>SE "|**◆** Invalid password, returning to Remote DO **◆**|"|
>JMP CommandLoop|
>L: Execute|
>EX D:\COMMAND.TTP CTTY AUX|
>JMP CommandLoop|
>** ********************************************|
>L: TerminateRemoteDO|
>IFI $M "LIMITED" JMP CommandLoop|
>SE "Shut down password: "|
>GET $B|
>IFI $B $U JMP ShutDown|
>JMP CommandLoop|
>L: ShutDown|
>SE "|This command terminates execution of FLASH DO Remote Controller.|"|
>SE "After execution of this command, no further input can be processed,|"|
>SE "the modem will hangup, the capture buffer will be saved, and FLASH.PRG|"|
>SE "will be halted||"|
>SE "You have 15 seconds to cancel this command, type A <Return> to abort.|"|
>EC OFF|
>GET $V 15|
>IFI $V "A" JMP CommandLoop|
>SE "Prepare for disconnect◆◆|"|
>HG|
>SA CA D:\REMOTE.LOG|
>XD|