-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathCustomisation.html
100 lines (100 loc) · 3.38 KB
/
Customisation.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<HTML>
<HEAD>
<!-- Changed by: Henrik Frystyk Nielsen, 8-Oct-1995 -->
<TITLE>Customizing Line Mode Browser</TITLE>
</HEAD>
<BODY>
<P>
<A HREF="../../"><IMG BORDER="0" ALT="W3C" SRC="../../Icons/WWW/w3c_home"></A>
<A HREF="../../Library/"><IMG BORDER="0" ALT="libwww" SRC="../../Icons/WWW/Lib48x"></A>
<A HREF="../"><IMG BORDER="0" ALT="LMB" SRC="../../Icons/WWW/LMB48x"></A>
<H1>
Customizing Line Mode Browser
</H1>
<P>
Customizing <A HREF="../">Line Mode Browser</A>'s behavior is done with
environment variables or their equivalent depending on the platform.
"<A HREF="EnvVariables.html">Environment variable</A>" is a Unix term. On
VMS you should use a <A HREF="Installation_VMS.html#3">logical name</A>.
<P>
A list of things you can customize with environment variables (or local
equivalents) is described below. The Line Mode Browser can furthermore be
set up to use either a <A HREF="../../Daemon/User/Proxies/Proxies.html">proxy
server or a gateway</A>.
<P>
<H2>
<A NAME="9">WWW_HOME</A>
</H2>
<P>
The address of the first document to start with if you run www without a
document name on the command line. For example, you can set it to
<PRE>
http://www.w3.org
</PRE>
<P>
if you want to always use the home page on the W3C welcome page.
<P>
If no <CODE>WWW_HOME</CODE> variable is set the Line Mode Browser then it
automaticly tries the following locations:
<OL>
<LI>
~/WWW/default.html
<LI>
/usr/local/lib/WWW/default.html
<LI>
http://www.w3.org/default.html
</OL>
<P>
If you are installing www without privileges, you may not be able to install
the home page, and so you will have to set <CODE>WWW_HOME</CODE> to point
to a local copy of the file, or to our server.
<P>
You can customize www to start at a page of your choice. You can write your
own page, or use someone else's. All you have to do is to set the environment
variable <CODE>WWW_HOME</CODE> to the www address of your preferred home
page. (When you are using www, you can see what an address looks like by
typing help when you are reading a document - it tells you the address of
that node).
<H2>
<A NAME="z14">WWW_CONFIG</A>
</H2>
<P>
If defined, must be the name of a local file which contains configuration
information including rules, presentation recipes, etc. If configuration
files are also specified using the <A HREF="CommandLine.html#z11">-r
option</A>, they are loaded first.
<H2>
NNTPSERVER
</H2>
<P>
See how to set up a <A NAME="5" HREF="NewsServer.html">news server's
address</A> for the Line Mode Browser and why you can't use other
<A HREF="AboutNewsServers.html">sites' newsserver</A>.
<H2>
<A NAME="12">WWW_PRINT_COMMAND</A>
</H2>
<P>
Unix only. A quoted printf-style format string for the system command you
wish to invoke with the www PRINT command. This should contain one
<CODE>%s</CODE> marker where www should put the name of the document to be
printed. The default is
<PRE>
www -n -na -p66 '%s' | lpr
</PRE>
<P>
(The single quotes around the <CODE>%s</CODE> are necessary in case the address
contains shell metacharacters.) When you define this variable, you may of
course have to enclose the whole thing in double quotes, e.g.
<PRE>
setenv WWW_PRINT_COMMAND "www -n -na -p66 '%s' | lpr"
</PRE>
<P>
<HR>
<ADDRESS>
<A HREF="../../People.html#BernersLee">Tim BL</A>, and
<A HREF="../../People.html#Frystyk">Henrik Frystyk</A>,
<A HREF="mailto:[email protected]">[email protected]</A>,
<P>
@(#) $Id$
</ADDRESS>
</BODY></HTML>