summaryrefslogtreecommitdiffstats
path: root/samples/lynx.com
blob: 568d3e22d1e1b2e64cdd4e94dd79c5a69a07a17d (plain)
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
$ ! LYNX.COM
$ ! sets up lynx as a command so that it will accept command line arguments
$ ! It is assumed that this file is located in the same place as the LYNX
$ ! Image.  If it is not then you must change the lynx symbol.
$ ! Written by Danny Mayer, Digital Equipment Corporation
$ !
$ !
$ THIS_PATH = F$PARSE(F$ENV("PROCEDURE"),,,"DEVICE") + -
	      F$PARSE(F$ENV("PROCEDURE"),,,"DIRECTORY")
$ alpha = F$GETSYI("HW_MODEL") .GT. 1023
$ !
$ CPU := VAX
$ IF alpha THEN CPU  :== AXP
$ lynx:==$'THIS_PATH'lynx_'CPU'.exe
$!
$! fill in another gateway if you wish
$!
$define "WWW_wais_GATEWAY" "http://www.w3.org:8001"
$!
$! fill in your NNTP news server here
$!
$ !define "NNTPSERVER" "news"
$ !
$ !  Set up the Proxy Information Here
$ !
$ !  no_proxy environmental variable
$ !  The no_proxy environmental variable is checked to get the list of
$ !  of hosts for which the proxy server is not consulted.
$ !  NOTE:  THE no_proxy VARIABLE MUST BE IN LOWER CASE.  On VMS systems
$ !  this is accomplished by defining a logical name in double-quotes.
$ !
$ !  The no_proxy environmental variable is a comma-separated or
$ !  space-separated list of machine or domain names, with optional
$ !  :port part.  If no :port part is present, it applies to all ports
$ !  on that domain.
$ !
$ !  Example:
$ !          define "no_proxy"  "cern.ch,some.domain:8001"
$ !
$ !
$ define "no_proxy" "yourorg.com"	! Use only for outside of yourorg
$ !
$ !  proxy server environmental variables
$ !  In Lynx, each protocol needs an environmental variable defined for
$ !  it in order for it to use a proxy server set up for that protocol.
$ !  The proxy environmental variable is of the form:
$ !  protocol_proxy where protocol is the protocol name part of the URL,
$ !  for example: http or ftp.  NOTE: the protocol server proxy variable
$ !  MUST BE IN LOWER CASE.
$ !  Example:
$ !           define "http_proxy" "http://your_proxy.yourorg:8080/"
$ !
$ Proxy_Server = "http://your_proxy.yourorg:8080/"
$ define "http_proxy" "''Proxy_Server'"
$ define "ftp_proxy" "''Proxy_Server'"
$ define "gopher_proxy" "''Proxy_Server'"
$ define "news_proxy" "''Proxy_Server'"
$ define "wais_proxy" "''Proxy_Server'"
$ !