Subject: another bug

From: Eduardo Chappa <[email-masked]>
Date: Tue, 27 Feb 2001 17:57:13 -0800 (PST)

Hello,

  Here's another bug. Go to your configuration, delete the value of your
personal name (make it look "<empty value>"), then exit your configuration
but say "NO" when it asks you to save the changes. Wait a few seconds, and
you'll receive the following message:

[Changes to remote-abook-validity will affect your next pine session.]

That's a Bug. (exact kestrokes are: M S C D Y ^M ^M E N, now wait a
second or two).

 I did not make any changes. Moreover, if I quit Pine none of my
messages in my inbox are moved to the "saved-messages" folder, which
contradicts my setting of moving messages automatically when quitting.
That's another bug.

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

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

---

From: "Mike A. Harris" <[email-masked]>
Date: Tue, 27 Feb 2001 21:22:32 -0500 (EST)

On Tue, 27 Feb 2001, Eduardo Chappa wrote:

>Date: Tue, 27 Feb 2001 17:57:13 -0800 (PST)
>From: Eduardo Chappa <[email-masked]>
>To: Pine Discussion Forum <[email-masked]>
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>Subject: another bug
>
>Hello,
>

Doesn't happen for me..  just to give some feedback..  I do not
use remote addr book though so maybe it only happens with remote
addrbook..

----------------------------------------------------------------------
    Mike A. Harris  -  Linux advocate  -  Free Software advocate
          This message is copyright 2001, all rights reserved.
  Views expressed are my own, not necessarily shared by my employer.
----------------------------------------------------------------------
DISCLAIMER - These opoi^H^H "damn", ^H, [esc :q :qq !q "shoot!" :Q! "Whaddya
mean, Not an editor command?" :wq! ^C^C^C !STOP ^bye ^quit :quit! !halt ...
^w^q :!w :wq! ^D :qq!! ^STOP [HALT!   HALT!!! "Why's it doing this?" :stopit!
:wwqq!! ^Z ^L ^ESC STOP  :bye  bye  bye! "Hey, what's this red button d..."

---

From: Mohit Agarwal <[email-masked]>
Date: Wed, 28 Feb 2001 08:13:00 +0530 (IST)

> use remote addr book though so maybe it only happens with remote

It didn't happen for me as well.  But a strange message!  Here are a few
lines from the journal file:

No Configuration changes saved
Closing empty folder "/var/spool/mail/mohit"
Changes to news-spool-directory will affect your next pine session.

Can somebody explain the last line?

(I don't use remote addressbook.  Pine4.33 + some of Eduardo's patches)

-- 
Mohit Agarwal                             <[email-masked]>
---------------------------------------------------------------------------
GPG Public Key:  http://cfdlab.aero.iisc.ernet.in/~mohit/mohit.gpg

---

From: "Mike A. Harris" <[email-masked]>
Date: Tue, 27 Feb 2001 21:51:36 -0500 (EST)

On Wed, 28 Feb 2001, Mohit Agarwal wrote:

>Date: Wed, 28 Feb 2001 08:13:00 +0530 (IST)
>From: Mohit Agarwal <[email-masked]>
>Reply-To: [email-masked]
>Subject: Re: another bug

I don't get that problem either:

Using default value

I'm using 4.33+ one patch for the menu O option.

pine-4.33-0.0.4

----------------------------------------------------------------------
    Mike A. Harris  -  Linux advocate  -  Free Software advocate
          This message is copyright 2001, all rights reserved.
  Views expressed are my own, not necessarily shared by my employer.
----------------------------------------------------------------------
Fun thing to do as root, in the root directory:
chmod -R 666 *
Just as bad as rm -rf *, but more fun.
"The files are all there, but I can't do anything with them!"
And you can't change permissions, since chmod isn't executable either. :-)

---

From: Eduardo Chappa <[email-masked]>
Date: Tue, 27 Feb 2001 19:27:28 -0800 (PST)

*** Mike A. Harris ([email-masked]) wrote today:

:) >That's a Bug. (exact kestrokes are: M S C D Y ^M ^M E N, now wait a
:) >second or two).
:)
:) Doesn't happen for me..  just to give some feedback..  I do not
:) use remote addr book though so maybe it only happens with remote
:) addrbook..

I don't use remote addressbook either. Are you using the exact keystrokes
as described above?. I have two address-books though, where I separate
peoplo that relate to me in different ways (family, friends in one
addressbook and work, etc in another). You have to wait a few seconds for
the "bad" message to appear. The variable "remote-abook-validity" is
defined to be empty in my .pinerc file.

---

From: "Mike A. Harris" <[email-masked]>
Date: Tue, 27 Feb 2001 23:00:32 -0500 (EST)

On Tue, 27 Feb 2001, Eduardo Chappa wrote:

>as described above?.

Precicely the same.  I even did it again, and I used CTRL-M as
written above instead of using ENTER, just to be sure.  I get the
same thing, no problems.

>I have two address-books though, where I separate peoplo that
>relate to me in different ways (family, friends in one
>addressbook and work, etc in another). You have to wait a few
>seconds for the "bad" message to appear. The variable
>"remote-abook-validity" is defined to be empty in my .pinerc
>file.

Mine too..

----------------------------------------------------------------------
    Mike A. Harris  -  Linux advocate  -  Free Software advocate
          This message is copyright 2001, all rights reserved.
  Views expressed are my own, not necessarily shared by my employer.
----------------------------------------------------------------------
Windows 95(n) - 32-bit extensions and graphical shell for a 16-bit patch
to an 8-bit operating system originally coded for a 4-bit microprocessor,
written by a 2-bit company that can't stand 1 bit of competition.

---

From: Eduardo Chappa <[email-masked]>
Date: Tue, 27 Feb 2001 20:03:22 -0800 (PST)

*** Mohit Agarwal ([email-masked]) wrote in the pine-info...:

:) It didn't happen for me as well.  But a strange message!  Here are a few
:) lines from the journal file:
:)
:) No Configuration changes saved
:) Closing empty folder "/var/spool/mail/mohit"
:) Changes to news-spool-directory will affect your next pine session.
:)
:) Can somebody explain the last line?
:)
:) (I don't use remote addressbook.  Pine4.33 + some of Eduardo's patches)

Wow, that's strange. Before anyone jumps into conclusions, I always keep a
clean version of Pine so that I can test bugs before I report them
(otherwise it's my bug and I fix it silently :)), and I tested this
behavior with the clean version of Pine. Having said that, the fact that
something is happening in your side (although not the same as in my
side) means that there's something wrong in Pine. What exactly? I don't
know...

---

From: Eduardo Chappa <[email-masked]>
Date: Tue, 27 Feb 2001 20:09:19 -0800 (PST)

:) Precicely the same.  I even did it again, and I used CTRL-M as
:) written above instead of using ENTER, just to be sure.  I get the
:) same thing, no problems.

Hmm, more strange. I executed "pine -d 9" and then after reproducing the
bug I executed "fgrep anges .pine-debug1". This is the output, mayb
someone can explain it.

freq 12 tm 420 changes 14 since_1st_change 7
Check:if changes(14)xadj_cca(36) >= freq(12)x200
q_status_message(No Configuration changes saved)
q_status_message(Changes to news-active-file-path will af)
q_status_message(Changes to news-spool-directory will aff)
q_status_message(Changes to incoming-folders will affect )
q_status_message(Changes to folder-collections will affec)
q_status_message(Changes to news-collections will affect )
q_status_message(Changes to user-input-timeout will affec)
q_status_message(Changes to rsh-command will affect your )
q_status_message(Changes to rsh-path will affect your nex)
q_status_message(Changes to ssh-command will affect your )
q_status_message(Changes to ssh-path will affect your nex)
q_status_message(Changes to disable-these-drivers will af)
q_status_message(Changes to disable-these-authenticators )
q_status_message(Changes to remote-abook-history will aff)
q_status_message(Changes to remote-abook-validity will af)
output_message(No Configuration changes saved)
freq 36 tm 840 changes 14 since_1st_change 25
Check:if changes(14)xadj_cca(126) >= freq(36)x200
d_q_status_message(No Configuration changes saved)
d_q_status_message(Changes to news-active-file-path will af)
d_q_status_message(Changes to news-spool-directory will aff)
d_q_status_message(Changes to incoming-folders will affect )
d_q_status_message(Changes to folder-collections will affec)
d_q_status_message(Changes to news-collections will affect )
d_q_status_message(Changes to user-input-timeout will affec)
d_q_status_message(Changes to rsh-command will affect your )
d_q_status_message(Changes to rsh-path will affect your nex)
d_q_status_message(Changes to ssh-command will affect your )
d_q_status_message(Changes to ssh-path will affect your nex)
d_q_status_message(Changes to disable-these-drivers will af)
d_q_status_message(Changes to disable-these-authenticators )
d_q_status_message(Changes to remote-abook-history will aff)
output_message(Changes to remote-abook-validity will affect your next pine session.)
freq 48 tm 1260 changes 14 since_1st_change 27
Check:if changes(14)xadj_cca(136) >= freq(48)x200

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

---

From: Edward M Greshko <[email-masked]>
Date: Wed, 28 Feb 2001 12:15:59 +0800 (GMT)

> contradicts my setting of moving messages automatically when quitting.

Doesn't happen here either.....

I'm using Solaris 7.  Your headers show Pine.OSF.4.33.
Mike's shows Pine.LNX.4.33

Maybe its OS related?

-- 
Edward M. Greshko                  Technical Manager
                                   Syntegra Asia Region

---

From: Mohit Agarwal <[email-masked]>
Date: Wed, 28 Feb 2001 10:00:59 +0530 (IST)

> side) means that there's something wrong in Pine. What exactly? I don't

I simply tried what you'd written and found a new funny message.  No idea
why it appeared.  That is precisely what I'd asked; what does this message
mean?

---

From: Eduardo Chappa <[email-masked]>
Date: Tue, 27 Feb 2001 20:26:27 -0800 (PST)

*** Edward M Greshko ([email-masked]) wrote on Feb 28, 2001:

:) On Tue, 27 Feb 2001, Eduardo Chappa wrote:
:)
:) > That's a Bug. (exact kestrokes are: M S C D Y ^M ^M E N, now wait a
:) > second or two).
:) >
:) >  I did not make any changes. Moreover, if I quit Pine none of my
:) > messages in my inbox are moved to the "saved-messages" folder, which
:) > contradicts my setting of moving messages automatically when quitting.
:) > That's another bug.
:)
:) Doesn't happen here either.....

Hmm that's strange. I "deleted" my .pinerc file, started pine and repeated
the process, with the same result. Also, can you run run "pine -d 9" and
grep your .pine-debug1 file for "Changes"?, maybe they are not being
reported on line, but in your debug only?

---

From: Eduardo Chappa <[email-masked]>
Date: Tue, 27 Feb 2001 20:32:52 -0800 (PST)

*** Mohit Agarwal ([email-masked]) wrote on Feb 28, 2001:

:) I simply tried what you'd written and found a new funny message.  No idea
:) why it appeared.  That is precisely what I'd asked; what does this message
:) mean?

The message means that Pine *thinks* that it made a change to the value of
the configuration variable that is reporting to you, say the
news-spool-directory, not to the directory itself. There are certain
changes that pine can not update during the same session (e.g. after you
enable-incoming-folders you can not add one, you have to quit Pine first).
So this is telliung you the same, that the new value of the variable
"news-spool-directory" will be valid the next time you open Pine, not this
session.

---

From: Edward M Greshko <[email-masked]>
Date: Wed, 28 Feb 2001 12:52:55 +0800 (GMT)

> reported on line, but in your debug only?

Nope....

calvin[2]% grep Change .pine-debug1
 3 C       [Change Va 12
 3 C       [Change Va 12
passwd:0   prompt:"Change field personal-name value : "   label:""
 3 C       [Change Va 12

---

From: Eduardo Chappa <[email-masked]>
Date: Tue, 27 Feb 2001 23:44:04 -0800 (PST)

*** On Tue, 27 Feb 2001 I wrote:
:) That's a Bug. (exact kestrokes are: M S C D Y ^M ^M E N, now wait a
:) second or two).

Just tested it with PC-Pine, it happens too!

---

From: Gopi Sundaram <[email-masked]>
Date: Wed, 28 Feb 2001 09:54:36 -0500 (EST)

> That's a Bug. (exact kestrokes are: M S C D Y ^M ^M E N, now wait a

Didn't happen to me either. Pine 4.33 on Solaris 7_x86

Hmmm, You've never noticed a bug that I have, now I can't see one that
you can. There's something going on here :-)

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

---

From: Steve Hubert <[email-masked]>
Date: Wed, 28 Feb 2001 10:18:03 -0800 (PST)

There is a missing set of parentheses in other.c. The only effect of the
bug is to show you the status message when it shouldn't. I've attached a
patch.

Is the saved-messages bug somehow related to this or does is it a separate
bug related only by being in the same email message? Thanks.

-- 
Steve Hubert <[email-masked]>
Networks and Distributed Computing, Univ. of Washington, Seattle

---

From: Eduardo Chappa <[email-masked]>
Date: Wed, 28 Feb 2001 10:54:06 -0800 (PST)

*** Steve Hubert ([email-masked]) wrote today:

:) There is a missing set of parentheses in other.c. The only effect of the
:) bug is to show you the status message when it shouldn't. I've attached a
:) patch.

Thank you Steve. The patch works.

:) Is the saved-messages bug somehow related to this or does is it a separate
:) bug related only by being in the same email message? Thanks.

This bug still exists. In a somewhat related matter if I press M, the
status line at the top of the screen says:

 PINE 4.33   MAIN MENU                             Folder: INBOX  6 Messages

Once I follow the procedure I described in my other e-mails. I get the
following status line:

 PINE 4.33   MAIN MENU Folder: gton.edu/imap/user="chappa"}INBOX  6 Messages

and that's the indication that I get that when I quit, it won't move read
messages to my saved-messages folder. Notice that the definition of my
inbox-path is

inbox-path   = {my.server.washington.edu/user=chappa}INBOX

The "imap" string is added by pine or c-client (?).

  Thank you.

---

From: Steve Hubert <[email-masked]>
Date: Wed, 28 Feb 2001 12:13:35 -0800 (Pacific Standard Time)

Ok, I can reproduce that problem. It looks like it only happens when you
answer No to the "Commit changes" question, so not too serious. I haven't
figured out exactly how to fix it yet. Thanks.

Steve

---

From: Eduardo Chappa <[email-masked]>
Date: Wed, 28 Feb 2001 20:31:46 -0800 (PST)

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

:) Ok, I can reproduce that problem. It looks like it only happens when you
:) answer No to the "Commit changes" question, so not too serious. I haven't
:) figured out exactly how to fix it yet. Thanks.

Thanks Steve for providing me with a patch that now fixes this bug too.
If anyone is interested, the complete patch can be downloaded from my web
page, address below.

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