home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / news / nn.tar / nn-6.5.1 / inews / README < prev    next >
Text File  |  1995-04-29  |  2KB  |  56 lines

  1.  
  2.      This is a "pseudo" inews which allows remote posting using
  3. the NNTP server.  Essentially it takes a bunch of arguments and ignores
  4. ones starting with "-", expecting to find at least one which is
  5. a file name.  If no files are specified, it uses standard input
  6. as the input file.
  7.  
  8.      It then opens a connection to the NNTP server on the remote
  9. machine and blasts the article across.  It then closes the connection.
  10. If it doesn't find a From: or Path: line, it inserts them, in the
  11. default format
  12.  
  13.     From: login@hostname.DOMAIN (Full_name)
  14.     Path: hostname!login
  15.  
  16. where DOMAIN is a #define in ./conf.h, and should be changed to reflect
  17. your system.  A good choice is "UUCP" if you are not a member of the
  18. Internet.  "Full_name" understands the & hack in password files. If
  19. "HIDDENNET" is defined in ./conf.h, DOMAIN is used as the complete host
  20. name, and the format used is
  21.  
  22.     From: login@DOMAIN (Full_name)
  23.     Path: login
  24.  
  25.      "hostname" is figured out by what you've #defined in ../config.h.
  26. If you have defined GHNAME, it uses the gethostname() call.
  27. If you've defined UUNAME, it figured it out from the file
  28. /etc/uucpname.  Finally, if neither is defined it gets it from
  29. /usr/include/whoami.h.  If you have GHNAME defined and your
  30. gethostname() returns your fully-qualified Internet name,
  31. undefine DOMAIN.
  32.  
  33.      The point here is that the thing looks like inews to any program
  34. which would care to post something (e.g., Pnews, postnews, what have
  35. you).  The difference is that the article will look like it was posted
  36. on the remote end, not on the local end.  Please note that "postnews"
  37. (nor any of the other standard news programs) is not required for
  38. rrn/nntp on client machines.
  39.  
  40.      The "test*" files in this directory provide some good test
  41. material for inews; you can just redirect inews to take input from
  42. them or whatever.
  43.  
  44.      Thanks to Steven Grady <grady@postgres.berkeley.edu> for
  45. writing this, and for wasting a lot of his valuable time dealing
  46. with the can-o'-worms that is the real inews.
  47.  
  48. BUGS:
  49.  
  50.      This version of inews doesn't handle real inews options.  As
  51. a result, some posting programs (notably the Gnumacs front end) will
  52. fail if they use this program.  In the interests of simplicity, I
  53. have no plans for modifying mini-inews to handle real-inews options.
  54. However, if you'd like to send me diffs I'll be more than happy to
  55. install them for the next release.
  56.