home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / NSC2IPF.ZIP / NSC2IPF.DOC < prev   
Text File  |  1991-07-09  |  3KB  |  64 lines

  1. This REXX program will convert messages captured
  2. from IBM's NSC BBS into a format ready for compilation
  3. by the IPFC compiler.  Since this is my first crack at REXX,
  4. this program is in no way complete and most likely not
  5. the most efficient way to achieve these results.
  6. However, most important to me, it works.
  7.  
  8. ASSUMPTIONS:
  9.  
  10. You have the IPFC compiler installed on your machine.
  11. The following line in your config.sys (inserted by the toolkit during install)
  12. ensures the compiler is found.
  13.  
  14. SET IPFC=C:\TOOLKT13\IPFC;  
  15.  
  16. You have unzipped the captured message base.  I thought of automating this,
  17. however this introduces more variables than I wish to tackle at this time.
  18.  
  19. USAGE:
  20.  
  21. NSCTOIPF msgfile     -  If you don't enter the message file on the command line
  22. you will be prompted.
  23.  
  24. This program will create a file in the format 19910707.IPF
  25. which is ready to be compiled.
  26. If you choose to have the file compiled, the output in this case would be
  27. 19910707.INF
  28. You will then be given the chance to VIEW the compiled file.
  29. After you are finished VIEWing the file, you will be asked if you want to delete
  30. the IPF file.  For myself I have automated the whole procedure without prompts,
  31. including the deletion of the original text file.  I did not want to make any
  32. assumptions because we all know where that leads!
  33.  
  34. LIMITATIONS:
  35.  
  36. Currently this program will convert the IPFC special characters & and :
  37. to their valid IPFC counterparts &. and &colon.  This covers most of
  38. the situations I have encountered.  I am pursuing screening other strings
  39. of illegal IPFC characters as I encounter them.  Since the impact of these
  40. other characters is minimal and the procedure is so slow to begin with
  41. (even on a 486-33), I am not going to worry about these anomolies unless
  42. they cause a problem.
  43.  
  44. I have not done any error checking to see if IPF and INF files with the same
  45. name exist. If you download the message bases more than once daily,
  46. this will cause problems.
  47.  
  48. Currently the linking between messages is primitive at best.  There are
  49. some obvious bugs when you try to jump to a previous message when you
  50. are at the top of the file (Linking not found).  I will fix these as time permits.
  51. Also, the last message of each conference doesn't have any link to the
  52. next conference.  Currently I haven't tried to link threads together.  Once
  53. again as time permits.
  54.  
  55. Please let me know if you find this helpful.  Also, If anyone has ideas to
  56. improve on this,  I would love to hear about them.
  57.  
  58. I frequent the IBM NSC BBS and OS/2 Shareware BBS
  59.  
  60. Dave Pinard
  61. 145 Candlewood Drive
  62. Enfield, CT 06082
  63. (203) 749-5671
  64.