home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
XFER.ZIP
/
EMURES.INC
< prev
next >
Wrap
Text File
|
1991-10-06
|
3KB
|
79 lines
response to start
make ModemDB permanent
action QueryModemDB
make ModemDB temporary
change PrimaryWindow window position to column (xcursor of PrimaryWindow)
line ((bottom of PrimaryWindow) - (window ysize of PrimaryWindow) + 2)
make PrimaryWindow cursor visible
response to item Setup from PrimaryWindowAB
call PerformSetup()
response to item Dial from PrimaryWindowAB
call GetNumber(ReturnedOK)
if (ReturnedOK) then
call StartModemAndDial()
end if
response to item Upload from PrimaryWindowAB
call GetUploadInformation(ReturnedOK)
if (ReturnedOK) then
copy TransferMode " " Filename "\^D" to TempString
call MonitorTransfer(TempString)
end if
response to item Download from PrimaryWindowAB
call GetDownloadInformation(ReturnedOK)
if (ReturnedOK) then
copy TransferMode " " Filename "\^D" to TempString
call MonitorTransfer(TempString)
end if
response to item Disconnect from PrimaryWindowAB
stop Modem
disable item Upload from PrimaryWindowAB in PrimaryWindow
disable item Download from PrimaryWindowAB in PrimaryWindow
disable item Disconnect from PrimaryWindowAB in PrimaryWindow
enable item Dial from PrimaryWindowAB in PrimaryWindow
response to line "NO CARRIER" from Modem
add to PrimaryWindow
insert input "\n"
stop Modem
disable item Upload from PrimaryWindowAB in PrimaryWindow
disable item Download from PrimaryWindowAB in PrimaryWindow
disable item Disconnect from PrimaryWindowAB in PrimaryWindow
enable item Dial from PrimaryWindowAB in PrimaryWindow
response to item Clear from PrimaryWindowAB
clear PrimaryWindow
change PrimaryWindow window position to column (xcursor of PrimaryWindow)
line ((bottom of PrimaryWindow) - (window ysize of PrimaryWindow) + 2)
response to item Exit from PrimaryWindowAB
exit
response to char "\n" from keyboard
if (item Disconnect from PrimaryWindowAB in PrimaryWindow is enabled) then
send "T \r\^D" to Modem
end if
response to char from keyboard
if (item Disconnect from PrimaryWindowAB in PrimaryWindow is enabled) then
send "T " input "\^D" to Modem
end if
response to char "\n" from Modem
add to PrimaryWindow
insert "\n"
change PrimaryWindow window position to column (xcursor of PrimaryWindow)
line ((bottom of PrimaryWindow) - (window ysize of PrimaryWindow) + 2)
response to char from Modem
add to PrimaryWindow
insert input