Changi NNTP Server 1.0

[ Bottom of Page | Previous Page | Next Page | Table of Contents ]

host.watermark

The file host.watermark is only used with Chanx' options -mw and -mx to store the newsgroups to retrieve and the highest article number already received in each group. The real pathname of this file is built from the CHANGIWORKDIR environment variable and the hostname specified as a Chanx command line option.

The file must be created manually (any text editor will do) before connecting the specified host for the first time. Each line must start with the name of a newsgroup directly followed by a colon. After retrieving your news Chanx will store the highest article number received for each group after the colon.

newsgroup: [himsg]
newsgroup
Specifies the name of the newsgroup.

himsg
This is the highest article number that has been received. This field is added by Chanx after the first successfully completed connection and updated on any subsequent connection, if articles had been retrieved from the corresponding newsgroup. It may be manually modified, if, for example, you want to retrieve some articles a second time.

Assume, that we want to get articles from news.ping.de. Then we have to create a file named news.watermark in a subdirectory of CHANGIWORKDIR named ping.de which contains something like:
comp.os.os2.mail-news:
comp.os.os2.networking.tcp-ip:
After successfully running
Chanx -mx news.ping.de
our file might look like this.
comp.os.os2.mail-news: 1684
comp.os.os2.networking.tcp-ip: 35451


[ Top of Page | Previous Page | Next Page | Table of Contents ]


URL: changi/manual/hostwmrk.html
Created: 3 August 1996
Revised: 21 November 1996
Author: harald@os2point.ping.de