X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,TW_YG X-Spam-Check-By: sourceware.org Message-ID: <4C780B13.8050807@bopp.net> Date: Fri, 27 Aug 2010 13:59:31 -0500 From: Jeremy Bopp User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: MANPATH not being cygpathed like PATH is? References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0CC78FFF40FCBD4D17749C17" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------enig0CC78FFF40FCBD4D17749C17 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 8/27/2010 1:28 PM, Tim Visher wrote: > Hello Everyone, >=20 > I recently switched from setting up environment variables within my > bash_profile/bashrc file and instead started setting them on the box > I'm on. This works great for PATH. In Windows I set the values to > c:/whateverwhatever and then when my terminal fires up they get > cygpathed (I'm assuming) into the right /usr/etcetcetc. > Unfortunately, I'm observing no such behavior with the MANPATH. I > can't see any difference between it and the PATH value so I was > wondering if this was something that cygwin does intentionally. Cygwin only processes a handful of environment variables automatically in the way you expect. They include PATH, HOME, TMP, and TEMP if my memory serves correctly. Anything else you need to do for yourself. The problem is that there is no general way to know what environment variables should be processed, so an explicit list must be created and maintained. Apparently, a minimal set was chosen which is usually sufficient to get you into a Cygwin environment at which point you can selectively handle further processing as necessary. For defining MANPATH within Windows, you could just specify it as Cygwin wants it unless you have some non-Cygwin programs which also need to use MANPATH. -Jeremy --------------enig0CC78FFF40FCBD4D17749C17 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkx4CxUACgkQHt4KKRq6Zjdf/gCaAxqKMZY6otSDByf0Ec4ejOCu zswAnRtBBMepxCFy7Kuh/2P9cxwkl/bH =Bi3i -----END PGP SIGNATURE----- --------------enig0CC78FFF40FCBD4D17749C17--