Debian Codegraph @

samples/lynx.com

raw
1 $ ! LYNX.COM
2 $ ! sets up lynx as a command so that it will accept command line arguments
3 $ ! It is assumed that this file is located in the same place as the LYNX
4 $ ! Image. If it is not then you must change the lynx symbol.
5 $ ! Written by Danny Mayer, Digital Equipment Corporation
6 $ !
7 $ !
8 $ THIS_PATH = F$PARSE(F$ENV("PROCEDURE"),,,"DEVICE") + -
9 F$PARSE(F$ENV("PROCEDURE"),,,"DIRECTORY")
10 $ alpha = F$GETSYI("HW_MODEL") .GT. 1023
11 $ !
12 $ CPU := VAX
13 $ IF alpha THEN CPU :== AXP
14 $ lynx:==$'THIS_PATH'lynx_'CPU'.exe
15 $!
16 $! fill in another gateway if you wish
17 $!
18 $define "WWW_wais_GATEWAY" "http://www.w3.org:8001"
19 $!
20 $! fill in your NNTP news server here
21 $!
22 $ !define "NNTPSERVER" "news"
23 $ !
24 $ ! Set up the Proxy Information Here
25 $ !
26 $ ! no_proxy environmental variable
27 $ ! The no_proxy environmental variable is checked to get the list of
28 $ ! of hosts for which the proxy server is not consulted.
29 $ ! NOTE: THE no_proxy VARIABLE MUST BE IN LOWER CASE. On VMS systems
30 $ ! this is accomplished by defining a logical name in double-quotes.
31 $ !
32 $ ! The no_proxy environmental variable is a comma-separated or
33 $ ! space-separated list of machine or domain names, with optional
34 $ ! :port part. If no :port part is present, it applies to all ports
35 $ ! on that domain.
36 $ !
37 $ ! Example:
38 $ ! define "no_proxy" "cern.ch,some.domain:8001"
39 $ !
40 $ !
41 $ define "no_proxy" "yourorg.com" ! Use only for outside of yourorg
42 $ !
43 $ ! proxy server environmental variables
44 $ ! In Lynx, each protocol needs an environmental variable defined for
45 $ ! it in order for it to use a proxy server set up for that protocol.
46 $ ! The proxy environmental variable is of the form:
47 $ ! protocol_proxy where protocol is the protocol name part of the URL,
48 $ ! for example: http or ftp. NOTE: the protocol server proxy variable
49 $ ! MUST BE IN LOWER CASE.
50 $ ! Example:
51 $ ! define "http_proxy" "http://your_proxy.yourorg:8080/"
52 $ !
53 $ Proxy_Server = "http://your_proxy.yourorg:8080/"
54 $ define "http_proxy" "''Proxy_Server'"
55 $ define "ftp_proxy" "''Proxy_Server'"
56 $ define "gopher_proxy" "''Proxy_Server'"
57 $ define "news_proxy" "''Proxy_Server'"
58 $ define "wais_proxy" "''Proxy_Server'"
59 $ !