3 mothra \- retrieve World-Wide Web files
14 retrieves and displays files from the World-Wide Web,
15 by name or through hypertext links.
16 Web names, called URLs, have a peculiar syntax:
19 http://netlib.att.com/netlib/1127/www/1127.html
20 http://akebono.stanford.edu:80/yahoo/
21 http://www.teleport.com/~crowell/
22 ftp://ftp.gmd.de/music/scores/harrington/Harrington.readme
25 The part up to the first colon gives the protocol for
29 Protocol, is the usual way of accessing web files.
33 are standard Internet services.
37 begins the Internet address of the server where the file resides.
38 The address may contain a colon and a TCP port
39 number, which overrides the
40 default port number for the service. Next comes a
41 file name. Finally, the file name may be followed by
43 and a string giving a label within the file where the
49 given on the command line, defaulting to
50 the environment variable
55 to retrive the url data. The mountpoint, default is
57 can be changed with the
61 The display contains the last message from
63 a box where typed commands appear,
64 a scrollable list of previously visited files,
65 the title and URL of the current file,
66 and the scrollable text of the current file.
68 Button 1 selects and displays a file, either from the list
69 of previously visited pages or from a link (indicated
70 by underlined text or a boxed image) in the
71 current file. Button 2 shows the URL of a file,
72 but does not retrieve or display it.
73 Button 3 pops up a menu of commands:
77 Collapse or expand the navigation boxes at the top of the browser window.
80 Copy the current URL to the snarf buffer.
83 Paste the current snarf buffer at the current cursor position.
86 Save the current URL to the hit list.
89 Retrieve and display the hit list.
92 Ask for confirmation and quit.
95 The typed commands are:
99 Get the page with the given URL.
102 Reload the current page.
105 Save the current page in the given
109 Capture a screenshot of the entire browser window in the given
113 Capture a screenshot of the content area in the given
122 retrieves a file that is not an
123 HTML document (for example a GIF or JPEG
124 image), it will start up an appropriate viewer, for example
130 .B $home/lib/mothra/hit.html
133 .B $home/lib/mothra/mothra.url
136 .B $home/lib/mothra/mothra.err
137 log of error messages, including HTML syntax errors
139 .B /sys/src/cmd/mothra
143 Files are saved in the form received,
144 not in the form suggested by the name in an
149 is distributed in a preliminary state; it has more than its share of bugs.