HP3000-L Archives

March 1997, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Sat, 29 Mar 1997 12:31:56 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
At 11:58 28.03.1997 -0800, you wrote:
>Did anyone ever use LYNX with a proxy?

Yes, I did. Even downloaded a patch from the old HPSL successfully...

My proxy settings are not inside the config file but by adding a few
shell variables before launching the lynx program. Here is a short
excerpt from a script that accepts -noproxy or -allproxy or -proxy
as parameter (oops, option) and sets env vars accordingly...

>#! /bin/sh
>
>case $1 in
>  -noproxy )
>    unset http_proxy
>    unset no_proxy
>    shift ;;
>  -allproxy )
>    export http_proxy="http://myproxy.xxx.hp.com:8088/"
>    unset no_proxy
>    shift ;;
>  * )
>    export http_proxy="http://myproxy.xxx.hp.com:8088/"
>    export no_proxy="hp.com" ;;
>esac
>
>/SYS/WEB/LYNXP -cfg=/WEB/CLIENT/lynx2-3/lynx.cfg $*

Hope this helps. By the way, it's from the HP 3000 Web Starter Kit ;-)

Lars/iX

ATOM RSS1 RSS2