home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / pmmas101.zip / PMMASort.txt < prev   
Text File  |  1997-04-10  |  3KB  |  88 lines

  1. PMMASort v.1.0.  PMMail Addressbook Sorter (for PMMail v.1.9x)
  2. Copyright (c) 1997 Gyan Scott Penrose-Kafka (spk@ibm.net)
  3.  
  4. PMMASort is E:MailWare, which means, if you use this program, please
  5. send me an e:mail (at spk@ibm.net) to let me know.
  6.  
  7.  
  8. *********************************************
  9. See end of document for revision history.
  10. *********************************************
  11.  
  12.  
  13. I wrote PMMASort because I got tired of PMMail not sorting the address book
  14. for the pop-up address book.  It is a simple little program which will allow
  15. you so sort your address book by either the alias field or the name field.
  16.  
  17.  
  18. ////////////////////////////////////////////////////////
  19. NOTICE:  You may run PMMASort while PMMail is running,
  20.          but you must exit and restart PMMail before 
  21.          the new sort order will take effect.
  22. ////////////////////////////////////////////////////////
  23.  
  24. PMMASort is a command line utility, however, if you put the parameters into
  25. a WPS program object, you can run it from the WPS.  PMMASort will backup the
  26. original ADDR.DB file to ADDR.DB.BAK.
  27.  
  28. Usage:  PMMASORT x:\path\ADDR.DB name/alias [fat]
  29.  
  30. (put the word "fat" as the third option if you are running this program from a
  31. fat partition.)
  32.  
  33. To Sort by name:
  34. PMMASort h:\apps\southsde\tools\addr.db name
  35.  
  36. To Sort by alias:
  37. PMMASort h:\apps\southsde\tools\addr.db alias
  38.  
  39.  
  40. You should run this program periodically in order to make sure that your
  41. pop-up address books always have the new entries in alphabetical order.
  42. Hopefully, in the near future PMMail will keep the address book datatbase
  43. sorted rather than just sticking newly added addresses at the end of the
  44. database.  But until that happens, use PMMASort.
  45.  
  46.  
  47.  
  48. *********************************************
  49. Revision History
  50. *********************************************
  51. v1.0ß2
  52.     FIX: Solved a problem caused by incorrect compiler settings.
  53.     ADD: Better memory management.
  54.  
  55. v1.0ß3
  56.     CHG: New syntax for command line.
  57.          Output file no long needed on command line.
  58.         Usage:  PMMASORT x:\path\ADDR.DB name/alias
  59.     ADD: Original ADDR.DB file backed up to ADDR.DB.bak
  60.          and sorted file saved as ADDR.DB.
  61.     ADD: Progress monitors.
  62.     ADD: Error testing.
  63. v1.0ß4
  64.     FIX: Bug when address book entry contained extended information beyond
  65.          the name/e:mail address/alias info, (especially notes that had
  66.          CR/LF in them), and which had addresses following it in the 
  67.          database.  Unfortunately, this bug was corrupting the address 
  68.          book.
  69.     CHG: Now using different methodology to back up the input file which 
  70.              is faster than previous method as well as preserves date and time
  71.          on the backed up file.
  72. v1.0 (GA)
  73.     ADD: Program Icon.  Thanks to Gerard Pinkas for being so creative.
  74.     CHG: Minor cosmetic changes on error messages.
  75. v1.01 (GA)
  76.     FIX: Now works properly on FAT partitions (with the inclusion of the
  77.          "fat" option on the command line.) 
  78.  
  79.  
  80.                             Standard  Disclaimer 
  81.  
  82.      This  program  is  provided  AS IS without any warranty, expressed or
  83. implied,  including  but  not limited to fitness for a particular use. The
  84. user  is responsible for the results of correct or incorrect usage of this
  85. software.  Your use  of this product signifies  you agreement to the terms 
  86. and conditions of this licence agreement.
  87.  
  88.