home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
RXNEWS1A.ZIP
/
newsrc.rxn
< prev
next >
Wrap
Text File
|
1993-04-19
|
2KB
|
42 lines
RexxNews and NEWSRC files
Currently, RexxNews can only handle 1 newsrc file. The default name is
NEWSRC stored in the %ETC% directory.
RexxNews uses a simplified NEWSRC format. It is simply a list of groupnames
followed by the highest article read. A typical NEWSRC file might look like:
comp.os.os2.apps 1-12345
comp.os.os2.networking 1-2345
news.groups 1-24567
If you're familiar with Unix newsrc files, you'll note two differences.
First, there is no symbol indicating the subscribed/unsubscribed status.
Actually, RexxNews will keep subscription statuses, but there is no provision
for setting them in version 1.0. This will probably change in a later
release.
Second, RexxNews only really cares about the highest article that has been
read. The other number is there simply to make the newsrc file look like a
Unix newsrc file.
RexxNews and Unix NEWSRC Files
------------------------------
If you regularly read news on a Unix host, you can copy your Unix NEWSRC file
for RexxNews to use, provided that you will be reading news from the same
NNTP server. I personally copy my .NEWSRC file that I use with NN to the PC
and use it with RexxNews.
RexxNews will preserve the subscribed/unsubscribed status of newsgroups from
a Unix NEWSRC file. When it encounters a list of read articles, such as:
comp.os.os2.misc: 1-4000,4124-4160,4163,4165-4183
RexxNews simply assumes that the last number is the highest article read.
When it writes a newsrc file out, it writes the name of the group,
subscription status (if known) and 1-highest article read.
I haven't yet tried taking a RexxNews NEWSRC file back to the mainframe.