Preference Setting

In the previous version of the browser some values could only be set either at compile time, by defining macros, or a run-time, using command line option. This update allows preferences to be set in five ways: The setable preferences are:
Screen height:
default value: 24
compile-time macro: SCREEN_HEIGHT
environment variable: WWW_SCREEN_HEIGHT
command-line: -DWWW_SCREEN_HEIGHT
Screen width:
default value: 79
compile-time macro: SCREEN_WIDTH
environment variable: WWW_SCREEN_WIDTH
command-line: -DWWW_SCREEN_WIDTH
Homepage:
default value: "file:/usr/local/lib/WWW/default.html"
compile-time macro: DEFAULT_ADDRESS
environment variable: WWW_HOME
command-line: [filename]
Log file:
default value: None
compile-time macro: DEFAULT_LOGFILE
environment variable: WWW_LOGFILE
command-line: -DWWW_LOGFILE
News server:
default value: "news"
compile-time macro: DEFAULT_NEWS_HOST
environment variable: WWW_NEWS_SERVER / NNTPSERVER
command-line: -D
Auto-retry on errors (see handling of additional document types ):
default value: YES
compile-time macro: DEFAULT_AUTORETRY
environment variable: WWW_AUTORETRY
command-line: -DWWW_AUTORETRY
Acceptable Formats: (See Format Handing )

Using the on-screen preference setting

In order to get into this mode, type "preferences" during normal browser operation. You will then be presented with a list of setable preferences. To set a particular preference, type the number which precedes the name, followed by a space, followed by the value, and then return.

When you set the log file, the old one is immediately closed (if one was being used). If you enter "NONE", then no new one will be opened.

If you wish to save the preferences, you can use the 'save' command. Without any additional argument, the command will attempt to write over the previously used preferences file (as specifed by the -d option). If none was specified, you will be asked for a file name.

If you wish to use a different file, follow the word save with the file name to be used.

To load a set of preferences, the procedure is the same, except type