Re: [Nmh-workers] Gripe About Pick Man Page and New Feature Request

2012-05-01 Thread Simon Burge
valdis.kletni...@vt.edu wrote: > On Wed, 25 Apr 2012 08:55:00 -0700, n...@dad.org said: > > > Something like > > > > -before today -or -after today -or -after yesterday > > Those would rock. Extending it to "-before 7daysago" or "-after 1yearago" and > similar would be even better (I'm often

Re: [Nmh-workers] Locking In Scripts and nmh Locking

2012-05-01 Thread Ken Hornstein
>Out of interest, what form of locking does nmh use? It looks like hard >links to ~/mail/inbox/.mh_sequences.lock for one of them. Is it >consistent in the method used everywhere, or does it mix in lockf, >flock, fcntl, etc., for other resources? It's whatever you configure it to be (and essenti

Re: [Nmh-workers] Locking In Scripts and nmh Locking

2012-05-01 Thread Ralph Corderoy
Hi Ken, > Well, it's just as complicated as it needs to be. The issue is that > the sequences files and context files get modified a lot, so those > need to be locked. Out of interest, what form of locking does nmh use? It looks like hard links to ~/mail/inbox/.mh_sequences.lock for one of them

Re: [Nmh-workers] Locking In Scripts and nmh Locking

2012-05-01 Thread Ken Hornstein
>>But then you say (in another message) that you want nmh programs to not >>deadlock under our hypothetical nmhlock program > >If I said something that amounted to that, it's not what I meant. I don't know >what I might have said that led you to believe that's what I meant. Which is >not >to say t

Re: [Nmh-workers] Locking In Scripts and nmh Locking

2012-05-01 Thread norm
Ken Hornstein writes: >>Yes, I do. I it to lock EVERYTHING. Maybe you want to get fancy and give >>mhlock >>options for partial locking capabilities, but there ought to be a way to lock >>EVERYTHING. Indeed I would vote for EVERYTHING to be the default. I want to >>write scripts and be oblivious