home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / rxnew11a.zip / newsrc.rxn < prev    next >
Text File  |  1993-04-26  |  3KB  |  73 lines

  1. NEWSRC        RexxNews and NEWSRC files
  2. ---------------------------------------
  3.  
  4. As of version 1.1, RexxNews uses multiple NEWSRC files if you connect to a
  5. newserver other than the one specified in your REXXNEWS.CFG file.
  6.  
  7. RexxNews uses a simplified NEWSRC format.  It is simply a list of groupnames
  8. followed by the highest article read.  A typical NEWSRC file might look like:
  9.  
  10. comp.os.os2.apps: 1-12345
  11. comp.os.os2.networking: 1-2345
  12. news.groups! 1-24567
  13.  
  14. If you're familiar with Unix newsrc files, you'll note two differences. 
  15.  
  16. RexxNews only really cares about the highest article that has been
  17. read.  The other number is there simply to make the newsrc file look like a
  18. Unix newsrc file.
  19.  
  20. Unlike Unix Newsreaders, RexxNews keeps pointers for all of the newsgroups
  21. in your NEWSRC file, even those that are marked unsubscribed.
  22.  
  23. RexxNews and Unix NEWSRC Files
  24. ------------------------------
  25.  
  26. If you regularly read news on a Unix host, you can copy your Unix NEWSRC file
  27. for RexxNews to use, provided that you will be reading news from the same
  28. NNTP server.  I personally copy my .NEWSRC file that I use with NN to the PC
  29. and use it with RexxNews.
  30.  
  31. RexxNews will preserve the subscribed/unsubscribed status of newsgroups from
  32. a Unix NEWSRC file.  When it encounters a list of read articles, such as:
  33.  
  34. comp.os.os2.misc: 1-4000,4124-4160,4163,4165-4183
  35.  
  36. RexxNews simply assumes that the last number is the highest article read.
  37. When it writes a newsrc file out, it writes the name of the group,
  38. subscription status (if known) and 1-highest article read.
  39.  
  40. I haven't yet tried taking a RexxNews NEWSRC file back to a Unix host.
  41.  
  42. RexxNews and Multiple NEWSRC files
  43. ----------------------------------
  44.  
  45. When RexxNews is started, it reads in default values from a file named
  46. REXXNEWS.CFG in the TCPIP %etc% directory (if it exists).  One of the
  47. defaults you should place in this file is the name of your default news
  48. server.
  49.  
  50. When you start RexxNews without specifying a server name, it will use the
  51. default server and use a NEWSRC file named 'NEWSRC' in the %etc% directory
  52. (unless your REXXNEWS.CFG file specifies a different newsrc file name).
  53.  
  54. At the OS/2 command line, you can specify the name of a different news server
  55. when you start RexxNews.  If you do, RexxNews will use a NEWSRC file whose
  56. name is the first 8 charachters of the server's name (with any periods 
  57. changed to dashes) and the extension NRC.  This file will be created in
  58. the TCPIP %etc% directory unless your REXXNEWS.CFG file specifies a
  59. different etcdir.
  60.  
  61. An example:
  62.  
  63.    The author's REXXNEWS.CFG includes the lines:
  64.  
  65. ;default server
  66. server uafhp.uark.edu
  67.  
  68.    And his %ETC% variable is "D:\TCPIP\ETC"
  69.  
  70.    If he issues the command "rexxnews sol.ctr.columbia.edu", RexxNews will
  71. use a NEWSRC file named 'D:\TCPIP\ETC\SOL-CTR-.NRC'.
  72.  
  73.