blob: 0910747e415f6da40c6321436c6e3440701155c7 [file] [log] [blame]
rsc058b0112005-01-03 06:40:20 +00001.TH WEB 1
2.SH NAME
3web, wmail \- handle web page, mail message for plumber
4.SH SYNOPSIS
5.B web
6.I url
7\&...
8.br
9.B wmail
10.I address
11.SH DESCRIPTION
12.I Web
13opens each of the named
14.I urls
15in a new web browser window.
16Any of the
17.I urls
18may be relative paths to files in the file system;
19they will be translated into
20.B file://
21URLs before being passed to the web browser.
22.PP
23.I Web
24uses the
25web browser's
26.B -remote
27option command-line option,
28which requires an instance of the web browser
29to be already running.
30The choice of browser is determined by the
31.B $BROWSER
32environment variable, which should be the name of
33the executable for your choice of web browser.
rscc8b63422005-01-13 04:49:19 +000034The default is
35.BR firefox .
rsc058b0112005-01-03 06:40:20 +000036Since the various browsers all use different syntaxes
37in their
38.B -remote
39options, the executable name is inspected to determine
40the type of browser.
41The supported browsers are Opera, Mozilla Firefox, Mozilla Firebird, and Mozilla.
42When possible,
43.I web
44opens each URL in a new tab rather than a new window.
45.PP
rscc8b63422005-01-13 04:49:19 +000046When run under Mac OS X,
47.B $BROWSER
48should be set to the string
49.B safari
50or
51.BR firefox .
52.I Web
53uses AppleScript to talk to the browser.
54If
55.B $BROWSER
56is not set,
57.I web
58looks for Firefox in
59.BR /Applications/Firefox.app
60and uses it if found;
61otherwise it uses Safari.
62.PP
rsc058b0112005-01-03 06:40:20 +000063.I Wmail
64starts the composition of a new mail message to
65.IR address .
66.PP
67The choice of mailer is determined by the
68.B $MAILER
69environment variable.
70The supported mailers are:
rscc8b63422005-01-13 04:49:19 +000071.TP
72.B browser
rsc058b0112005-01-03 06:40:20 +000073invoke the mailer via a
74.B mailto://
75URL passed to
76.I web
77.PD
78.PP
79.I Web
80and
81.I wmail
82are invoked as start commands in the
83.IR plumber (4)'s
84rules for opening web pages and writing mail messages.
85.SH FILES
86.TP
rscc3674de2005-01-11 17:37:33 +000087.B \*9/plumb/basic
rsc058b0112005-01-03 06:40:20 +000088plumbing rules using
89.I web
90and
91.I wmail
92.SH SOURCE
rscc3674de2005-01-11 17:37:33 +000093.B \*9/bin
rsc058b0112005-01-03 06:40:20 +000094.SH SEE ALSO
95.IR plumber (4)