Subject: PASSFILE

From: Hong Tian <[email-masked]>
Date: Mon, 7 Oct 2002 19:31:33 -0400

Hi,

(1) A pine user here requests not to type password when starting Pine after
he logins his user account on RedHat 7.3 Linux. I have to compile the pine
with PASSFILE Compile-time option to resolve it. The problem is that I am
not clear how to compile pine with PASSFILE. I tried several ways, but it
still didn't work. Anyone knows how to do it?

# cd pine-4.44
1) # ./build -passfile lrh    -> didn't work!
2) # ./build --passfile lrh   -> didn't work!
3) # ./build passfile lrh     -> didn't work!
......

(2) If I want to read both English and Russian emails by Pine, how to
resolve it?

Thanks,
Hong

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Eduardo Chappa <[email-masked]>
Date: Mon, 7 Oct 2002 16:40:59 -0700 (PDT)

*** Hong Tian ([email-masked]) wrote in the pine-info list today:

:) (1) A pine user here requests not to type password when starting Pine
:) after he logins his user account on RedHat 7.3 Linux. I have to compile
:) the pine with PASSFILE Compile-time option to resolve it. The problem
:) is that I am not clear how to compile pine with PASSFILE. I tried
:) several ways, but it still didn't work. Anyone knows how to do it?

Edit the file "pine4.44/pine/pine.h" and add a line like

#define PASSFILE	"lrh"

to that file. This will use a file called "lrh", located in the home
directory of the user using Pine to store passwords. Notice that you can
give a relative path to $HOME too, and it could be a hidden file. Once you
have rebuilt Pine, simply create an empty file with that name on the
location that you specified. The rest of the process is taken care by Pine
once you start it again.

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/

---

From: Richard Stevenson <[email-masked]>
Date: Tue, 8 Oct 2002 12:41:03 +1300 (NZDT)

> still didn't work. Anyone knows how to do it?

Edit pine/osdep/os-lnx.h and define PASSFILE, something like this:

#define        PASSFILE        ".pine.pwd"

The uesr would then create a file, .pine.pwd, containing his password.

Cheers

Richard

-- 
Richard Stevenson
Systems Specialist
Xtra Limited