[project @ 2004-07-19 18:06:16 by atimmins]

Initial revision

svn path=/import/netsurf/; revision=1107
This commit is contained in:
Andrew Timmins 2004-07-19 18:06:16 +00:00
parent c4a502219f
commit 499d6af923
4 changed files with 117 additions and 0 deletions

29
!NCNetSurf/!Boot,feb Normal file
View File

@ -0,0 +1,29 @@
Set NetSurf$Dir <Obey$Dir>
Set File$Type_F79 CSS
| Application System Variables
Set NetSurf$Help <NetSurf$Dir>.Docs.Intro
Set NetSurf$Version "NC Development Build"
Set NetSurf$Web "http://netsurf.sf.net/"
Set NetSurf$Title "NCNetSurf"
Set NetSurf$Publisher "The NetSurf Developers"
Set NetSurf$Description "Web Browser"
| NetSurf Sprites
IconSprites <NetSurf$Dir>.!Sprites
| Acorn URI Protocol
If "<Alias$Open_URI_http>" = "" Then Set Alias$Open_URI_http <NetSurf$Dir>.URILaunch
If "<Alias$Open_URI_https>" = "" Then Set Alias$Open_URI_https <NetSurf$Dir>.URILaunch
If "<Alias$Open_URI_file>" = "" Then Set Alias$Open_URI_file <NetSurf$Dir>.URILaunch
| ANT URI Protocol
If "" = "<Alias$URLOpen_http>" Then Set Alias$URLOpen_http <NetSurf$Dir>.URILaunch %%*0
If "" = "<Alias$URLOpen_https>" Then Set Alias$URLOpen_https <NetSurf$Dir>.URILaunch %%*0
If "" = "<Alias$URLOpen_file>" Then Set Alias$URLOpen_file <NetSurf$Dir>.URILaunch %%*0
| Claim HTML and URI files
If "" = "<Alias$@RunType_FAF>" Then Set Alias$@RunType_FAF <NetSurf$Dir>.URILaunch
If "" = "<Alias$@RunType_B28>" Then Set Alias$@RunType_B28 <NetSurf$Dir>.URILaunch
If "" = "<FTPc$Dir>" Then If "<Alias$@RunType_F91>" = "" Then Set Alias$@RunType_F91 <NetSurf$Dir>.URILaunch

15
!NCNetSurf/!Help Normal file
View File

@ -0,0 +1,15 @@
NCNetSurf - Open Source web browser
http://netsurf.sf.net/
__________________________________________________
To view the full documentation, start NCNetSurf and
choose "Help" from the toolbar.
This is a test build of NCNetSurf. In case of
problems, please check for a newer build first at
http://netsurf.strcprstskrzkrk.co.uk/
Please report bugs to the development mailing
list, netsurf-develop@lists.sourceforge.net
Alternatively, the developers are often available
on IRCNet in the channel #netsurf-develop.

51
!NCNetSurf/!Run,feb Normal file
View File

@ -0,0 +1,51 @@
<Obey$Dir>.!Boot
| Can't run more than one copy of NCNetSurf at once.
If "<NetSurf$Running>" = "yes" Then Error NetSurf is already running
| We need NCOS 1.11
RMEnsure OSVersion 1.11 Error NCNetSurf needs NCOS 1.11 or later
| Ensure the latest SharedCLibrary is installed
| http://www.iyonix.com/32bit/
RMEnsure SharedCLibrary 5.47 RMLoad <NetSurf$Dir>.RMStore.SharedCLib
| Ensure CallASWI is installed
| http://www.iyonix.com/32bit/
RMEnsure CallASWI 0.02 RMLoad <NetSurf$Dir>.RMStore.CallASWI
| Ensure DrawFile is installed
| http://acorn.riscos.com/riscos/releases/drawfile.arc
RMEnsure DrawFile 1.30 RMLoad <NetSurf$Dir>.RMStore.DrawFile
| Ensure SharedUnixLibrary is installed
| http://www.chocky.org/unix/usage.html
RMEnsure SharedUnixLibrary 1.02 RMLoad <NetSurf$Dir>.RMStore.SharedULib
| Ensure AcornURI is installed
| http://sudden.recoil.org/
Unset NetSurf$Start_URI_Handler
RMEnsure AcornURI 0.12 Set NetSurf$Start_URI_Handler 1
RMEnsure AcornURI 0.12 RMLoad <NetSurf$Dir>.RMStore.URI
RMEnsure AcornURI 0.12 Unset NetSurf$Start_URI_Handler
| Ensure MimeMap is installed
If "<InetDBase$Path>" = "" Then Error Inet databases can not be found
If "<Inet$MimeMappings>" = "" Then Set Inet$MimeMappings <NetSurf$Dir>.Resources.MimeMap
RMEnsure MimeMap 0.10 RMLoad <NetSurf$Dir>.RMStore.MimeMap
RMEnsure MimeMap 0.10 Error NetSurf requires MimeMap 0.10 or later
| Ensure Tinct is installed
RMEnsure Tinct 0.05 RMLoad <NetSurf$Dir>.Resources.Tinct
RMEnsure Tinct 0.05 Error NetSurf requires Tinct 0.05 or later
| Ensue that the Wimp Scrap directory has been set
WimpSlot -Min 32k -Max 32k
If "<Wimp$ScrapDir>" = "" Then SetMacro Wimp$ScrapDir Cache:$.ScrapDir
If "<Wimp$Scrap>" = "" Then SetMacro Wimp$Scrap <Wimp$ScrapDir>.ScrapFile
| Wimpslot -min 2150k -max 2150k
Wimpslot -min 8196k
Set NetSurf$Running yes
Run <NetSurf$Dir>.!RunImage 2><Wimp$ScrapDir>.NCNetSurf
UnSet NetSurf$Running

View File

@ -0,0 +1,22 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<TITLE>NCNetsurf | Welcome</TITLE>
</HEAD>
<BODY bgcolor="#000000" text="#FFFFFF" alink="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" leftmargin="0" topmargin="0">
<BR><BR><BR><BR><BR><BR><BR><BR><BR>
<CENTER>
<IMG src="nc_png" border="0">
<BR><BR>
<FONT SIZE="5" FACE="arial">Welcome to NetSurf for the Network Computer</FONT>
<BR><BR><BR>
<FONT SIZE="4" FACE="arial">Your Network Computer is now ready to use.<BR>
To start browsing please enter a URL into the address bar above.</FONT>
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
<FONT SIZE="3" FACE="arial">[ <a href="about">About NCNetSurf</a> | Network Computer Administration ]</FONT>
<BR><BR><BR><BR>
<FONT SIZE="2" FACE="arial">Copyright &copy; The Netsurf Developers, 2003, 2004</FONT>
<BR><BR>
</CENTER>
</BODY>
</HTML>