home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume36 / unpost / part07 / read_me.doc < prev    next >
Encoding:
Text File  |  1993-04-18  |  3.0 KB  |  76 lines

  1. To compile:
  2.  
  3. At this point, you have the archive unpacked, or you will never see this
  4. message.
  5.  
  6. So, since this message is in the unpost directory, all you have to do
  7. is make a copy of one of the makefiles in the makefils directory,
  8. renaming it to makefile and moving it to this directory, and type make.
  9.  
  10. Be aware that you may need to convert the source files (CR<->CR/LF) to
  11. make them acceptable to your compiler.
  12.  
  13. Example:
  14.     cp makefils/makefile.dos makefile
  15.     make
  16.  
  17. There are five makefiles:
  18.  
  19. makefile.aix - Contains the makefile that someone ELSE told me worked
  20.                on his RS6000 running AIX.
  21.  
  22. makefile.dos - Contains the makefile that I used to compile UNPOST
  23.                on an MS-DOS machine.  I used Borland's C++ compiler,
  24.                version 3.1.
  25.  
  26. makefile.hp  - This is a makefile that should compile UNPOST on
  27.                the HP Apollo 700 machines, and maybe some of the
  28.                other HP Apollo machines.
  29.  
  30. makefile.gcc - Makefile for compiling UNPOST using the gcc (GNU C
  31.                compiler) compiler. This has the correct switch settings
  32.                for the gcc compiler that I used (Vers. 2.1).  This
  33.                makefile was what I used to compile UNPOST on a Sun.
  34.  
  35.                If your system has sys_errlist already defined,
  36.                Add -DNO_SYS_ERR_LIST to the compiler flags in the
  37.                makefile.
  38.  
  39. makefile.os2 - Makefile for compiling UNPOST using the EMX/gcc (GNU C
  40.                compiler) compiler on OS/2. This has the define for
  41.                removing the sys_errlist declarations.
  42.  
  43. Be aware that UNPOST requires an ANSI C compatible compiler, as it uses
  44. the ANSI C function headers for full type checking and maximum portability.
  45. (If it ain't ANSI C, it ain't portable in the long run).
  46.  
  47. If you have any problems, edit the compiler.h file and uncomment the
  48. variable UNPOST_DEBUG.  Then run unpost on your input file, capture
  49. the output sent to standard out and email it to me.  Save the input
  50. file, as I will probably email back asking you to send me one or
  51. more article headers out of it.
  52.  
  53. If you have compilation problems, send me as much information as
  54. possible and I will do my best to help you.
  55.  
  56. Simplest way to use UNPOST:
  57.  
  58. Capture all articles in a file called source.uue (How is system and
  59. news access method dependent, see unpost.doc for an rn example), then
  60. run unpost by doing:
  61.  
  62. unpost -e errors -t text -i incomp source.uue
  63.  
  64. That's it.  All complete and correct binary postings that were in
  65. file source.uue will be in the directory that you ran the above
  66. command in.  The file 'errors' will have a summary of warnings,
  67. errors, the binary postings, parts and byte offsets into the source
  68. file.  The 'text' file will contain text only articles, and the
  69. 'incomp' file will contain any incomplete or incorrect postings.
  70.  
  71. Please read the unpost.doc and changes.doc files.  They are the result
  72. of a lot of work on my part, and I will feel slighted if you don't at
  73. least take a few seconds to scan them. . . :-)
  74.  
  75. jstevens@csn.org
  76.