Subject: Pine under linux and DOS - lockfiles?

From: Christian Fischer <[email-masked]>
Date: 2 May 1995 06:38:38 GMT

I would like to use pine under linux and under DOS, using the same local
message folders under both OS. I have set up pine under linux to access the
folders on my DOS-partition. Now, the problem is that every time pine accesses
a folder on this partition it tries to create a lockfile by appending .lock to
the folder name. Since this is not possible on a DOS partition, pine just hangs
for a few minutes and then gives a message like "cannot create lockfile ...".

Is there a possibility to either change the format of the lockfiles or to
disable lockfiles completely?

Thanks for any info,

------------------------------------------------------------------
Christian Fischer                                      [email-masked]
------------------------------------------------------------------

---

From: Mark Crispin <[email-masked]>
Date: Tue, 2 May 1995 08:59:57 -0700 (PDT)

The brief answer to your question is "no".  The name of the lockfile is
something that is established by convention on Unix, and is used by other
Unix tools.  Since other Unix tools use mail files as well, what you're
trying to do isn't likely to work well.

We do, however, provide source code, so you can try to modify the routine
bezerk_lock() in imap/c-client/bezerk.c so that it doesn't try to make
the files.  You may find that this is problematic for other reasons
though.

Are you aware that the Unix mbox format is only supported as a read-only
format in PC-Pine?  If you want a read-write format on both systems, you
need to use the MTX format.  The file name for INBOX is INBOX.MTX in the
home directory.  This is a non-standard format for Unix.

-- Mark --

DoD #0105, R90/6 pilot, FAX: (206) 685-4045  ICBM: N 47 39'35" W 122 18'39"
Science does not emerge from voting, party politics, or public debate.

---

From: [email-masked] (Oberon)
Date: 03 May 1995 21:10:11 GMT

>>>>> "Peter" == Peter H Lemieux <[email-masked]> writes:

Peter> In article <[email-masked]>, [email-masked] says...
>>  I would like to use pine under linux and under DOS, using the same
>> local message folders under both OS.

Peter> You could add an NFS client like XFS to your DOS stack and put
Peter> the folders on the Linux partition.

Another choice would be to run an 'imapd' on your mail-provider
(provided you have that kind of power).  Then you can set things up so
that both pine versions get their mail and keep their local message
folders on the remote machine.  If I've jumped in in the middle, and
don't understand what you're really asking, please accept my
apologies.
--
o David Negaard	                  o [email-masked]
o Help Desk Technician            o http://www.graceland.edu/~negaard
o 700 College Avenue              o linux-phile
o Lamoni, IA  50140               o 73 de KB0PXK

---

From: [email-masked] (Peter H. Lemieux)
Date: 3 May 1995 04:53:06 GMT

In article <[email-masked]>, [email-masked] says...
>message folders under both OS. 

You could add an NFS client like XFS to your DOS stack and put the folders on
the Linux partition.

Peter

-- 
Peter H. Lemieux, President                     http://www.cyways.com
cyways, inc.                                    Voice: +1 (800) 529-9297
Watertown, Massachusetts, USA                   Fax:   +1 (617) 926-8440
          --- Your source for total Internet solutions(TM) ---

---

From: [email-masked] (Eugene Epshteyn)
Date: 3 May 1995 19:53:12 GMT

Christian Fischer ([email-masked]) wrote:
: I would like to use pine under linux and under DOS, using the same local
: message folders under both OS. I have set up pine under linux to access the
: folders on my DOS-partition. Now, the problem is that every time pine accesses
: a folder on this partition it tries to create a lockfile by appending .lock to
: the folder name. Since this is not possible on a DOS partition, pine just hangs
: for a few minutes and then gives a message like "cannot create lockfile ...".

Get umsdos package for linux and mount your dos partition as umsdos.  Linux
will treat it as a regular unix partition (long file names, etc.)  DOS, on
the other hand, will see the same file names, if they confirm to DOS file
system standards.  If they don't, then such filenames will be changed.  Actual
file names are kept in a separate file.

I don't guarantee that this'll work, but if you do this, linux will be able
to create *.lock files, and DOS should see all your folders without any
problems.

Hope this helped

Eugene
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~             Eugene (Yevgeniy) Epshteyn             ~~
~~                  [email-masked]                  ~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---

From: [email-masked] (Mark Rafn)
Date: 4 May 1995 22:31:23 GMT

>You could add an NFS client like XFS to your DOS stack and put the folders on

This would only work if the Linux and DOS machines are two different
computers.  If that's the case, just use IMAP to keep the folders on the
Linux machine (Folder-path: {linux.my.net}mail/).

If you switch the machine from Linux to/from DOS, there may not be a way
to have Pine share folders between the two OSs.  If Linux can mount a
DOS filesystem, that may be the way to go - keep your Linux folders on
the DOS partition, then both Pines can get them.