Subject: Disabling Welcome Message after Update

From: Marc DVer <[email-masked]>
Date: Wed, 24 Jan 2001 09:47:24 -0500 (Eastern Standard Time)

I am trying to implement PC-Pine on my LAN.  One thing that will not be
tolerated is the welcome message displayed when using a particular version
for the first time.  How do I disable this?  I don't want to have to run
through each's users account every time I update Pine.
Sincerely,
Marc DVer

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

---

From: Jacob Morzinski <[email-masked]>
Date: Thu, 25 Jan 2001 03:28:43 -0500 (EST)

> through each's users account every time I update Pine.

Near line 590, pine/pine.c checks to see if the user is a first time
user or is using a new version, and calls new_user_or_version() if
the check says to do so.  You could modify either the check or the
called funcion, and recompile pine.  (I don't think there is any way
to do what you want without recompiling.)

 Jacob Morzinski                                [email-masked]

---

From: Gopi Sundaram <[email-masked]>
Date: Thu, 25 Jan 2001 09:50:46 -0500 (EST)

On Thu, 25 Jan 2001, Jacob Morzinski wrote:

> You could modify either the check or the called funcion, and
> recompile pine.  (I don't think there is any way to do what you
> want without recompiling.)

Umm, how about looking into these config options:

last-version-used=
new-version-threshold=

They're in the pinerc file. I wonder if they could go in pine.conf or
something. Setting atleast the latter one to a ridiculously high value
might be a way. Of course, I haven't tried this, so perhaps the OP
could before s/he recompiles Pine (sorry, lost the original message).

-- 
Gopi Sundaram
[email-masked]
http://www.cse.sc.edu/~gopalan/Pine/

---

From: Marc DVer <[email-masked]>
Date: Thu, 25 Jan 2001 10:24:25 -0500 (Eastern Standard Time)

> to do what you want without recompiling.)
Um, I'm using PC-Pine.  As I understand, the source isn't available for
the current version.  At least I thought I saw something like that on teh
website.  Am I wrong?

Marc DVer

---

From: Eduardo Chappa <[email-masked]>
Date: Thu, 25 Jan 2001 19:01:41 -0800 (PST)

*** Marc DVer ([email-masked]) wrote in the pine-info list on Jan...:

:) I am trying to implement PC-Pine on my LAN.  One thing that will not be
:) tolerated is the welcome message displayed when using a particular version
:) for the first time.  How do I disable this?  I don't want to have to run
:) through each's users account every time I update Pine.

The only way I would think of doing this in PC-Pine would be by calling 
pine through a .bat file whose mission is to edit the pinerc of the user 
before pine is opened to change the version number to the desired number. 
You must change the value of the variable last-version-used=, e.g.
last-version-used=4.30 means that the last version you used was 4.30 and 
if you use 4.31 you'll get the message you want to avoid, so before 
starting 4.31 I would change (through sed or otherwise 4.30 to 4.31). Try 
experimenting changing the value it has today for a bigger value (like 
999.99), that will surely make you forget about this problem for quite a 
while.

  Unfortunately you can not have access to PC-Pine's code, so there's no 
much you can do about it, just trying to trick it is your solution, I 
think.

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