The command line options of w3browse and some examples of invoking the application are given in the following sections.
w3browse [[-d] [-mn] --] [-tty | -termxsrv ip-address[:port]] [-config filename] [URL]
The following command line options are recognized by w3browse:
The option -d has no effect on MS-Windows.
Depending on the actual usage of w3browse, more memory may be allocated dynamically and is mainly used for buffering purposes.
All following parameters are passed to the application proper.
/dev/tty) as display device instead of a GUI window or a termxsrv connection. After termination of w3browse, the terminal may be messed up, so be prepared to issue a command such as reset in order to return to a sane state.
The option -tty does not work on MS-Windows.
For further information see the description of the
w3browse.rdf. Modified settings are saved on demand to this file in the usual way.
The specified filename is interpreted
relative to the home directory of the
current user if it does not start with a slash (
/) or a
Another possibility to automatically open a URL window and fetch an initial document on startup is to make use of the parameters StartURL and Open on Startup within the dialog "Open URL Window".
All examples assume that w3browse can be found
somewhere within the search path, otherwise just prepend
A typical usage of w3browse that opens a GUI window is simply:
w3browse -d --
On a tty, starting w3browse with IBM437 block graphics and resetting the tty after termination may be performed by:
TERMTYPE=ibmpc w3browse -- -tty 2>/dev/null ; reset
A similar effect can be achieved on a tty by using the wrapper script
w3browse-tty, which, besides setting
also initializes the
environment variables according to the
Starting w3browse with more reserved memory, using an
alternate configuration file named
immediately displaying the contents of the local directory
/usr/share/doc/html can be achieved with:
w3browse -d -m5 -- -config w3browse-test.rdf file:/usr/share/doc/html/
On MS-Windows, double clicking at
the Windows Explorer or a similar program is sufficient to
start the application.
w3browse and w3browse-tty should be
called with the full path in their first argument (
otherwise they may fail to find themselves or other required parts. Symbolic
links to these programs should be avoided for the same reason except when
placed within the same directory.
On MS-Windows, the executables generally have the extension
which should be appended to all occurrences of program names within this
documentation where it has not already been done.