netsurf/amiga/dist/NetSurf.guide

153 lines
6.6 KiB
Plaintext
Executable File
Raw Blame History

@database NetSurf.guide
@author Chris Young
@wordwrap
@node Main "NetSurf"
@{b}NetSurf@{ub} Amiga-specific documentation
http://www.netsurf-browser.org
@{"Licence " link COPYING/Main}
@{"Command line options" link cli}
@{"Options file " link options}
@{"ARexx port " link arexx}
@{"Hotlist menu " link hotlist}
@{"Local MIME types " link mimetypes}
@{"Credits " link contact}
@endnode
@node cli "Command line options"
NetSurf URL
Where:
URL = address of page to open on startup.
@endnode
@node options "Options file"
The options file is stored in @{"Resources/Options" link Resources/Options/Main} by default. The following options are specific to the Amiga version although there are other relevant options in the file:
@{b}url_file@{ub} Path to URL database file
@{b}hotlist_file@{ub} Path to Hotlist file
@{b}use_pubscreen@{ub} Open NetSurf on the named public screen
@{b}screen_modeid@{ub} Mode ID for NetSurf's custom screen. If not specified, NetSurf will prompt on startup. Choose Settings=>Save settings to make permanent.
@{b}theme@{ub} Path to @{"theme" link Themes} (default is Resources/Themes/Default)
@{b}no_iframes@{ub} Disable IFrames
@{b}clipboard_write_utf8@{ub} Write UTF-8 strings to the clipboard along with a charset identifier (when this option is 0, NetSurf will convert copied strings to local charset)
@{b}context_menu@{ub} Enable context menus
@{b}sticky_context_menu@{ub} When disabled, context menu requires mouse button to be held down to keep it visible
@{b}truecolour_mouse_pointers@{ub} Use 32-bit mouse pointers, when disabled NetSurf will use old-style 4 colour images (see Resources/Pointers)
@{b}os_mouse_pointers@{ub} Don't override default and busy mouse pointers
@{b}new_tab_is_active@{ub} Make new tab the active one
@{b}kiosk_mode@{ub} No gadgets
@{b}recent_file@{ub} Path to file to store recent history list (not used)
@{b}arexx_dir@{ub} Path to ARexx scripts dir
@{b}download_dir@{ub} default download destination
@{b}faster_scroll@{ub} enable faster scrolling (experimental)
@{b}cache_bitmaps@{ub} cache bitmaps in native format in gfx mem (0=off, 1=scaled, 2=all)
@endnode
@node Themes
AmigaOS NetSurf supports basic theming of gadget imagery. Themes live in the Resources/Themes directory, and two are included by default:
Default - default theme with no external dependencies.
AISS - theme using Mason's AISS images for buttons, and the def_pointers package for 32-bit pointer images.
The file "Theme" in the theme directory contains the files used for that theme. See @{"Default Theme file" link Resources/Themes/Default/Theme/Main} for more details.
Theme directories should be copied and renamed if themes are modified, as update installation of NetSurf will overwrite any changes. AmigaOS NetSurf themes are not compatible with NetSurf for other platforms.
@endnode
@node arexx "ARexx port"
NetSurf's ARexx port is called NETSURF.
Commands are:
@{b}OPEN URL/A,NEW=NEWWINDOW/S,SAVEAS/K@{ub} Opens URL in current window or a new window if NEWWINDOW is specified. Saves the location without displaying if SAVEAS and a filename is specified (SAVEAS available in 2.6325)
@{b}SAVE FILENAME/A@{ub} (2.6027) Saves current page source to FILENAME
@{b}QUIT@{ub} Quits NetSurf
@{b}TOFRONT@{ub} Brings NetSurf's screen to the front
@{b}GETURL@{ub} Puts the URL displayed in the current window/tab into RESULT
@{b}GETTITLE@{ub} Puts the title of the page displayed in the current window/tab into RESULT
@{b}VERSION VERSION/N REVISION/N RELEASE/S@{ub} Returns the current version of NetSurf in RESULT. You can also do version checking by supplying a VERSION and optional REVISION to check against. If the version of NetSurf is the same or higher 1 will be returned, if it is older 0. If RELEASE is specified, the command operates on the release version rather than the internal version number.
The ARexx menu will be populated with scripts named #?.nsrx in @{"arexx_dir" link options 18}, up to a maximum of 20 entries. The titles of these entries will be the comments field of the file (or the filename if comments field is empty).
@{u}OpenURL configuration@{uu}
Click Add on the Browsers page and fill in the details as follows:
Name: NetSurf
Path: NetSurf %u
ARexx port: NETSURF
Show:
To front: TOFRONT
Open URL: OPEN "%u"
New window: OPEN "%u" NEW
On the Misc tab, please ensure "Send mailto: URLs to email application" is set.
@endnode
@node hotlist "Hotlist menu"
Items from the hotlist can be added to the Hotlist menu as follows:
Select Hotlist => Show hotlist...
Add a folder called Menu. This must not be placed within any other folder.
Items in this folder node up to a maximum (currently) of 40 items will be added to the Hotlist menu, within the limits of the Intuition menu system.
Items in folders within the Menu folder node will be converted to subitems in the menu.
Folders more than one level down in the heirarchy will become menu items with no action. Items deeper will not be included in the menu at all.
Folders with no items in them will show up disabled in the menu. If they are named "--" they will be displayed as separator bars.
eg.
- Menu
|
+- Netsurf
| |
| +- NetSurf Homepage
| |
| +- More NetSurf links
| |
| +- NetSurf bugtracker
|
+- --
|
+- Google
Will look something like the following within the menu:
|NetSurf <20>| - |NetSurf Homepage |
|---------| |More NetSurf links|
|Google |
@endnode
@node mimetypes "Local MIME Types"
NetSurf determines the MIME types of local files primarily by checking the icon of the file. If the icon is not found it will check the default icon for the file type.
It looks for a tooltype MIMETYPE and, if found, will use the contents as the filetype of the file. If not found it makes a guess at the MIME type using datatypes.library, however this will not be very accurate.
The Installer script will set the MIMETYPE tooltype on basic relevant default filetype icons. If you get problems:
* If the file has a real icon, add MIMETYPE=<MIME type of file> to the tooltypes.
* If the file does not have an icon, check:
1. The file type is showing in DefIcons Prefs editor
2. The icon ENVARC:Sys/def_<filetype> contains the MIMETYPE tooltype.
@endnode
@node contact "Credits"
NetSurf was ported to AmigaOS 4 by Chris Young
chris@unsatisfactorysoftware.co.uk
The pointer images and AISS theme Throbber were drawn by Martin 'Mason' Merz.
http://www.masonicons.de
All other code and files are the same for all platforms and credited in the files and/or on the NetSurf website.
http://www.netsurf-browser.org
@endnode