Command line syntax

The syntax is: www [options] [docaddress [keywords]] With no arguments, the www shell command allows you to browse from the system default page, /usr/local/lib/WWW/default.html.

Options should be specified before other arguments. Currently options available are:-

-n
Non-interactive mode. Outputs the formatted document to the standard output, then exits. Pages are delimited with form feed (FF) characters.
-pn
where n is a number, specifies the page length. Without a number, makes the page length infinite. Default is 24.
-v
Verbose mode: Gives a running commentary on the program's attempts to read data in various ways.
-wn
where n is a number, specifies the page width in columns. The default is 78, 79 or 80 depending on the system. (Version 1.0 or later only)
-na
Hides anchor positions in the text. Useful, when printing out the document.
-a format
Specifies the printf -style format string to be used when printing references. Must contain the two characters "%d" where the numbers should occur. Be sure to escape or quote any special characters you use. For example under unix:
www -a \<%d\> www -a " (Type %d)" If present, the next argument (docaddress) is the hypertext address of the document at which you want to start browsing. You may want to define an alias for www followed by name of your favourite index.

Any further command line arguments are taken as keywords. The first argument must refer to an index in this case. The index is searched for entries matching the keywords, and a list of matching entries is displayed. ______________________________________________________

Tim BL