Name : Fetch_NS Archive : fetch-ns.zip MD5-hash : 8c041e6a4ba5866e9878beff275d4de4 SHA256-hash: 6a8cd54ba0a20979c3aed2ab211562619c586a4adff1186d4d7e971cf47d6d6e Purpose : Download, install and run the latest development version of NetSurf Version : 2.50 17-03-2023 Author : Frank de Bruijn Fetch_NS uses curl or wget to download a file from the download page of the NetSurf development builds, which specifies the name of the most recent version. It then checks whether this version has already been downloaded and if not, initiates a download, again using curl or wget. Lastly, if the variable Fetch_NS$Install$Dir is set, it will install and start the version just retrieved. Settings ======== The application's Resources directory contains a file called Defaults with user definable settings. When the application is run for the first time, this file will be copied to .Fetch_NS.Settings, unless that file already exists. If you upgrade to a newer version of Fetch_NS, be sure to check for essential changes in Defaults and copy them to Settings. Alternatively, use the new Defaults as Settings, but take care to copy any manual changes you may have made to the old Settings file. By default, downloads are to the directory the application is in, but you can change that by setting the Fetch_NS$Download$Dir variable in the Settings file. The downloads are named ####/zip with #### being the build number that shows up in the bottom field of NetSurf's Info menu item. If you do not like files with /zip extensions, just remove the line where the Fetch_NS$UseExt variable is set from the Settings file. Transport ========= You should make sure curl or wget is installed on your system before you try to use this program. If you do not have them, you can find them here (or use PackMan): http://www.riscos.info/packages/NetworkDetails.html The current version of Fetch_NS was tested with curl 7.84.0-1 and wget 1.20.3-2 and 1.19.4-2. Older versions may not work. The curl and wget packages contain applications that set up aliases, so you either put those applications in a directory that is always filer booted (like $.!Boot.Resources) or -if you do not want that- take the actual executables curl and wget out and put them in $.!Boot.Library (or $.!Boot.Library.Internet if your system has the Select library structure). SparkFS ======= Fetch_NS relies on SparkFS to unpack NetSurf if it is to be installed after downloading (i.e. if Fetch_NS$Install$Dir is set). It will try to start SparkFS is it is not already running, but that will not work if SparkFS has not been seen by the Filer. Support ======= Fetch_NS is not NetSurf, so please DO NOT ask support questions about it on the NetSurf mailing list. You can contact me through the comp.sys.acorn newsgroups, the riscosopen.org forum or by e-mail. Version History =============== 2.50 17-03-2023 !Fetch_NS.!Help (this file): - updated - restored the cURL references as 7.84.0 does not blow up my RPCEmu !Fetch_NS.Resources.Defaults: - changed the Fetch_NS$Opt default for wget to use InetDBase:CertData - removed the warning about cURL - added the variable Fetch_NS$NewToolchain for picking up the NetSurf version built with the new toolchain see https://www.riscosopen.org/forum/forums/1/topics/17766 !Fetch_NS.Resources.SetLatest: - added Fetch_NS$Force as a 'one shot' to set outside the Settings file, to allow downloading of a version which is already present (mainly for debugging) - added checking Fetch_NS$NewToolchain - added writing the actual name of the file to fetch to .Fetch - some small code cleanups 2.40 19-07-2018 Several changes because the NetSurf website has switched to secure connections: !Fetch_NS.!Help (this file): - removed cURL as default transport and added a note about it blowing up RPCEmu !Fetch_NS.!Run: - increased TaskWindow wimp slot size to 4200k (in case someone still wants to use cURL...) !Fetch_NS.Resources.Defaults: - changed http to https in Fetch_NS$Url - added --no-check-certificate to Fetch_NS$Opt for wget - switched default transport settings !Fetch_NS.Resources.SetLatest: - increased TaskWindow wimp slot size for Action file to 10240k (in case ...). 2.31 26-01-2016 Increased TaskWindow wimp slot size in !Run to 3200k. !Help rewrite: changed layout, removed cURL warning (newer cURL is available), added Version History. Changed !!Read-me in zip archive to copy of !Help. 2.30 07-07-2015 Changed transport of choice from cURL to wget, because the most recent RISC OS cURL doesn't work on newer hardware. Added warning to !Help. Increased TaskWindow wimp slot size in !Run to 2200k. Removed JavaScript choice as all NetSurf builds now have JavaScript. 2.21 22-08-2013 Bugfix in !Run: check for SparkFiler instead of SparkFS. 2.20 22-08-2013 Added check for SparkFS. 2.10 17-12-2012 Separated settings from main !Run, using a Choices directory. Added setting to choose between version with or without JavaScript. 2.00 17-10-2012 First release.