Changi NNTP Server 1.0

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

host.last

This file is used by Chanx to store the last successful invocation date and time. It is ignored, if Chanx has been call with option -mw or option -mx, in which case Chanx uses a watermark file.

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 is automatically created after you ran Chanx with the specified host for the first time.

This file must contain a single line with three or four fields.

grouplist date time [distribution]
grouplist
A comma separated grouplist which may contain limited regular expressions. Alternatively grouplist may specify the pathname of your newsrc file.

date
Starting date of the last successful connection in the format YYMMDD.

time
Starting time of the last successful connection in the format HHMMSS.

distribution
Optional distribution specifier.

Assuming that you
SET CHANGIWORKDIR=c:\Changi
and you called
CHANX nntp.germany.eu.net comp.os.os2* 951010 000000
and Chanx connects to this host for the very first time and completes the session successfully, then it will create a file named
c:\changi\germany.eu.net\nntp.last
which contains something like
comp.os.os2* 951010 173435

Note that you can't change the grouplist by calling Chanx with different parameters then. As long as host.last exists, any call of Chanx with grouplist and time parameters will be treated as an out-of-sync call , which will not update host.last, not even date and time. You must use a text editor to change the grouplist field if you decide to change your subscription.


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


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