home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / popbif10.zip / POPBiff.DOC < prev    next >
Text File  |  1995-03-25  |  12KB  |  227 lines

  1.                POPBiff V1.0 for OS/2 by Michele Marziani
  2.                =========================================
  3.  
  4.  
  5. Copyright:
  6.  
  7.     POPBiff V1.0 - Simple Unix-like Biff program for the POP3 TCP/IP
  8.     protocol. Copyright (c) March 1995, Michele Marziani.
  9.  
  10.  
  11. Warranty:
  12.  
  13.     This software comes with absolutely no warranty, expressed or
  14.     implied, including but not limited to fitness for a particular
  15.     purpose. You should realize that I am in no way responsible for
  16.     any loss or damage that may occur due to the use of this software.
  17.     The program is provided on an "as is" basis. Use at your own risk.
  18.  
  19.  
  20. Distribution:
  21.  
  22.     This program is distributed as 'emailware': if, after using this
  23.     software for a reasonable time (15 days), you feel that it is software
  24.     that is useful to you and that you will continue to use, you're
  25.     kindly required to 'register' the software with me. It will cost
  26.     you *NOTHING*. Just send me an e-mail at the address below, telling
  27.     me your praise (!), your impressions, your suggestions or whatever.
  28.     Please mention the fact you're registering explicitly. This will
  29.     help me keep a list of 'registered' users who will receive
  30.     notification of new releases and bug fixes when they become
  31.     available.
  32.     There are very few restrictions on the distribution of this
  33.     software, as long as it is not altered in any way. The ZIP
  34.     archive file from which the program came from must be distributed
  35.     in its entirety and not altered in any way. This software can't
  36.     be distributed with or as part of any commercial program.
  37.     However, it may be freely distributed by commercial vendors, user
  38.     groups, BBS operators or individuals. No fee or payment may be
  39.     charged or accepted, other than a small distribution fee.
  40.  
  41.  
  42. Support:
  43.  
  44.     This software comes with absolutely no support.
  45.     If you have a problem with the software, I'd very much appreciate
  46.     receiving information about the problem and the circumstances under
  47.     which it occurred. Just e-mail me at the address below. This will
  48.     help me fix the problem (at least I'll try to) in a future release.
  49.     Do not expect an immediate reply or a prompt bug fix, however.
  50.  
  51.  
  52. Purpose:
  53.  
  54.     POPBiff is a Unix xbiff analogue. Only it has been designed to work
  55.     with a POP3 server i.e. it doesn't monitor a file on disk. Instead
  56.     it periodically checks your POP3 mailbox. It will raise its flag
  57.     and optionally beep on incoming mail. It will lower the flag if the
  58.     mail is read. An optional secondary window can show the total count
  59.     of new mail messages and their total size.
  60.     Current features:
  61.       * compatibility with IBM TCP/IP 1.2.1, 2.0 and Warp IAK
  62.       * usual flag down/flag up stuff (a la Unix xbiff)
  63.       * display of new message count and total size
  64.       * optional beep in response to new mail
  65.       * mail checking every N minutes (N ranging from 1 to 120)
  66.       * saving of settings (host, user, password) to an INI file
  67.       * password encryption when saving to an INI file
  68.       * saving of window positions/size/color
  69.       * multithread design
  70.     Features planned for future releases:
  71.       * optional display of message headers
  72.       * launching of your favorite e-mail reader
  73.       * playing of a .WAV file in response to new mail
  74.       * no mail/new mail icons configurable via drag & drop
  75.  
  76.  
  77. Requirements:
  78.  
  79.     This software requires IBM TCP/IP 1.2.1 or 2.0 or Warp IAK with
  80.     the REXX Sockets (RxSock) interface. This was a separate package
  81.     distributed as EWS - 'Employee Written Software' - until the
  82.     August 1994 CSD for IBM TCP/IP. Then it has been included with
  83.     the corrective service disks. Since both IBM TCP/IP 1.2.1 and Warp
  84.     IAK do not include the RxSock interface, I'm hereby including two
  85.     copies of RxSock.DLL, one for the 16 bit TCP/IP stack (1.2.1) and
  86.     the other for usage with Warp IAK.
  87.  
  88.  
  89. Installation:
  90.  
  91.     Please follow these steps for manually installing POPBiff.
  92.     - Unzip POPBif10.ZIP in a temporary directory. I'd like to suggest
  93.       using Info-ZIP's UnZip version 5.12 or later since it can preserve
  94.       OS/2 extended attributes.
  95.     - Move POPBiff.EXE and POPBiff.ICO to a directory where you keep
  96.       your executable files, e.g. \OS2\APPS or \TCPIP\BIN or whatever.
  97.       It doesn't need to be a directory in your path, though, unless you
  98.       wish to run POPBiff from any OS/2 command line prompt.
  99.     - Move POPBiff.DLL to a directory listed in LIBPATH, e.g. \OS2\DLL
  100.       or \TCPIP\DLL. The LIBPATH variable is defined in the OS/2 CONFIG.SYS
  101.       file. Note that you must shutdown your system and reboot OS/2 before
  102.       any changes to the LIBPATH will take effect.
  103.     - If you are using IBM TCP/IP 2.0 with the August '94 CSD or later
  104.       already applied, you can safely delete both RXSOCK.DLL and
  105.       RXSOCK16.DLL. If your have either TCP/IP 2.0 without the CSD or Warp
  106.       Internet Access Kit (IAK) delete RXSOCK16.DLL and move RXSOCK.DLL to
  107.       the \TCPIP\DLL directory. Finally, if you have TCP/IP 1.2.1 delete
  108.       RXSOCK.DLL, rename RXSOCK16.DLL as RXSOCK.DLL and move it to the
  109.       \TCPIP\DLL subdirectory.
  110.     - [Optional] Since POPBiff creates an OS/2 INI file (for storing its
  111.       settings) in the same directory as its EXE file, this directory
  112.       needs to reside on a writable disk. If you can't comply with this
  113.       request, e.g. when POPBiff.EXE resides on a network server disk or
  114.       on a CD-ROM, you can override the default path for the INI file by
  115.       putting a SET POPBIFF=D:\PATH\WHATEVER statement in your CONFIG.SYS
  116.       file. This will allow you to specify the drive and directory of
  117.       your choice for the purpose of storing the POPBiff.INI file.
  118.     - [Optional] You could create a Workplace Shell (WPS) object by
  119.       dragging a Program template from the Templates folder and dropping it
  120.       on the WPS. An icon can be assigned to the POPBiff executable using
  121.       the General page of the program Settings notebook. You can use the
  122.       supplied POPBiff.ICO or any other icon of your choice.
  123.     There is NO need to modify the \TCPIP\ETC\SERVICES file since POPBiff
  124.     addresses the POP3 TCP port (110) directly.
  125.  
  126.  
  127. Usage:
  128.  
  129.     POPBiff asks for configuration information the first time you start
  130.     the program. If need be, you can easily change the configuration
  131.     later. As a minimum you need to specify a POP3 server host name,
  132.     your POP3 server username and your password.
  133.     As regards the password you have two options, either an "Enter
  134.     password" field or a "Read from plain text file" field. If you
  135.     choose to specify your password in the entry field under the "Enter
  136.     password" radio button you won't see your password as you type it.
  137.     Instead, a series of asterisks will be shown. Furthermore, your
  138.     password will be encrypted before saving it to POPBiff.INI for
  139.     obvious security reasons. Keep in mind that if you later move your
  140.     executable file to a different hard disk location you need to
  141.     re-enter your password.
  142.     Choosing the "Read from plain text file" option will allow you to
  143.     have a single system wide location for storing your POP3 password.
  144.     This could be useful for users of mail clients such as souper or
  145.     popclient who might have customized their Rexx scripts in order to
  146.     read their password from the same text file. Beware that it's an
  147.     intrinsically unsecure option, of course.
  148.     The other two options in the POPBiff setup dialog will allow you
  149.     to specify the time interval between two consecutive mail checks
  150.     and whether you want a beep when the new mail counter increases.
  151.     Time intervals can range between 1 and 120 minutes. The default
  152.     is to have POPBiff check your mail every 2 minutes and beep when
  153.     there is more incoming mail.
  154.     After a click on the "Save" pushbutton POPBiff will show its main
  155.     window consisting of a single flag down bitmap and the title bar.
  156.     Then it will try to contact your POP3 server for checking new mail.
  157.     This task is always done in a secondary thread in order to avoid
  158.     interfering with the user interface main thread.
  159.     You can move the main Biff window over your WPS. If you wish you
  160.     can drag a color from an OS/2 Color Palette and drop it on the
  161.     Biff window so as to change its background color. These settings
  162.     can be later saved to the POPBiff.INI file.
  163.     If there is new mail POPBiff will raise its flag. It will lower
  164.     the flag if the mail is read. POPBiff keeps a counter of all new
  165.     mail messages and it will beep (if you chose this option) when
  166.     new mail arrives.
  167.     A double click on the flag (up or down) bitmap will open a secondary
  168.     status window which will show you the new mail counter and the
  169.     mail message total size in bytes. There is also a menu under the
  170.     title bar of this status window.
  171.     The File menu only has an "Exit program" item with a fairly obvious
  172.     meaning. The Help menu only has an About menu item which opens a
  173.     dialog box with info on the author and the development environment
  174.     used for writing POPBiff. The Options menu has two items, "Settings"
  175.     and "Save Position/Size/Color". The former will reopen the POPBiff
  176.     Setup dialog thus allowing a change of the configuration information.
  177.     The latter is for saving various settings to the POPBiff.INI file.
  178.     Both the main POPBiff window position/background color and the POPBiff
  179.     status window position/size are saved to POPBiff.INI for later re-use.
  180.     You can leave POPBiff either by double clicking on the system menu
  181.     of the main window or via the File/Exit program menu item of the
  182.     status window.
  183.  
  184.  
  185. Known bugs and caveats:
  186.  
  187.     Keep in mind that POPBiff is written in REXX and I had to cope with
  188.     the limitations of the development environment I used and its tools.
  189.     For example I couldn't get rid of the title bar in the main window
  190.     without also preventing the user from moving the window itself.
  191.     This is a standard PM behaviour to which POPBiff adheres. I know
  192.     there are some tricks, allowed to C programmers, which can overcome
  193.     these limitations. At present they can't be implemented in REXX,
  194.     though. So don't blame me too much, please.
  195.     A known bug is the following. If new mail arrives while you're still
  196.     moving the main window around, you'll hear a beep but POPBiff won't
  197.     raise its flag. This is due to the built-in REXX event dispatcher
  198.     which is still servicing an event while it should start servicing a
  199.     new notify event. Sorry people, I can't do anything to fix this. So,
  200.     again, don't blame me too much.
  201.     Both reading from and saving to the INI file is a bit slow. This is
  202.     an intrinsic 'feature' of the SysIni Rexx utility function.
  203.     Finally I'd like to warn you that POPBiff has been tested only with
  204.     a VAX/VMS Multinet 3.0 POP3 server. I can't tell you its performances
  205.     while interacting with different POP3 servers. We don't have them.
  206.     POPBiff has been tested with the following configurations only: OS/2
  207.     2.11 with TCP/IP 2.0, and OS/2 Warp 3.0 with either TCP/IP 2.0 or
  208.     Warp IAK. It has been tested neither with OS/2 2.0 nor with TCP/IP
  209.     1.2.1 but it should work, though.
  210.  
  211.  
  212. Credits:
  213.  
  214.     POPBiff has been written using the DrDialog/DrRexx development
  215.     environment created by David C. Morrill. Version 3.27 was used.
  216.     Rexx routines for interacting with a POP3 server were 'borrowed'
  217.     from MADPOP.CMD, an "Ultra-simple REXX-based POP3 Client for
  218.     OS/2 2.X, Copyright 1994, Michael Alan Dorman".
  219.  
  220.  
  221. Author:
  222.  
  223.     Michele Marziani
  224.     Universita' di Ferrara       E-mail: marziani@vaxfe.fe.infn.it
  225.     Dipartimento di Fisica               Telephone: +39 532 781823
  226.     44100 Ferrara - ITALY                      Fax: +39 532 781810
  227.