Blame samples/lynx.com

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