Subject: tcl/tk pine, ... ?

From: [email-masked] (Wojtek Bogusz)
Date: Mon, 10 Oct 1994 10:41:51 GMT

Dear Piners !

 I am thinking  about writing thing  like tkpine, a  Tcl/Tk version of
pine for X Windows (well, tcl/tk is available also on Ms-Windows and I
think will be available on any windows you will think about, in future
of course).  What  I need is  a  kind of  libpine.a with internal pine
procedures like: "show list  of mails  in folder  (with offset in file
?)", "show one mail from folder", "send mail text with header", "check
header, expand nick names, ...  (this on sending mail)", "show address
book", "change address book", .......

 I wonder what do you think about that kind of idea and is it possible
that some   one   who knows pine   source would   help with   creating
"libpine.a" ? Or   may be such  lib is  already available  ? Any other
ideas :-) ?

 Best regards,
 Wojtek Bogusz

+---------------------------------------------------------------------------+
| [email-masked] | Warsaw  University | Hoza 69; Warszawa; Poland |
|                          | Physics Department | tel.(+48)(2)6283031x149   |
+---------------------------------------------------------------------------+
             http://info.fuw.edu.pl/persons/wojtek_bogusz.html

---

From: [email-masked] (Sami-Jaakko Tikka)
Date: 13 Oct 1994 08:19:05 +0200

>"libpine.a" ? Or   may be such  lib is  already available  ? Any other

There is already such a library.  It is called c-client.  I think it
comes with the Pine source distribution.

This is an excerpt from the Pine tech-notes.txt:

          Not long after the Pine project  began,  The  IMAP
          author had finished writing the "c-client" library
          as an interface to IMAP and as  a  switch  between
          drivers  for  IMAP  mailboxes, Berkeley mail files
          and Tenex mail files.  In time, "c-client"  became
          a  full  messaging  API  with  support for RFC-822
          parsing, MIME parsing and decoding, SMTP and  NNTP
          drivers,  and  so  forth.  Great care was taken to
          make  the  code  writing  the  mail  files  robust
          against  disks filling up, and inter-process lock-
          ing in order to guarantee mail  file  consistency.
          It  was clear that Pine would benefit greatly from
          using the c-client to access mail storage  so  the
          original  low-level Elm code was replaced by calls
          to c-client library  routines.  Consequently  Pine
          can  write  and access a variety of different mail
          file formats and new ones can be added by creating
          a  simple driver.  In addition the c-client does a
          very careful job of doing all the RFC  822  header
          parsing  and  achieves the highest compliance with
          the RFC.
-- 
<A HREF="http://www.cs.hut.fi/~sti/">Sami Tikka</A>
"Peace and Long Life."
"Live Long and Prosper."