Subject: Re: converting between Unix and Windows Pine folders

From: David L Miller <[email-masked]>
Date: Fri, 10 Jan 1997 18:15:00 -0800

On 10 Jan 1997, Nancy McGough wrote:

> What tools are available for converting between Unix and Windows
> pine folders? I know about mbxcvt but it's not available on the Unix
> systems I have accounts on.  Is there something like mbxcvt that
> runs on DOS/Windows? 

Depending on which formats you are converting, Pine itself should be
able to do the conversion.  On DOS/Windows, if you are going from
bezerk to MTX format, you could set up a special PINERC file with an
initial-keystrokes list that selects all messages in a folder and
copies them to a new folder.  You might wrap that in a BAT file that
changes filenames, etc...

> Does it do conversions in either direction? 

If you have a folder in the desired format, e.g. with a dummy message
in it, Pine will add new messages in that format.  This is the same
with both Unix and PC Pines; PC-Pine's selection of formats is just
more limited... 

> Can someone post exact instructions for how I can compile mbxcvt on
> a Unix system. 

Download, uncompress, and untar

	ftp://ftp.cac.washington.edu/mail/imap.tar.Z

Change to the imap directory, then download, uncompress, and untar 

	ftp://ftp.cac.washington.edu/mail/imap-utils.tar.Z

Then
	make xxx	# "xxx" is your platform
	cd mbxcvt
	make

--DLM

-- 
|\ |  |\/|  David L. Miller    [email-masked]  (206) 685-6240
|/ |_ |  |  Software Engineer, Pine Development Team   (206) 685-4045 (FAX)
University of Washington, Networks & Distributed Computing, Box 354841
4545 15th Ave NE, Seattle WA 98105, USA     Stardate: [-31]8710.46

---

From: Nancy McGough <[email-masked]>
Date: 13 Jan 1997 23:44:02 -0500

>changes filenames, etc...

First, I got mbxcvt to compile thanks to David's instructions and
some help from Audin at Halcyon.  mbxcvt does what I need (yay!) and
I wanted to share some things I've learned about converting.  Here
are three ways to do the conversion:

1) Use mbxcvt on the Unix system to convert the folder before downloading.

2) Use Windows Pine to open the Unix folder (via IMAP) and then select all
   and apply save (;aas) and save to a folder on your desktop machine.

   DISADVANTAGE: I've had a lot of IMAP connections break in the midst
   of this type of download and then I only get part of the folder
   downloaded.

3) Download the Unix folder and then open it up in Windows Pine.  It will
   be READONLY which you can fix by selecting all and saving to another
   folder (;aas again).

   BIG DISADVANTAGE: You lose status info, e.g., which messages you've
   answered.  This is unacceptable to me.
 
   QUESTIONS ABOUT THIS METHOD:  
    Is there any way to preserve the status info?
    Does the CRLF conversion happen when you do the ;aas thing?
    Why does it show up as READONLY any way??

QUESTIONS: Are there other methods for converting between Unix and Windows
folders?  Is there an mbxcvt that will work on DOS/Windows - that would be
great!  Is there some documentation about mbxcvt, e.g., one of my accounts
is on a VMS system and it has really weird looking folders.  So far the
only way I can get my folders over there is using method 1.

Thanks for any info about all this,
Nancy

-- 
<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<
            @..@            Nancy McGough           /\_/\
           (----)           Infinite Ink           ( o.o )
          ( >__< )    http://www.jazzie.com/ii/     > ~ <

---

From: [email-masked] (Ralph Sims)
Date: 15 Jan 1997 04:53:41 GMT

In article <[email-masked]>,
William Julien <[email-masked]> wrote:
>[Posted and mailed]
>>  make: *** No rule to make target `ultrix'.  Stop.
>>  
># ult	RISC Ultrix (DEC-5000)
>
>I tried:
>make lnx

Use 'make ult' to compile the binaries to run on coho and chinook.

--
          Northwest Nexus, Inc. - Professional Internet Services 
Nationwide Modem and ISDN Dial-up; Regional Dedicated Services; Web Hosting
           +1 206 455 3505 * +1 800 539 3505 * +1 503 624 5800

---

From: [email-masked] (William Julien)
Date: 15 Jan 1997 03:22:34 GMT

[Posted and mailed]

In article <[email-masked]>,
	Nancy McGough <[email-masked]> writes:
> Thanks for the info David.  I just did this on halcyon but
> I must have the platform (xxx above) wrong.  Here's what
> happened after downloading, uncompressing, and untarring:
> 
>  nancym@coho:/scratch/nancym/imap> uname
>  ULTRIX
>  nancym@coho:/scratch/nancym/imap> make ULTRIX
>  make: *** No rule to make target `ULTRIX'.  Stop.
>  nancym@coho:/scratch/nancym/imap> make ultrix
This package supports the following platforms: (listed in the Makefile)

#  The following ports are defined.  These refer to the *standard* compiler
# on the given system.  This means, for example, that the sol port is for SUN's
# compiler and not for a non-standard compiler such as gcc.
#  If you are using gcc and it is not the standard compiler on your system, try
# using an ANSI port that is close to what you have.  For example, if your
# system is SVR4ish, try a32 or lnx; if it's more BSDish, try nxt, mct, or bsi.
#
# a32	AIX 3.2 for RS/6000
# a41	AIX 4.1 for RS/6000
# aix	AIX/370
# ami	AmigaDOS
# am2	AmigaDOS with a 68020+
# ama	AmigaDOS using AS225R2
# amn	AmigaDOS with a 680x0 using "new" socket library
# aos	AOS for RT
# art	AIX 2.2.1 for RT
# asv	Altos SVR4
# aux	A/UX
# bsd	generic BSD
# bsi	BSD/i386
# cvx	Convex
# d-g	Data General DG/UX
# d41	Data General DG/UX 4.11
# dpx	Bull DPX/2 B.O.S.
# drs	ICL DRS/NX
# dyn	Dynix
# epx	EP/IX
# gas	GCC Altos SVR4
# gso	GCC Solaris
# gsu	GCC SUN-OS
# gul	GCC RISC Ultrix (DEC-5000)
# hpp	HP-UX
# isc	Interactive Systems
# lnx	Linux
# lyn	LynxOS
# mct	MachTen
# mnt	Mint (incomplete port)
# neb	NetBSD/FreeBSD
# nxt	NEXTSTEP
# osf	OSF/1
# ptx	PTX
# pyr	Pyramid
# s40	SUN-OS 4.0
# sc5	SCO Open Server 5.0.x
# sco	Santa Cruz Operation
# shp	HP-UX with Trusted Computer Base
# sgi	Silicon Graphics IRIX
# slx	Linux with shadow password security
# sol	Solaris (won't work unless "ucbcc" works -- use gso instead)
# sos	OSF/1 with SecureWare
# ssn	SUN-OS with shadow password security
# sun	SUN-OS 4.1 or better
# sv2	SVR2 on AT&T PC-7300 (incomplete port)
# sv4	generic SVR4
# ult	RISC Ultrix (DEC-5000)
# uw2	UnixWare SVR4.2
# vul	VAX Ultrix
# vu2	VAX Ultrix 2.3 (e.g. for VAXstation-2000 or similar old version)

I tried:
make lnx

   on linux. No problems!

-- 
         _,'|            _.-''``-...___..--';
        /, \'.      _..-' ,      ,--...--'''
       < \   .`--'''      `     /| William Julien
        `-,;'              ;   ; ; [email-masked]
  __...--''     __...--_..'  .;.'  http://www.catmanor.com/moonbeam/
 (,__....----'''      (,..--''
 vi is my shepherd; i shall not font.

---

From: Nancy McGough <[email-masked]>
Date: 13 Jan 1997 22:25:40 GMT

I've crossposted this to halcyon.general with hopes that
someone in one of these groups can help.  What is the
best way for me to find out the platform - uname didn't
seem to give me the info I need.

Thanks much,
Nancy

PS - If anyone at Halcyon has mbxcvt compiled, could you mail 
me the path?  Thnx!