home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The First Hungarian Family
/
The_First_Hungarian_Family_CD-ROM.bin
/
internet
/
offlread
/
1st200
/
a
/
install.mdl
< prev
next >
Wrap
Text File
|
1995-07-19
|
34KB
|
786 lines
SPARKWARE
ASSIGN(Default$,2)
SAVER 180
DISPLAY OFF
CLS
CURSOR OFF
BLINK OFF
FILLSCRN(1,1,25,80,32,48,112)
IF COLOR THEN
BOX(3,5,23,75,143,7,1,1)
ASSIGN(Logo$,"142")
ELSE
BOX(3,5,23,76,143,7,1,1)
ASSIGN(Logo$,"15")
END IF
CLEAR_BOXES
SCREEN(1,SAVE)
GOSUB LOGO
SCREEN(2,SAVE)
QPRINT("You are about to install the most powerful QWK offline mail reader",13,8,143,7)
QPRINT("available today. @READER@ isn't just powerful, it is also very")
QPRINT("easy to use. Just follow the prompts displayed on the screens and")
QPRINT("you will be using @READER@ in no time!")
QPRINT("")
QPRINT("...and, as always, thanks for your support!"
CLEAR_BOXES
DIALOG_BOX(1,0,27,1," Press [ENTER] to continue ",20,39,112,112,1,116,15)
DISPLAY ON
GET(Choice$,1)
ASSIGN(InsDir$,_Current$)
:TOP
DISPLAY OFF
SCREEN(1,RESTORE)
CLEAR_BOXES
DIALOG_BOX(1,0,0,1," About ",4,51,112,112,1,116,15)
DIALOG_BOX(2,0,0,2," Install New ",9,51,112,112,1,116,15)
DIALOG_BOX(3,0,0,3," Update ",14,51,112,112,1,116,15)
DIALOG_BOX(4,0,27,4," Quit ",19,51,112,112,1,116,15)
QPRINT("Thank you for trying @READER@!",5,7,143,15)
QPRINT("Select 'INSTALL NEW' to install a new",9,7,142,7)
QPRINT("copy of @READER@ onto your computer.")
QPRINT("Select 'UPDATE' to update your copy of",14,7)
QPRINT("@READER@ to this 2.00 release.")
APRINT("Press the @X00@XF0 ESC @XFF key to quit.",20,7,143)
DISPLAY ON
GET(Choice$,Default$)
ASSIGN(Default$,4)
CLEAR_BOXES
ON Choice$ GOTO ABOUT,INSTALL,UPDATE,QUIT
:QUIT
DISPLAY OFF
CLS(7)
BOX(1,1,15,80,112,112,1,0)
ASSIGN(Logo$,"112")
GOSUB LOGO
QPRINT("BBS: (615) 230-8822",11,40,True)
IF COMPARE(InstallOk$,True) THEN
QPRINT("Type '1ST' to run @READER@",13,40,True)
QPRINT(" 1ST ",13,45,15,15)
END IF
LOCATE 22,1
DISPLAY ON
CURSOR ON
EXIT
:ABOUT
DISPLAY OFF
BOX(3,5,23,75,240,7,1,1)
QPRINT("@READER@ Install",5,True,True)
QPRINT("─────────────────")
QPRINT("Copyright 1995 by Mark Herring",9)
QPRINT("All Rights Reserved")
QPRINT("Sparkware",12)
QPRINT("Post Office Box 386")
QPRINT("Hendersonville, Tennessee 37077")
QPRINT("(615) 230-8822 (BBS)",16)
QPRINT("(615) 230-MAIL (Voice)")
QPRINT("Press any key to continue",21,0,241,15)
DISPLAY ON
PAUSE
GOTO TOP
:INSTALL
ASSIGN(Install$,"Install")
SCREEN(1,RESTORE)
QPRINT("Installing @READER@",5,10,142,15)
QPRINT("Before we can begin you will need to tell @READER@",9,10,True)
QPRINT("where you wish to install the program on your computer.")
QPRINT("")
QPRINT("We recommend that you press the [ENTER] key to accept")
QPRINT("the default location suggested below unless you wish")
QPRINT("to install @READER@ in another location on your system.")
QPRINT("Location to install @READER@:",17,10,143,15)
ASSIGN(Target$,"@DRIVE@:\1ST\")
ASK(Target$,17,41,30,112,112,UPPER)
IF LASTKEY=27 THEN GOTO TOP
IF COMPARE(Target$,"") THEN GOTO TOP
DCHECK Target$
ASSIGN(Scripts$,Target$+"SCRIPTS\")
ASSIGN(Packets$,Target$+"PACKETS\")
ASSIGN(Mme$,Target$+"MME\")
ASSIGN(QRip$,Target$+"\QRIP\")
ASSIGN(BBSDir$,Target$+"\BBS\SPARKY\")
MKDIR Target$
MKDIR Scripts$
MKDIR Packets$
MKDIR Mme$
MKDIR QRip$
MKDIR BBSDir$
GOTO SETUP
:UPDATE
ASSIGN(Install$,"Update")
SCREEN(1,RESTORE)
QPRINT("Updating @READER@",5,10,142,15)
QPRINT("Before we can begin you will need to tell @READER@",12,10,True)
QPRINT("where your @READER@ subdirectory is located.")
QPRINT("@READER@ subdirectory location:",17,10,143,15)
ASSIGN(Target$,"@DRIVE@:\1ST\")
ASK(Target$,17,43,30,112,112,UPPER)
IF LASTKEY=27 THEN GOTO TOP
IF COMPARE(Target$,"") THEN GOTO TOP
DCHECK Target$
ASSIGN(Scripts$,Target$+"SCRIPTS\")
ASSIGN(Mme$,Target$+"MME\")
ASSIGN(QRip$,Target$+"\QRIP\")
MKDIR Scripts$
MKDIR Mme$
MKDIR QRip$
:SETUP
SCREEN(1,RESTORE)
QPRINT("Installing main system files",6,True,True)
IF COMPARE(Install$,"Install") THEN
LIST_MOVE("FILES1.LST",Target$)
COPY("SYSTEMS.DAT",Target$)
GET_BBS
ELSE
LIST_MOVE("UPDATE.LST",Target$)
END IF
IF EXIST FILES2.LST THEN
LIST_MOVE("FILES2.LST",Target$)
ELSE
UNPACK "1ST-200B.ZIP" TO Target$ "*.*"
END IF
QPRINT("Copying installation programs...",7,True,True)
COPY("*.KEY",Target$)
COPY("INSTALL.EXE",Target$)
COPY("MODULE.EXE",Target$)
COPY("QUNZIP.EXE",Target$)
COPY("WHATS.NEW",Target$)
COPY("*.TXT",Target$)
CHDIR Target$
QPRINT("Installing script files",8,True,True)
LIST_MOVE("SCRIPTS.LST",Scripts$)
LIST_MOVE("MME.LST",Mme$)
IF EXIST "QRIP.LST" THEN
QPRINT("Installing QRip files",9,True,True)
LIST_MOVE("QRIP.LST",QRip$)
END IF
IF COMPARE(Install$,"Update") THEN
ASSIGN(User$,"ON")
GOTO WINDOWS
END IF
DISPLAY OFF
SCREEN(1,RESTORE)
QPRINT("Question #1",5,8,143,15)
QPRINT("Would you consider yourself a novice user?",5,25,142,15)
DIALOG_BOX(1,0,89,"OFF"," Yes ",8,8,112,112,1,116,15)
QPRINT("Select 'YES' and @READER@ will configure itself",8,25,143,15)
QPRINT("to present an easy-to-use menu system.")
DIALOG_BOX(2,0,78,"ON"," No ",14,8,112,112,1,116,15)
QPRINT("Select 'NO' and @READER@ will configure itself",14,25,143,15)
QPRINT("to present a 'power user' interface. It gives")
QPRINT("you access to advanced features in @READER@.")
QPRINT("Please select your choice...",21,8,142,15)
DISPLAY ON
GET(User$,1)
CLEAR_BOXES
DISPLAY OFF
SCREEN(1,RESTORE)
ASSIGN(Value$,2)
IF COLOR THEN ASSIGN(Value$,1)
QPRINT("Question #2",5,8,143,15)
QPRINT("Do you use a color monitor?",5,25,142,15)
DIALOG_BOX(1,0,89,"ON"," Yes ",8,8,112,112,1,116,15)
QPRINT("Select 'YES' to use color screens in @READER@.",8,25,143,15)
DIALOG_BOX(2,0,78,"OFF"," No ",14,8,112,112,1,116,15)
QPRINT("Select 'NO' if you are using a black and white",14,25,143,15)
QPRINT("monitor or you are using a laptop with an LCD")
QPRINT("display.")
QPRINT("Please select your choice...",21,8,142,15)
DISPLAY ON
GET(Display$,Value$)
CLEAR_BOXES
DISPLAY OFF
SCREEN(1,RESTORE)
ASSIGN(Value$,2)
IF COMPARE(_Mouse$,True) THEN ASSIGN(Value$,1)
QPRINT("Question #3",5,8,143,15)
QPRINT("Do you use a mouse?",5,25,142,15)
DIALOG_BOX(1,0,89,"ON"," Yes ",8,8,112,112,1,116,15)
QPRINT("Select 'YES' and @READER@ will let you use a",8,25,143,15)
QPRINT("mouse to navigate through the screens and menus")
QPRINT("as well as your keyboard.")
DIALOG_BOX(2,0,78,"OFF"," No ",14,8,112,112,1,116,15)
QPRINT("Select 'NO' and @READER@ will only use your",14,25,143,15)
QPRINT("keyboard.")
QPRINT("Please select your choice...",21,8,142,15)
DISPLAY ON
GET(Mouse$,Value$)
CLEAR_BOXES
DISPLAY OFF
SCREEN(1,RESTORE)
QPRINT("Question #4",5,8,143,15)
QPRINT("Signatures",5,25,142,15)
QPRINT("Messages written with @READER@ can automatically have your name",10,8,True)
QPRINT("appended to your messages. If you would like to have @READER@")
QPRINT("do this for you, please enter your FIRST name using both upper")
QPRINT("and lower case letters below. Otherwise, just press the [ENTER]")
QPRINT("key to continue with the installation process.")
QPRINT("Your first name is: ",18,8,142,15)
DISPLAY ON
ASK(Signature$,18,28,40,112,112)
:WINDOWS
DISPLAY OFF
SCREEN(1,RESTORE)
ASSIGN(Value$,2)
QPRINT("Question #5",5,8,143,15)
QPRINT("Do you plan to use @READER@ with Windows?",5,25,142,15)
DIALOG_BOX(1,0,89,"ON"," Yes ",8,8,112,112,1,116,15)
QPRINT("Select 'YES' if you intend to use @READER@",8,25,143,15)
QPRINT("with Microsoft Windows")
DIALOG_BOX(2,0,78,"OFF"," No ",14,8,112,112,1,116,15)
QPRINT("Select 'NO' if you will not be using @READER@",14,25,143,15)
QPRINT("with Microsoft Windows")
QPRINT("Please select your choice...",21,8,142,15)
DISPLAY ON
GET(Windows$,Value$)
CLEAR_BOXES
IF COMPARE(Windows$,"ON") THEN
DISPLAY OFF
FILLSCRN(1,1,2,80,32,112)
FILLSCRN(3,1,25,80,32,48,15)
QPRINT(" - ",1,1,143,112)
QPRINT("▐",1,4,113,112)
QPRINT(" Program Manager ",1,5,31,15)
QPRINT(" File Options Window Help",2,1,True)
SCREEN(3,SAVE)
BOX(6,10,21,70,31,112,1,1)
FILLSCRN(7,11,20,69,32,30,112)
QPRINT("The following screens show you how to install @READER@",8,13,True)
QPRINT("into Windows.")
QPRINT("")
QPRINT("It might be a good idea to get a pad and pen to write")
QPRINT("these steps down so you can use them later when inside")
QPRINT("Microsoft Windows.")
DIALOG_BOX(1,0,27,1," Continue... ",16,24,112,15,1,116,15)
DISPLAY ON
GET (Value$,1)
CLEAR_BOXES
DISPLAY OFF
SCREEN(3,RESTORE)
BOX(16,10,23,70,31,112,1,1)
FILLSCRN(20,11,22,69,32,30,112)
QPRINT("To install @READER@ under Windows perform these steps:",18,13,True)
SCREEN(3,SAVE)
QPRINT(" File ",2,1,31,15)
BOX(3,1,12,25,112,112,1,1)
QPRINT(" New... ",4,2,31,15)
QPRINT(" Open",5,2,True)
QPRINT(" Move...",6,2,True)
QPRINT(" Copy...",7,2,True)
QPRINT(" Delete",8,2,True)
QPRINT(" Properties...",9,2,True)
QPRINT(" Run...",10,2,True)
QPRINT(" Exit Windows",11,2,True)
QPRINT("1) From the Windows 'Program Manager' click on 'File'",20,13,True)
QPRINT("2) Select 'New...' from the 'File' menu",21,13,True)
DISPLAY ON
BEEP
PAUSE
DISPLAY OFF
SCREEN(3,RESTORE)
BOX(4,5,10,41,112,112,1,1)
QPRINT(" - ",5,6,143,15)
QPRINT("▐",5,9,113,7)
QPRINT(" New Program Object ",5,10,31,15)
BOX(6,7,9,30,112,112,1,False)
QPRINT("New",6,8,True)
QPRINT("■ Program Group",7,9,True)
QPRINT("■ Program Item",8,9,True)
QPRINT("▄▄▄▄▄▄▄▄",6,32,120,True)
QPRINT("▄▄▄▄▄▄▄▄",7,32,120,True)
QPRINT("▄▄▄▄▄▄▄▄",8,32,120,True)
QPRINT("3) Select 'Program Item' from 'New Program Object' menu",20,13,True)
QPRINT("4) Select the 'OK' button on your screen",21,13,True)
DISPLAY ON
BEEP
PAUSE
ASSIGN(_Default$,Target$)
ASSIGN(_Default$,"C:\1ST\")
DISPLAY OFF
SCREEN(3,RESTORE)
BOX(4,5,13,70,112,112,1,1)
QPRINT(" - ",5,6,143,15)
QPRINT("▐",5,9,113,7)
QPRINT(" Program Item Properties ",5,10,31,15)
QPRINT("Description: @READER@",7,7,True)
QPRINT("Command Line: @DEFAULT@1ST.EXE",8,7,True)
QPRINT("Working Directory: @DEFAULT@",9,7,True)
QPRINT("Shortcut Key: None",10,7,True)
QPRINT("▄▄▄▄▄▄▄▄",7,61,120,True)
QPRINT("▄▄▄▄▄▄▄▄",8,61,120,True)
QPRINT("▄▄▄▄▄▄▄▄",9,61,120,True)
QPRINT("▄▄▄▄▄▄▄▄",10,61,120,True)
QPRINT("▄▄▄▄▄▄▄▄",11,61,120,True)
QPRINT("5) Fill out your entry box to match this screen",20,13,True)
QPRINT("6) Select the 'OK' button to save your changes",21,13,True)
DISPLAY ON
BEEP
PAUSE
IF COMPARE(User$,"ON") THEN
DISPLAY OFF
SCREEN(3,RESTORE)
FILLSCRN(3,1,25,80,32,48,15)
BOX(6,10,21,70,31,112,1,1)
FILLSCRN(7,11,20,69,32,30,112)
QPRINT("Note that if you intend to set your serial port at",9,15,True)
QPRINT("speeds greater than 9600 baud you will need to use")
QPRINT("Windows 'Control Panel' program located in the MAIN")
QPRINT("window. Select 'Ports' from CONTROL PANEL and set")
QPRINT("Microsoft Windows to the new baud rate.")
DIALOG_BOX(1,0,27,1," Continue... ",16,24,112,15,1,116,15)
DISPLAY ON
GET (Value$,1)
CLEAR_BOXES
END IF
END IF
IF COMPARE(User$,"ON") THEN
DISPLAY OFF
SCREEN(1,RESTORE)
ASSIGN(Value$,2)
QPRINT("Question #6",5,8,143,15)
QPRINT("Do you own or operate a bulletin board system?",5,25,142,15)
DIALOG_BOX(1,0,89,"ON"," Yes ",8,8,112,112,1,116,15)
QPRINT("Select 'YES' if you own or operate your",8,25,143,15)
QPRINT("own bulletin board system (BBS)")
DIALOG_BOX(2,0,78,"OFF"," No ",14,8,112,112,1,116,15)
QPRINT("Select 'NO' if you do not own or operate",14,25,143,15)
QPRINT("a bulletin board system")
QPRINT("Please select your choice...",21,8,142,15)
DISPLAY ON
GET(Sysop$,Value$)
CLEAR_BOXES
IF COMPARE(Sysop$,"ON") THEN
DISPLAY OFF
BOX(1,1,25,80,11,15,5,False)
FILLSCRN(2,3,24,78,32,31,112)
QPRINT("Join the @READER@ Sysop Incentive Program!",3,True,30,112)
QPRINT("We have long recognized that sysops are who help make our products",5,7,True)
QPRINT("succeed. And we've always looked for a way for you, the sysop, to")
QPRINT("earn a bit of financial return for your efforts to help promote our")
QPRINT("software.")
QPRINT("")
QPRINT("If you are a sysop running a bulletin board system located in either")
QPRINT("The United States or Canada then you qualify for our Sysop Incentive")
QPRINT("Program.")
QPRINT("")
QPRINT("What is it? It gives you the ability to make $5.00 (US) on each")
QPRINT("copy of @READER@ that is downloaded by your callers and registered")
QPRINT("with Sparkware via our tollfree online order system.")
QPRINT("")
QPRINT("Call our customer support BBS system at (615) 230-8822 and use the")
QPRINT("'DEALER' command from our main menu to find out more!")
DIALOG_BOX(1,0,27,1," Continue... ",21,24,112,15,1,116,15)
DISPLAY ON
GET (Value$,1)
CLEAR_BOXES
END IF
END IF
IF COMPARE(Install$,"Update") THEN GOTO UPDATING
MOVE("$$CALL.B1N",BBSDir$)
DISPLAY OFF
SCREEN(2,RESTORE)
QPRINT("@READER@ now needs to know the serial port used by your",14,10,True)
QPRINT("computer to connect to your modem. If you already know the")
QPRINT("serial port number used by your computer you may enter its")
QPRINT("number below. Otherwise, press [ENTER] without entering")
QPRINT("a number and @READER@ will try to find the correct serial")
QPRINT("port for you.")
QPRINT("Serial port number?",21,10)
DISPLAY ON
ASK(Serial$,21,30,6,112,112,UPPER)
IF NOT COMPARE(Serial$,"") THEN GOTO MAX_SPEED
DISPLAY OFF
SCREEN(2,RESTORE)
QPRINT("@READER@ will check your system in an attempt to locate",14,10,True)
QPRINT("your modem. Please make sure that your modem is turned")
QPRINT("ON and is ready to use.")
CLEAR_BOXES
DIALOG_BOX(1,0,27,1," Press [ENTER] to continue ",19,25,112,112,1,116,15)
DISPLAY ON
GET(Choice$,1)
SCREEN(2,RESTORE)
QPRINT("Serial port found at:",21,10,True)
SCREEN(3,SAVE)
ASSIGN(Serial$,"")
QPRINT("Testing COM1 now...",14,10,143,15)
IF FIND_PORT(3F8,4) THEN
ASSIGN(Value$,"COM1")
ASSIGN(Serial$,"1")
ELSE
BEEP(1000,1)
BEEP(500,1)
QPRINT("Testing COM2 now...")
IF FIND_PORT(2F8,3) THEN
ASSIGN(Value$,"COM2")
ASSIGN(Serial$,"2")
ELSE
BEEP(1000,1)
BEEP(500,1)
QPRINT("Testing COM3 now...")
IF FIND_PORT(3E8,4) THEN
ASSIGN(Value$,"COM3")
ASSIGN(Serial$,"3")
ELSE
BEEP(1000,1)
BEEP(500,1)
QPRINT("Testing COM4 now...")
IF FIND_PORT(2E8,3) THEN
ASSIGN(Value$,"COM4")
ASSIGN(Serial$,"4")
ELSE
SCREEN(3,RESTORE)
QPRINT("Testing COM1 (IRQ5) now...",14,10,143,15)
IF FIND_PORT(3F8,5) THEN
ASSIGN(Value$,"COM1")
ASSIGN(Serial$,"3F8,5")
ELSE
BEEP(1000,1)
BEEP(500,1)
QPRINT("Testing COM2 (IRQ5) now...")
IF FIND_PORT(2F8,5) THEN
ASSIGN(Value$,"COM2")
ASSIGN(Serial$,"2F8,5")
ELSE
BEEP(1000,1)
BEEP(500,1)
QPRINT("Testing COM3 (IRQ5) now...")
IF FIND_PORT(3E8,5) THEN
ASSIGN(Value$,"COM3")
ASSIGN(Serial$,"3E8,5")
ELSE
BEEP(1000,1)
BEEP(500,1)
QPRINT("Testing COM4 (IRQ5) now...")
IF FIND_PORT(2E8,5) THEN
ASSIGN(Value$,"COM4")
ASSIGN(Serial$,"2E8,5")
ELSE
ASSIGN(Value$,"No modem found")
ASSIGN(Serial$,"")
END IF
END IF
END IF
END IF
END IF
END IF
END IF
END IF
IF COMPARE(Serial$,"") THEN
DISPLAY OFF
SCREEN(1,RESTORE)
QPRINT("Sorry, but @READER@ could not",5,9,142,15)
QPRINT("locate your modem.")
QPRINT("Before you can run @READER@ we first",11,9,True)
QPRINT("need to know a bit about your computer")
QPRINT("system. You need to tell us which")
QPRINT("serial port is used to connect your")
QPRINT("system to your modem.")
QPRINT("Please make your selection now...",21,9,142,15)
DIALOG_BOX(1,0,142,"1"," Port 1 ",4,51,112,112,0,116,15)
DIALOG_BOX(2,0,50,"2"," Port 2 ",8,51,112,112,0,116,15)
DIALOG_BOX(3,0,51,"3"," Port 3 ",12,51,112,112,0,116,15)
DIALOG_BOX(4,0,52,"4"," Port 4 ",16,51,112,112,0,116,15)
DIALOG_BOX(5,0,27,"0"," No modem ",20,51,112,112,0,116,15)
DISPLAY ON
GET(Serial$,1)
CLEAR_BOXES
ELSE
QPRINT(Value$,21,32,142,15)
BEEP(2000,1)
BEEP(2500,1)
PAUSE 3
END IF
:MAX_SPEED
IF COMPARE(Serial$,"0") THEN GOTO UPDATING
DISPLAY OFF
SCREEN(2,RESTORE)
QPRINT("@READER@ needs to know the maximum",14,9,True)
QPRINT("speed your modem supports. If you")
QPRINT("are unsure about just how fast your")
QPRINT("modem will transmit data over the")
QPRINT("telephone line we recommend you use")
IF COMPARE(User$,"OFF") THEN
QPRINT("'Low speed' for your modem.")
QPRINT("")
QPRINT("'High speed' modems can transmit data")
QPRINT("at speeds of 9600 baud or higher.")
CLEAR_BOXES
DIALOG_BOX(1,0,0,"2400"," Low speed ",14,54,112,112,1,116,15)
DIALOG_BOX(2,0,0,"9600"," High speed ",19,54,112,112,1,116,15)
DISPLAY ON
GET(Baud$,1)
ELSE
'FILLSCRN(5,40,10,70,32,143,15)
CLEAR_BOXES
DIALOG_BOX(1,1,0,"1200"," A) 1200 baud ",13,52,112,112,1,116,15)
DIALOG_BOX(2,1,0,"2400"," B) 2400 baud ",15,52,112,112,1,116,15)
DIALOG_BOX(3,1,0,"9600"," C) 9600 baud ",17,52,112,112,1,116,15)
DIALOG_BOX(4,1,0,"19200"," D) 19200 baud ",19,52,112,112,1,116,15)
DIALOG_BOX(5,1,0,"38400"," E) 38400 baud ",21,52,112,112,1,116,15)
QPRINT("Please select your choice (A-E)?",21,9,142,15)
DISPLAY ON
GET(Baud$,2)
END IF
CLEAR_BOXES
ASSIGN(ModemInit$,"ATZ")
DISPLAY OFF
SCREEN(1,RESTORE)
QPRINT("Which type of telephone service do you have?",5,9,142,15)
QPRINT("I have touch tone service",9,19,True)
QPRINT("Touch tone service but I must dial '9' to 'get out'",13,19,True)
QPRINT("I have rotary service",17,19,True)
QPRINT("Rotary service but I must dial '9' to 'get out'",21,19,True)
DIALOG_BOX(1,0,0,"ATDT"," 1 ",8,9,112,112,0,116,15)
DIALOG_BOX(2,0,0,"ATDT 9,"," 2 ",12,9,112,112,0,116,15)
DIALOG_BOX(3,0,0,"ATDP"," 3 ",16,9,112,112,0,116,15)
DIALOG_BOX(4,0,0,"ATDP 9,"," 4 ",20,9,112,112,0,116,15)
DISPLAY ON
GET(DialString$,1)
CLEAR_BOXES
IF COMPARE(DialString$,"ATDT 9,") THEN GOTO UPDATING
IF COMPARE(DialString$,"ATDP 9,") THEN GOTO UPDATING
DISPLAY OFF
SCREEN(1,RESTORE)
QPRINT("Do you have 'Call Waiting'?",5,8,142,15)
DIALOG_BOX(1,0,89,"ON"," Yes ",8,8,112,112,1,116,15)
QPRINT("Select 'YES' and @READER@ will disable call",8,25,143,15)
QPRINT("waiting when attempting to connect to a BBS.")
DIALOG_BOX(2,0,78,"OFF"," No ",14,8,112,112,1,116,15)
QPRINT("Select 'NO' if you do not have call waiting.",14,25,143,15)
QPRINT("Please select your choice...",21,8,142,15)
DISPLAY ON
GET(CallWait$,2)
IF COMPARE(CallWait$,"ON") THEN
IF COMPARE(DialString$,"ATDT") THEN
ASSIGN(DialString$,"ATDT *70,")
ELSE
ASSIGN(DialString$,"ATDP 1170,")
END IF
END IF
CLEAR_BOXES
:UPDATING
SCREEN(1,RESTORE)
BOX(10,20,14,60,112,112,1,1,"Updating files...")
SET_LOAD "1ST.SET"
IF COMPARE(Install$,"Update") THEN
IF NOT EXIST 1ST.NEW THEN COLOR_FIX
ELSE
SET(NewUser,"XX")
SET(SerialPort,Serial$)
SET(MaxBaudRate,Baud$)
SET(Init,"ATZ")
SET(PreFix1,DialString$)
SET(PacketDir,Target$+"PACKETS")
SET(RepDir,Target$+"PACKETS")
SET(DownLoads,Target$+"DOWNLOAD")
SET(Programs,Target$+"PROGRAMS")
SET(WorkDir,Target$+"WORKDIR")
SET(Phonebook,Target$+"SYSTEMS.DAT")
SET(Signature,Signature$)
SWITCH(1,User$)
SWITCH(4,Display$)
SWITCH(11,Mouse$)
COPY("SPARKY.QTU",Packets$)
END IF
SET_SAVE "1ST.SET"
ASSIGN(InstallOk$,True)
:MANUALS
CHDIR Target$
IF NOT EXIST NOVICE.EXE THEN GOTO MANUALS_DONE
DISPLAY OFF
SCREEN(1,RESTORE)
QPRINT("Please select which manuals you wish to print...",5,True,142,15)
DIALOG_BOX(1,0,78,1," New User's guide ",8,20,112,112,1,116,15)
DIALOG_BOX(2,0,49,2," @READER@ manual ",13,20,112,112,1,116,15)
DIALOG_BOX(3,0,27,3," Continue... ",18,20,112,112,1,116,15)
DISPLAY ON
GET (Value$,3)
CLEAR_BOXES
ON Value$ GOTO NOVICE,ADVANCED,MANUALS_DONE
:NOVICE
SCREEN(3,SAVE)
CLS(7)
BOX(10,20,14,60,112,112,1,1,"One moment please...")
SHELL "NOVICE /PRINT /SS,SCRNSAVE"
SCREEN(3,RESTORE)
GOTO MANUALS
:ADVANCED
SCREEN(3,SAVE)
CLS(7)
BOX(10,20,14,60,112,112,1,1,"One moment please...")
SHELL "MANUAL /PRINT /SS,SCRNSAVE"
SCREEN(3,RESTORE)
GOTO MANUALS
:MANUALS_DONE
CLEAR_BOXES
CHDIR InsDir$
CALL "INS-EDIT.MDL"
CALL "INS-MME.MDL"
CALL "INS-PROG.MDL"
CALL "INS-386.MDL"
CHDIR Target$
ASSIGN(Default$,4)
DISPLAY OFF
SCREEN(2,RESTORE)
QPRINT("You are now ready to begin using @READER@ 2.00",14,8,142,15)
IF EXIST "1ST.KEY" THEN
QPRINT("If you have any questions or problems using @READER@ you can",16,8,143,7)
QPRINT("call our 24 hour customer support bulletin board system at")
QPRINT("(615) 230-8822. Or you can reach us via the Internet by sending")
QPRINT("email to 'help@sparkware.com'.")
ELSE
QPRINT("This copy of @READER@ 2.00 is limited to reading 20 messages",16,8,143,7)
QPRINT("per conference area. Once registered (for only $25), @READER@")
QPRINT("can read 400 messages per conference area (up to 32,766 messages")
QPRINT("per area if your system uses expanded memory).")
END IF
QPRINT("")
QPRINT("Press any key to continue...")
DISPLAY ON
BEEP
PAUSE
CHDIR InsDir$
IF NOT COMPARE(InsDir$,Target$) THEN
KILL "*.*"
ELSE
KILL "FILES?.LST"
KILL "MME.LST"
KILL "QRIP.LST"
KILL "SCRIPTS.LST"
KILL "UPDATE.LST"
KILL "INSTALL.MDL"
KILL "INS-1ST2.MDL"
KILL "1ST-200*.ZIP"
END IF
CHDIR Target$
GOTO QUIT
:LOGO
BOX(5,8,10,30,29,15,1,1)
QPRINT("═════════════════",5,11,29,15)
QPRINT(" ▄▄▄",6,10,30,15)
QPRINT("█ █",7,10)
QPRINT("█▄▄▀",8,10)
QPRINT(" ▀",9,10)
QPRINT("mail",8,15,26,15)
QPRINT("@READER@",8,20,31,15)
QPRINT("2.00",9,25,27,15)
QPRINT("Copyright 1995 by Mark Herring",5,40,Logo$,Logo$)
QPRINT("All Rights Reserved",6,40)
QPRINT("Sparkware",8,40)
QPRINT("Post Office Box 386",9,40)
QPRINT("Hendersonville, TN 37077-0386",10,40)
RETURN
:SHOW
IF NOT EXIST(FileSpec$) THEN RETURN
SCREEN(3,SAVE)
DISPLAY OFF
OPEN("I",1,FileSpec$)
FILLSCRN(1,1,25,80,32,31,112)
BOX(4,5,19,76,7,7,1,0)
QPRINT(Title$,2,True,True)
BLINK ON
DISPLAY ON
SET_WINDOW(5,7,18,74)
ATTRIBUTE(7)
:SHOW_LOOP
DISPLAY OFF
MREAD(1,14)
SCREEN(2,SAVE)
BOX(21,5,23,76,112,15,1,1,"Press any key to continue or [ESC] to quit")
DISPLAY ON
PAUSE
SCREEN(2,RESTORE)
IF LASTKEY=27 THEN GOTO SHOW_DONE
IF NOT EOF(1) THEN GOTO SHOW_LOOP
:SHOW_DONE
CLOSE 1
SET_WINDOW(1,1,25,80)
SCREEN(3,RESTORE)
RETURN
SCREEN(1,RESTORE)
QPRINT("Installing @READER@",5,10,142,15)
QPRINT("Before we can begin you will need to tell @READER@",9,10,True)
QPRINT("where you wish to install the program on your computer.")
QPRINT("")
QPRINT("We recommend that you press the [ENTER] key to accept")
QPRINT("the default location suggested below unless you wish")
QPRINT("to install @READER@ in another location on your system.")
QPRINT("Location to install @READER@:",17,10,143,15)
ASSIGN(Target$,"@DRIVE@:\1ST\")
ASK(Target$,17,41,30,112,112,UPPER)
IF LASTKEY=27 THEN RETURN TOP
IF COMPARE(Target$,"") THEN RETURN TOP
DCHECK Target$
ASSIGN(Scripts$,Target$+"SCRIPTS\")
ASSIGN(Packets$,Target$+"PACKETS\")
ASSIGN(Mme$,Target$+"MME\")
ASSIGN(QRip$,Target$+"\QRIP\")
ASSIGN(BBSDir$,Target$+"\BBS\SPARKY\")
RETURN
:FILE_CHECK
ASSIGN(Flag$,True)
ASSIGN(Value$,Temp$+".ZIP")
IF EXIST Value$ THEN RETURN
:FILE_CHECK1
DISPLAY OFF
BOX(5,10,21,70,7,7,1,0)
QPRINT(Value$,7,True,True)
QPRINT("INSTALL could not locate this archive in the current",10,14,True)
QPRINT("subdirectory. You might need to download this file")
QPRINT("from the same bulletin board system where the @READER@")
QPRINT("archives are located.")
QPRINT("")
QPRINT("If you need help please ask your sysop to locate this")
QPRINT("file for you.")
QPRINT("Press any key to continue...",19,True,True)
DISPLAY ON
BEEP
PAUSE
ASSIGN(Flag$,False)
RETURN