Subject: Mac port ; who wants to try ?

From: [email-masked] (Guy BRAND)
Date: 2 Feb 1995 12:37:54 GMT

Hi,

There is currently no IMAP implementation for the macintosh... if you forget
about Mailstrom, which is great but really limited when compared to PC Pine
for example. I'd be very interested in porting Pine to the mac, if I had more
time to do it. Time to do it no ? Are there people interested ? The code for
Unix Pine can be adapted but how to use it with MacOS GUI ? 

Any suggestion is welcome
Please report in comp.mail.pine too !
Guy

---

From: "Steven D. Majewski" <[email-masked]>
Date: Thu, 2 Feb 1995 14:59:47 -0500 (EST)

> Please report in comp.mail.pine too !

Is there a unix curses or termcap emulation library for the Mac,
that would work with either MPW's SIOW ( Simple I/O Window ) or 
Think C's console ?  If there were, a straight port of the tty
interface could be easily done ( as could lots of other unix software )

If not, it might be better to just start a clean native GUI interface 
around c-client code. Has C-client been ported successfully to the Mac ? 

( I have a copy of a mostly working socket interface to MacTCP that I
 found at NCSA. For other reasons, for the project for which I hunted 
 that down, I ended up using the native MacTCP API. I still have an
 object library of it, but when I last tried to recompile it with the
 latest MPW, it didn't compile, and I didn't have time to look for 
 the problem, and again a reason not to use the socket interface showed
 itself, so I didn't look at it again. )

[ Query cross posted to comp.sys.mac.programmer & comp.sys.mac.comm ] 

---|  Steven D. Majewski   (804-982-0831)  <[email-masked]>  |---
---|  Computer Systems Engineer          University of Virginia  |---
---|  Department of Molecular Physiology and Biological Physics  |---
---|  Box 449 Health Science Center    Charlottesville,VA 22908  |---

---

From: David L Miller <[email-masked]>
Date: Thu, 2 Feb 1995 14:44:31 -0800

On 2 Feb 1995, Steven D. Majewski wrote:

> Date: 2 FEB 1995 12:07:09 -0800
> From: Steven D. Majewski <[email-masked]>
> Newgroups: comp.mail.pine
> Subject: Re: Mac port ; who wants to try ? [ pine or c-client ]
> 

Actually, there are several Mac IMAP clients.  Here is an excerpt from the
list in ftp://ftp.cac.washington.edu/mail/imap.software:

----------------------------------------------------------------------------
  Client         MIME?   Source/Vendor   Status
----------------------------------------------------------------------------

MACINTOSH
  ECSMail Mac     Yes    ISA Corp.       2.1 Alpha (I think 3.x is in Beta)
  Mail Drop       Yes    Baylor U.       Beta
  MacMS           No     Stanford U.     Obsolete
  Mailstrom 1.05  No     Stanford U.     Released, but buggy on some Macs
  Mailstrom 2.0x  Yes    Adam Treister   In development
  POPmail         No     UMinn           Uses POP paradigm; deletes mail
  Siren Mail      Yes    Siren Software  Planned product
  TWG Pathways    No     Wollongong      Released
  Zmail           Yes    Zcode           IMAP support Planned

> interface could be easily done ( as could lots of other unix software )

One of the Pine Team members did a little preliminary look at doing a Mac
port and was basing it on Mint.  But he dropped that in favor of a MachTen
port, which is complete and in Pine 3.91. 

> around c-client code. Has C-client been ported successfully to the Mac ? 

Yes, c-client works on the Mac.

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

---

From: Mark Crispin <[email-masked]>
Date: Thu, 2 Feb 1995 18:44:13 -0800

> interface could be easily done ( as could lots of other unix software )

A fellow by the name of Chris Newman at CMU gave me a package called 
NiftyTerm which essentially is a VT100 emulator + Telnet application.  My 
thinking about a Mac Pine (PineApple?) would be to excise the Telnet 
code, and graft c-client, Pine, and Pico in its place.

> around c-client code. Has C-client been ported successfully to the Mac ? 

c-client is ported to the Mac, and mtest runs just fine.  I have a nice
MacTCP interface for c-client that I wrote myself that (among other
things) runs a mini event loop so even though it's blocked on TCP I/O you
can still manipulate windows, switch to other apps, abort the current app,
etc.  Unlike Mailstrom's TCP code, my code works. 

I, like many others, have been very disappointed with Mailstrom, and
expelled it from my Mac's hard disk some time ago.  Mail Drop, on the
other hand, works quiet well, if a bare-bones IMAP client is alright.  I
have higher hopes of seeing Mail Drop get dolled up than I have of seeing
a usable Mailstrom. 

The main thing you would need to do in c-client on the Mac is have some 
sort of monitor/throttle on memory use so c-client can cache, but purge 
the cache (via mail_gc() calls) as necessary when memory becomes low.  
This idea was originally going to be used in PC-Pine, but memory is so 
tight in the 640K limit that we ended up not caching at all.  On the Mac, 
I'd give it a meg or two of free memory to play around in.

I've thought of writing my own native GUI interface for the Mac, but I 
have plenty of other things to do.  What's more, my GUIs tend to reflect 
the fact that I'm an engineer, not an artist -- hyper-functional, but not 
necessarily pretty, with button panels from hell.

I've thought of writing one anyway, but it'd probably be in VisualWorks, 
so it'd not be very helpful for the general Mac community.

---

From: Guy BRAND <[email-masked]>
Date: Fri, 3 Feb 1995 17:01:57 -0800 (PST)

Was : Mac port ; who wants to try ? [ pine or c-client ]

> interface could be easily done ( as could lots of other unix software )

Dunno ! Has anyone informations on that ?

> around c-client code. Has C-client been ported successfully to the Mac ? 

It's in the pine 3.91 package, under the c-client directory, here's is 
some piece of it :

/*
 * Program:	Operating-system dependent routines -- Macintosh version
 *
 * Author:	Mark Crispin
 *		6158 Lariat Loop NE
 *		Bainbridge Island, WA  98110-2098
 *		Internet: [email-masked]
 *
 * Date:	26 January 1992
 * Last Edited:	14 September 1994
 *
 * Copyright 1994 by Mark Crispin
 *
 */

/*  This is a totally new operating-system dependent module for the Macintosh,
 * written using THINK C on my Mac PowerBook-100 in my free time.
 * Unlike earlier efforts, this version requires no external TCP library.  It
 * also takes advantage of the Map panel in System 7 for the timezone.
 */

Guy
 
------------------------------------------------------------------------------
Guy BRAND                                         [email-masked]
Centre de Recherche Chimie                             ULP Strasbourg (FRANCE)