summaryrefslogtreecommitdiff
path: root/!NetSurf/!Run,feb
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-09-27 05:21:00 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-09-27 05:21:00 +0000
commit5802723281ef8b6672e1c3f0e76c9b2a42bd22f9 (patch)
treed288162056410f45622e5c9291821a610efa3ad7 /!NetSurf/!Run,feb
parentebc39ef41fb0407a58a66b740b143f299c526e31 (diff)
downloadnetsurf-5802723281ef8b6672e1c3f0e76c9b2a42bd22f9.tar.gz
netsurf-5802723281ef8b6672e1c3f0e76c9b2a42bd22f9.tar.bz2
[project @ 2004-09-27 05:21:00 by jmb]
Improve !Boot file and support protocol fallback positions. svn path=/import/netsurf/; revision=1287
Diffstat (limited to '!NetSurf/!Run,feb')
-rw-r--r--!NetSurf/!Run,feb26
1 files changed, 22 insertions, 4 deletions
diff --git a/!NetSurf/!Run,feb b/!NetSurf/!Run,feb
index ab38922a1..ecc17ffdc 100644
--- a/!NetSurf/!Run,feb
+++ b/!NetSurf/!Run,feb
@@ -1,14 +1,26 @@
+| Run file for NetSurf. ( $Revision: 1.29 $ )
+|
+| This file ensures that the system resources required by NetSurf are
+| present. Additionally, it forces setting of system variables related
+| to NetSurf.
+
+| Set system variables and application sprites
+Set NetSurf$ForceVars 1
<Obey$Dir>.!Boot
+UnSet NetSurf$ForceVars
| Can't run more than one copy of NetSurf at once.
If "<NetSurf$Running>" = "yes" Then Error NetSurf is already running
-| We need RISC OS 3
+| We need RISC OS 3
RMEnsure UtilityModule 3.00 Error NetSurf needs RISC OS 3 or later
| Ensure Nested WIMP is installed
| http://acorn.riscos.com (in the universal boot archive)
-RMEnsure WindowManager 3.80 Error 0 NetSurf requires the Nested Window Manager. This can be obtained by downloading the Universal Boot sequence from http://acorn.riscos.com/
+RMEnsure WindowManager 3.80 Error NetSurf requires the Nested Window Manager. This can be obtained by downloading the Universal Boot sequence from http://acorn.riscos.com/
+
+| Ensure the System resource exists - can't do much if it doesn't
+If "<System$Path>" = "" Then Set System$Path_Message System resources not found.
| Ensure CallASWI is installed
| http://www.iyonix.com/32bit/
@@ -45,7 +57,13 @@ RMEnsure MimeMap 0.10 Error NetSurf requires MimeMap 0.10 or later
RMEnsure Tinct 0.07 RMLoad System:Modules.Tinct
RMEnsure Tinct 0.07 Error NetSurf requires Tinct 0.07 or later. This can be downloaded from http://www.tinct.net
-Wimpslot -min 2240k -max 2240k
+| Ensure Iconv
+| http://moose.mine.nu:6888/iconv002.zip
+| Not an error if not present - there'll be no charset conversion.
+RMEnsure Iconv 0.02 RMLoad System:Modules.Iconv
+
+WimpSlot -min 2240k -max 2240k
+
Set NetSurf$Running yes
-Run <NetSurf$Dir>.!RunImage 2><NetSurf$Dir>.stderr
+Run <NetSurf$Dir>.!RunImage %*0 2><NetSurf$Dir>.stderr
UnSet NetSurf$Running \ No newline at end of file