[Alpine-info] Re: Patch to make non-PC-ALPINE check PINERC
environment variable
Benjamin R. Haskell
alpine at benizi.com
Tue Jan 19 18:24:36 PST 2010
On Mon, 18 Jan 2010, Benjamin R. Haskell wrote:
> The attached patch allows the use of the PINERC environment variable
> in the non-PC-ALPINE branch of the pinerc-finding code. I'm not sure
> it's complete (pretty sure the docu changes are incomplete), but it's
> working fine for my simple use case:
>
> 1. export PINERC='{path.to.remote}pinerc'
> 2. alpine (w/o -p $PINERC)
>
> (I've never understood why the more-*nix-centric environment variables
> were only consulted under the non-*nix-centric DOS and Windows
> PC-ALPINE...)
>
Not surprisingly, it's incomplete. Somewhere in the S/MIME code, it's
using my remote PINERC path as a local directory. So, I ended up with
the following directory:
/home/bhaskell/\{server.example.com/ssl/.alpine-smime
presumably stripped from the '/user=benizi' onwards.
Nonetheless, I find the patch useful, so maybe someone else will, too.
-- Ben
More information about the Alpine-info
mailing list