delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/11/04:11:47

X-Spam-Check-By: sourceware.org
Message-ID: <45A5FF37.9060606@tlinx.org>
Date: Thu, 11 Jan 2007 01:11:19 -0800
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: CPAN works fine w/http proxy on Cygwin
References: <000301c733a2$28c29db0$7a47d910$@rr.com> <Pine DOT GSO DOT 4 DOT 63 DOT 0701100857580 DOT 6616 AT access1 DOT cims DOT nyu DOT edu> <006901c73528$574b11d0$05e13570$@rr.com> <31b7d2790701102034x91ca594o3d21d79c551a9885 AT mail DOT gmail DOT com>
In-Reply-To: <31b7d2790701102034x91ca594o3d21d79c551a9885@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

(Response:)

Not that this is a cygwin-specific problem, but CPAN works fine
behind a proxy/firewall.

Add this to ~/.wgetrc:
http_proxy=my-web-proxy.internal.mydomain:8080
ftp_proxy=my-web-proxy.internal.mydomain:8080
use_proxy = on

Also, some programs use the env vars (so add them to your .<shell>rc):
export http_proxy=my-web-proxy.internal.mydomain:8080
export ftp_proxy=my-web-proxy.internal.mydomain:8080

-l

(for reference, question:)
DePriest, Jason R. wrote:
> CPAN is awesome and can download and compile modules for me in cygwin
> (as long as I am not behind a proxy server), 

** -- note, the important part of the message, the "response" or
"answer" comes first.  The most current and relevant information
comes first.  The more distant the history of a discussion,
the less important it usually becomes to the current participants.
Bottomposting wastes peoples' time as they are forced to scroll
down to find the beginning of the actual reply.  You can't jump
to the bottom, because you don't know how long the response will
be.  When procedures communciate, they do so by pushing arguments
onto the "top" of a stack (even if it is implemented top-down) --
why?  Because it is efficient -- the most recently used data is
the closest.  Reverse chronological order is also used by
professionals in the most lucrative fields because their time is
precious.   This footnote is appended at the end because in the
context of this answer, it is of least importance.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019