home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 4
/
DATAFILE_PDCD4.iso
/
inter
/
internet
/
!Internet
/
!Run
< prev
next >
Wrap
Text File
|
1995-10-13
|
2KB
|
59 lines
|================================================================|
| Run file for !Internet V4.07 (13th October 1995) |
| |
| Copyright (C) Acorn Computers Ltd., 1995 |
|================================================================|
Set Alias$RMIfThere SetEval Test$Eval 1|MRMEnsure %%1 0 SetEval Test$Eval 0|MIf Test$Eval THEN %%0 %%1|MUnset Test$Eval
|
| Check for RISC OS 3.10 or later
|
RMEnsure UtilityModule 3.10 Error TCP/IP requires RISC OS 3 version 3.10 or later to run
Set System$Path_Message System resources not found. Please run !System before !Internet
|
| If any DCI 2 modules are loaded then kill them
|
RMIfThere RMKill InternetA
RMIfThere RMKill Accmsgs
RMIfThere RMKill Netmsgs
|
IF "<Inet$Path>" = "" THEN Set Run$Path <Run$Path>,<Obey$Dir>.bin.
Set Inet$Path <Obey$Dir>.
|
IconSprites Inet:!Sprites
|
| configure host name driver type etc.
|
Run Inet:!Configure
|
| Load up the required modules.
|
RMEnsure AUNMsgs 0.06 RMLoad System:Modules.Network.AUNMsgs
RMEnsure AUNMsgs 0.06 Error You need AUN Messages 0.06 or later to run !Internet
RMEnsure MbufManager 0.13 RMLoad System:Modules.Network.MManager
RMEnsure MbufManager 0.13 Error You need Mbuf Manager 0.13 or later to run !Internet
|
| Ensure we have Internet 4.07. If we load a new Internet module we must
| restart Access, if it is present.
|
SetEval Inet$Restart 0
RmEnsure Internet 4.07 SetEval Inet$Restart 1
RMEnsure Internet 4.07 RMLoad System:Modules.Network.Internet
RMEnsure Internet 4.07 Error You need Internet 4.07 or later to run !Internet
IF Inet$Restart = 0 AND "<Inet$Gateway>" = "Yes" THEN InetGateway on
IF Inet$Restart THEN RMIfThere RMReInit Freeway
IF Inet$Restart THEN RMIfThere RMReInit ShareFS
SetEval Inet$KickFiler Inet$Restart
RMEnsure ShareFS 0 SetEval Inet$KickFiler 0
IF "<Wimp$State>" = "desktop" AND Inet$KickFiler THEN Filer_Run Inet:utils.NewFiler
Unset Inet$KickFiler
Unset Inet$Restart
|
| Run the start-up script
|
Run <Inet$Startup>
IF "<Inet$Error>" <> "" THEN Error <Inet$Error>
IF "<Inet$RouteDOptions>" <> "" THEN RMLoad System:Modules.Network.RouteD
Unset Alias$RMIfThere