Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199508.adf » !Internet » StarterPak/!Newsbase/Docs/ClientNote

StarterPak/!Newsbase/Docs/ClientNote

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199508.adf » !Internet
Filename: StarterPak/!Newsbase/Docs/ClientNote
Read OK:
File size: 0F66 bytes
Load address: 0000
Exec address: 0000
File contents
NewsBase clients
----------------

This file contains some notes about how a NewsBase client might interact
with NewsBase.

Startup.
--------

On startup, the client should broadcast NewsBase_Command 0 (Startup). If
newsbase is running, it will reply with NewsBase_Reply 0, from which the
client can obtain the newsbase task handle for future communication. If no
reply is received, the client might want to either complain to the user, or
attempt to start newsbase itself.

If newsbase terminates due to an error condition or user request, it
broadcasts NewsBase_Reply 10 (shutdown), so that any clients can take
appropriate action.

NewsBase also broadcasts NewsBase_Reply 0 (startup) when first started, so
that already-running clients may be aware of this.

When a client has started, and established communication with NewsBase, it
may wish to obtain site-specific data using NewsBase_Command 30. As a
minimum, it should probably obtain the hostname. This data is optional, and
provided to avoid the user to have to configure the same information in the
client as well as other programs (NewsBase and the transport itself).

Groups
------

A list all of active groups may be obtained by sending NewsBase_Command 100
(ListGroups). NewsBase responds with a stream of NewsBase_Reply 100
messages, containing groupnames matching the given pattern ("*" to match
all), one message per group. The list is terminated with a message
containing a null groupname.

Each groupname message also contains the numbers of the lowest and highest
article numbers in the group. This may be taken as guidance of how many
articles are present, and whether there is unread news in the group for a
user.

NewsBase reply messages differ from many wimp messages in that idle
wimp_polls may occur between a command being sent and the reply being
receieved; or during a stream of replies. the client thus has to make some
effort to track the current command, and which command the replies apply to
(though this should be simple, as commands are not allowed to "overlap").

Articles
--------

A list of article data for agroup may be obtained using NewsBase_Command 200
(ListArts). A sequence of Newsbase_Reply messages, containing article
number, from and subject data, are returned, one per article.

An individual article may be retrieved using NewsBase_Command 220
(GetArticle). A message NewsBase_Reply 220 is returned, containing the name
of the file. If the file is not found or available, a NewsBase_Reply 221 is
returned.

It should be noted that an article number may be returned by ListArts but
not found by GetArticle... the ListArts data comes from the group index
file, which does not guarantee availablilty of the actual file (though this
should be rare, it could occur if an article is requested during an expiry
operation).

Posting or Emailing.

A file containing a fully-formatted article or mail message, including
RFC-compliant headers, should be generated. The filename should ten be
passed in a NewsBase_Command 300 or 310 message. A newsBase_Reply 300 or 310
message will be returned to indicate success, or 301/311 (including an error
message) for failure.

NewsBase_Update messages
------------------------

These messages are broadcast during a debatch or expiry, to indicate that
new articles or groups have been created or deleted. A client may either
want to use these messages explicitly to update article lists and displays
in realtime (Readnews-style), or may simply wish to note that a group has
changed, and perform a rescan (ListGroups or ListArts) later.

In other words, the client can treat this message as it wishes, or even
ignore it.

Default Client
--------------

Client programs may define a variable as follows in their !Boot file:

set NewsBase$ClientXXXX <Obey$Dir>

(for example, NewsBase$ClientTTFN)

Newsbase uses these variables to present clients to the user in the Newsbase
General Setup "Default Client" menu.
00000000  4e 65 77 73 42 61 73 65  20 63 6c 69 65 6e 74 73  |NewsBase clients|
00000010  0a 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.---------------|
00000020  2d 0a 0a 54 68 69 73 20  66 69 6c 65 20 63 6f 6e  |-..This file con|
00000030  74 61 69 6e 73 20 73 6f  6d 65 20 6e 6f 74 65 73  |tains some notes|
00000040  20 61 62 6f 75 74 20 68  6f 77 20 61 20 4e 65 77  | about how a New|
00000050  73 42 61 73 65 20 63 6c  69 65 6e 74 20 6d 69 67  |sBase client mig|
00000060  68 74 20 69 6e 74 65 72  61 63 74 0a 77 69 74 68  |ht interact.with|
00000070  20 4e 65 77 73 42 61 73  65 2e 0a 0a 53 74 61 72  | NewsBase...Star|
00000080  74 75 70 2e 0a 2d 2d 2d  2d 2d 2d 2d 2d 0a 0a 4f  |tup..--------..O|
00000090  6e 20 73 74 61 72 74 75  70 2c 20 74 68 65 20 63  |n startup, the c|
000000a0  6c 69 65 6e 74 20 73 68  6f 75 6c 64 20 62 72 6f  |lient should bro|
000000b0  61 64 63 61 73 74 20 4e  65 77 73 42 61 73 65 5f  |adcast NewsBase_|
000000c0  43 6f 6d 6d 61 6e 64 20  30 20 28 53 74 61 72 74  |Command 0 (Start|
000000d0  75 70 29 2e 20 49 66 0a  6e 65 77 73 62 61 73 65  |up). If.newsbase|
000000e0  20 69 73 20 72 75 6e 6e  69 6e 67 2c 20 69 74 20  | is running, it |
000000f0  77 69 6c 6c 20 72 65 70  6c 79 20 77 69 74 68 20  |will reply with |
00000100  4e 65 77 73 42 61 73 65  5f 52 65 70 6c 79 20 30  |NewsBase_Reply 0|
00000110  2c 20 66 72 6f 6d 20 77  68 69 63 68 20 74 68 65  |, from which the|
00000120  0a 63 6c 69 65 6e 74 20  63 61 6e 20 6f 62 74 61  |.client can obta|
00000130  69 6e 20 74 68 65 20 6e  65 77 73 62 61 73 65 20  |in the newsbase |
00000140  74 61 73 6b 20 68 61 6e  64 6c 65 20 66 6f 72 20  |task handle for |
00000150  66 75 74 75 72 65 20 63  6f 6d 6d 75 6e 69 63 61  |future communica|
00000160  74 69 6f 6e 2e 20 49 66  20 6e 6f 0a 72 65 70 6c  |tion. If no.repl|
00000170  79 20 69 73 20 72 65 63  65 69 76 65 64 2c 20 74  |y is received, t|
00000180  68 65 20 63 6c 69 65 6e  74 20 6d 69 67 68 74 20  |he client might |
00000190  77 61 6e 74 20 74 6f 20  65 69 74 68 65 72 20 63  |want to either c|
000001a0  6f 6d 70 6c 61 69 6e 20  74 6f 20 74 68 65 20 75  |omplain to the u|
000001b0  73 65 72 2c 20 6f 72 0a  61 74 74 65 6d 70 74 20  |ser, or.attempt |
000001c0  74 6f 20 73 74 61 72 74  20 6e 65 77 73 62 61 73  |to start newsbas|
000001d0  65 20 69 74 73 65 6c 66  2e 0a 0a 49 66 20 6e 65  |e itself...If ne|
000001e0  77 73 62 61 73 65 20 74  65 72 6d 69 6e 61 74 65  |wsbase terminate|
000001f0  73 20 64 75 65 20 74 6f  20 61 6e 20 65 72 72 6f  |s due to an erro|
00000200  72 20 63 6f 6e 64 69 74  69 6f 6e 20 6f 72 20 75  |r condition or u|
00000210  73 65 72 20 72 65 71 75  65 73 74 2c 20 69 74 0a  |ser request, it.|
00000220  62 72 6f 61 64 63 61 73  74 73 20 4e 65 77 73 42  |broadcasts NewsB|
00000230  61 73 65 5f 52 65 70 6c  79 20 31 30 20 28 73 68  |ase_Reply 10 (sh|
00000240  75 74 64 6f 77 6e 29 2c  20 73 6f 20 74 68 61 74  |utdown), so that|
00000250  20 61 6e 79 20 63 6c 69  65 6e 74 73 20 63 61 6e  | any clients can|
00000260  20 74 61 6b 65 0a 61 70  70 72 6f 70 72 69 61 74  | take.appropriat|
00000270  65 20 61 63 74 69 6f 6e  2e 0a 0a 4e 65 77 73 42  |e action...NewsB|
00000280  61 73 65 20 61 6c 73 6f  20 62 72 6f 61 64 63 61  |ase also broadca|
00000290  73 74 73 20 4e 65 77 73  42 61 73 65 5f 52 65 70  |sts NewsBase_Rep|
000002a0  6c 79 20 30 20 28 73 74  61 72 74 75 70 29 20 77  |ly 0 (startup) w|
000002b0  68 65 6e 20 66 69 72 73  74 20 73 74 61 72 74 65  |hen first starte|
000002c0  64 2c 20 73 6f 0a 74 68  61 74 20 61 6c 72 65 61  |d, so.that alrea|
000002d0  64 79 2d 72 75 6e 6e 69  6e 67 20 63 6c 69 65 6e  |dy-running clien|
000002e0  74 73 20 6d 61 79 20 62  65 20 61 77 61 72 65 20  |ts may be aware |
000002f0  6f 66 20 74 68 69 73 2e  0a 0a 57 68 65 6e 20 61  |of this...When a|
00000300  20 63 6c 69 65 6e 74 20  68 61 73 20 73 74 61 72  | client has star|
00000310  74 65 64 2c 20 61 6e 64  20 65 73 74 61 62 6c 69  |ted, and establi|
00000320  73 68 65 64 20 63 6f 6d  6d 75 6e 69 63 61 74 69  |shed communicati|
00000330  6f 6e 20 77 69 74 68 20  4e 65 77 73 42 61 73 65  |on with NewsBase|
00000340  2c 20 69 74 0a 6d 61 79  20 77 69 73 68 20 74 6f  |, it.may wish to|
00000350  20 6f 62 74 61 69 6e 20  73 69 74 65 2d 73 70 65  | obtain site-spe|
00000360  63 69 66 69 63 20 64 61  74 61 20 75 73 69 6e 67  |cific data using|
00000370  20 4e 65 77 73 42 61 73  65 5f 43 6f 6d 6d 61 6e  | NewsBase_Comman|
00000380  64 20 33 30 2e 20 41 73  20 61 0a 6d 69 6e 69 6d  |d 30. As a.minim|
00000390  75 6d 2c 20 69 74 20 73  68 6f 75 6c 64 20 70 72  |um, it should pr|
000003a0  6f 62 61 62 6c 79 20 6f  62 74 61 69 6e 20 74 68  |obably obtain th|
000003b0  65 20 68 6f 73 74 6e 61  6d 65 2e 20 54 68 69 73  |e hostname. This|
000003c0  20 64 61 74 61 20 69 73  20 6f 70 74 69 6f 6e 61  | data is optiona|
000003d0  6c 2c 20 61 6e 64 0a 70  72 6f 76 69 64 65 64 20  |l, and.provided |
000003e0  74 6f 20 61 76 6f 69 64  20 74 68 65 20 75 73 65  |to avoid the use|
000003f0  72 20 74 6f 20 68 61 76  65 20 74 6f 20 63 6f 6e  |r to have to con|
00000400  66 69 67 75 72 65 20 74  68 65 20 73 61 6d 65 20  |figure the same |
00000410  69 6e 66 6f 72 6d 61 74  69 6f 6e 20 69 6e 20 74  |information in t|
00000420  68 65 0a 63 6c 69 65 6e  74 20 61 73 20 77 65 6c  |he.client as wel|
00000430  6c 20 61 73 20 6f 74 68  65 72 20 70 72 6f 67 72  |l as other progr|
00000440  61 6d 73 20 28 4e 65 77  73 42 61 73 65 20 61 6e  |ams (NewsBase an|
00000450  64 20 74 68 65 20 74 72  61 6e 73 70 6f 72 74 20  |d the transport |
00000460  69 74 73 65 6c 66 29 2e  0a 0a 47 72 6f 75 70 73  |itself)...Groups|
00000470  0a 2d 2d 2d 2d 2d 2d 0a  0a 41 20 6c 69 73 74 20  |.------..A list |
00000480  61 6c 6c 20 6f 66 20 61  63 74 69 76 65 20 67 72  |all of active gr|
00000490  6f 75 70 73 20 6d 61 79  20 62 65 20 6f 62 74 61  |oups may be obta|
000004a0  69 6e 65 64 20 62 79 20  73 65 6e 64 69 6e 67 20  |ined by sending |
000004b0  4e 65 77 73 42 61 73 65  5f 43 6f 6d 6d 61 6e 64  |NewsBase_Command|
000004c0  20 31 30 30 0a 28 4c 69  73 74 47 72 6f 75 70 73  | 100.(ListGroups|
000004d0  29 2e 20 4e 65 77 73 42  61 73 65 20 72 65 73 70  |). NewsBase resp|
000004e0  6f 6e 64 73 20 77 69 74  68 20 61 20 73 74 72 65  |onds with a stre|
000004f0  61 6d 20 6f 66 20 4e 65  77 73 42 61 73 65 5f 52  |am of NewsBase_R|
00000500  65 70 6c 79 20 31 30 30  0a 6d 65 73 73 61 67 65  |eply 100.message|
00000510  73 2c 20 63 6f 6e 74 61  69 6e 69 6e 67 20 67 72  |s, containing gr|
00000520  6f 75 70 6e 61 6d 65 73  20 6d 61 74 63 68 69 6e  |oupnames matchin|
00000530  67 20 74 68 65 20 67 69  76 65 6e 20 70 61 74 74  |g the given patt|
00000540  65 72 6e 20 28 22 2a 22  20 74 6f 20 6d 61 74 63  |ern ("*" to matc|
00000550  68 0a 61 6c 6c 29 2c 20  6f 6e 65 20 6d 65 73 73  |h.all), one mess|
00000560  61 67 65 20 70 65 72 20  67 72 6f 75 70 2e 20 54  |age per group. T|
00000570  68 65 20 6c 69 73 74 20  69 73 20 74 65 72 6d 69  |he list is termi|
00000580  6e 61 74 65 64 20 77 69  74 68 20 61 20 6d 65 73  |nated with a mes|
00000590  73 61 67 65 0a 63 6f 6e  74 61 69 6e 69 6e 67 20  |sage.containing |
000005a0  61 20 6e 75 6c 6c 20 67  72 6f 75 70 6e 61 6d 65  |a null groupname|
000005b0  2e 0a 0a 45 61 63 68 20  67 72 6f 75 70 6e 61 6d  |...Each groupnam|
000005c0  65 20 6d 65 73 73 61 67  65 20 61 6c 73 6f 20 63  |e message also c|
000005d0  6f 6e 74 61 69 6e 73 20  74 68 65 20 6e 75 6d 62  |ontains the numb|
000005e0  65 72 73 20 6f 66 20 74  68 65 20 6c 6f 77 65 73  |ers of the lowes|
000005f0  74 20 61 6e 64 20 68 69  67 68 65 73 74 0a 61 72  |t and highest.ar|
00000600  74 69 63 6c 65 20 6e 75  6d 62 65 72 73 20 69 6e  |ticle numbers in|
00000610  20 74 68 65 20 67 72 6f  75 70 2e 20 54 68 69 73  | the group. This|
00000620  20 6d 61 79 20 62 65 20  74 61 6b 65 6e 20 61 73  | may be taken as|
00000630  20 67 75 69 64 61 6e 63  65 20 6f 66 20 68 6f 77  | guidance of how|
00000640  20 6d 61 6e 79 0a 61 72  74 69 63 6c 65 73 20 61  | many.articles a|
00000650  72 65 20 70 72 65 73 65  6e 74 2c 20 61 6e 64 20  |re present, and |
00000660  77 68 65 74 68 65 72 20  74 68 65 72 65 20 69 73  |whether there is|
00000670  20 75 6e 72 65 61 64 20  6e 65 77 73 20 69 6e 20  | unread news in |
00000680  74 68 65 20 67 72 6f 75  70 20 66 6f 72 20 61 0a  |the group for a.|
00000690  75 73 65 72 2e 0a 0a 4e  65 77 73 42 61 73 65 20  |user...NewsBase |
000006a0  72 65 70 6c 79 20 6d 65  73 73 61 67 65 73 20 64  |reply messages d|
000006b0  69 66 66 65 72 20 66 72  6f 6d 20 6d 61 6e 79 20  |iffer from many |
000006c0  77 69 6d 70 20 6d 65 73  73 61 67 65 73 20 69 6e  |wimp messages in|
000006d0  20 74 68 61 74 20 69 64  6c 65 0a 77 69 6d 70 5f  | that idle.wimp_|
000006e0  70 6f 6c 6c 73 20 6d 61  79 20 6f 63 63 75 72 20  |polls may occur |
000006f0  62 65 74 77 65 65 6e 20  61 20 63 6f 6d 6d 61 6e  |between a comman|
00000700  64 20 62 65 69 6e 67 20  73 65 6e 74 20 61 6e 64  |d being sent and|
00000710  20 74 68 65 20 72 65 70  6c 79 20 62 65 69 6e 67  | the reply being|
00000720  0a 72 65 63 65 69 65 76  65 64 3b 20 6f 72 20 64  |.receieved; or d|
00000730  75 72 69 6e 67 20 61 20  73 74 72 65 61 6d 20 6f  |uring a stream o|
00000740  66 20 72 65 70 6c 69 65  73 2e 20 74 68 65 20 63  |f replies. the c|
00000750  6c 69 65 6e 74 20 74 68  75 73 20 68 61 73 20 74  |lient thus has t|
00000760  6f 20 6d 61 6b 65 20 73  6f 6d 65 0a 65 66 66 6f  |o make some.effo|
00000770  72 74 20 74 6f 20 74 72  61 63 6b 20 74 68 65 20  |rt to track the |
00000780  63 75 72 72 65 6e 74 20  63 6f 6d 6d 61 6e 64 2c  |current command,|
00000790  20 61 6e 64 20 77 68 69  63 68 20 63 6f 6d 6d 61  | and which comma|
000007a0  6e 64 20 74 68 65 20 72  65 70 6c 69 65 73 20 61  |nd the replies a|
000007b0  70 70 6c 79 20 74 6f 0a  28 74 68 6f 75 67 68 20  |pply to.(though |
000007c0  74 68 69 73 20 73 68 6f  75 6c 64 20 62 65 20 73  |this should be s|
000007d0  69 6d 70 6c 65 2c 20 61  73 20 63 6f 6d 6d 61 6e  |imple, as comman|
000007e0  64 73 20 61 72 65 20 6e  6f 74 20 61 6c 6c 6f 77  |ds are not allow|
000007f0  65 64 20 74 6f 20 22 6f  76 65 72 6c 61 70 22 29  |ed to "overlap")|
00000800  2e 0a 0a 41 72 74 69 63  6c 65 73 0a 2d 2d 2d 2d  |...Articles.----|
00000810  2d 2d 2d 2d 0a 0a 41 20  6c 69 73 74 20 6f 66 20  |----..A list of |
00000820  61 72 74 69 63 6c 65 20  64 61 74 61 20 66 6f 72  |article data for|
00000830  20 61 67 72 6f 75 70 20  6d 61 79 20 62 65 20 6f  | agroup may be o|
00000840  62 74 61 69 6e 65 64 20  75 73 69 6e 67 20 4e 65  |btained using Ne|
00000850  77 73 42 61 73 65 5f 43  6f 6d 6d 61 6e 64 20 32  |wsBase_Command 2|
00000860  30 30 0a 28 4c 69 73 74  41 72 74 73 29 2e 20 41  |00.(ListArts). A|
00000870  20 73 65 71 75 65 6e 63  65 20 6f 66 20 4e 65 77  | sequence of New|
00000880  73 62 61 73 65 5f 52 65  70 6c 79 20 6d 65 73 73  |sbase_Reply mess|
00000890  61 67 65 73 2c 20 63 6f  6e 74 61 69 6e 69 6e 67  |ages, containing|
000008a0  20 61 72 74 69 63 6c 65  0a 6e 75 6d 62 65 72 2c  | article.number,|
000008b0  20 66 72 6f 6d 20 61 6e  64 20 73 75 62 6a 65 63  | from and subjec|
000008c0  74 20 64 61 74 61 2c 20  61 72 65 20 72 65 74 75  |t data, are retu|
000008d0  72 6e 65 64 2c 20 6f 6e  65 20 70 65 72 20 61 72  |rned, one per ar|
000008e0  74 69 63 6c 65 2e 0a 0a  41 6e 20 69 6e 64 69 76  |ticle...An indiv|
000008f0  69 64 75 61 6c 20 61 72  74 69 63 6c 65 20 6d 61  |idual article ma|
00000900  79 20 62 65 20 72 65 74  72 69 65 76 65 64 20 75  |y be retrieved u|
00000910  73 69 6e 67 20 4e 65 77  73 42 61 73 65 5f 43 6f  |sing NewsBase_Co|
00000920  6d 6d 61 6e 64 20 32 32  30 0a 28 47 65 74 41 72  |mmand 220.(GetAr|
00000930  74 69 63 6c 65 29 2e 20  41 20 6d 65 73 73 61 67  |ticle). A messag|
00000940  65 20 4e 65 77 73 42 61  73 65 5f 52 65 70 6c 79  |e NewsBase_Reply|
00000950  20 32 32 30 20 69 73 20  72 65 74 75 72 6e 65 64  | 220 is returned|
00000960  2c 20 63 6f 6e 74 61 69  6e 69 6e 67 20 74 68 65  |, containing the|
00000970  20 6e 61 6d 65 0a 6f 66  20 74 68 65 20 66 69 6c  | name.of the fil|
00000980  65 2e 20 49 66 20 74 68  65 20 66 69 6c 65 20 69  |e. If the file i|
00000990  73 20 6e 6f 74 20 66 6f  75 6e 64 20 6f 72 20 61  |s not found or a|
000009a0  76 61 69 6c 61 62 6c 65  2c 20 61 20 4e 65 77 73  |vailable, a News|
000009b0  42 61 73 65 5f 52 65 70  6c 79 20 32 32 31 20 69  |Base_Reply 221 i|
000009c0  73 0a 72 65 74 75 72 6e  65 64 2e 0a 0a 49 74 20  |s.returned...It |
000009d0  73 68 6f 75 6c 64 20 62  65 20 6e 6f 74 65 64 20  |should be noted |
000009e0  74 68 61 74 20 61 6e 20  61 72 74 69 63 6c 65 20  |that an article |
000009f0  6e 75 6d 62 65 72 20 6d  61 79 20 62 65 20 72 65  |number may be re|
00000a00  74 75 72 6e 65 64 20 62  79 20 4c 69 73 74 41 72  |turned by ListAr|
00000a10  74 73 20 62 75 74 0a 6e  6f 74 20 66 6f 75 6e 64  |ts but.not found|
00000a20  20 62 79 20 47 65 74 41  72 74 69 63 6c 65 2e 2e  | by GetArticle..|
00000a30  2e 20 74 68 65 20 4c 69  73 74 41 72 74 73 20 64  |. the ListArts d|
00000a40  61 74 61 20 63 6f 6d 65  73 20 66 72 6f 6d 20 74  |ata comes from t|
00000a50  68 65 20 67 72 6f 75 70  20 69 6e 64 65 78 0a 66  |he group index.f|
00000a60  69 6c 65 2c 20 77 68 69  63 68 20 64 6f 65 73 20  |ile, which does |
00000a70  6e 6f 74 20 67 75 61 72  61 6e 74 65 65 20 61 76  |not guarantee av|
00000a80  61 69 6c 61 62 6c 69 6c  74 79 20 6f 66 20 74 68  |ailablilty of th|
00000a90  65 20 61 63 74 75 61 6c  20 66 69 6c 65 20 28 74  |e actual file (t|
00000aa0  68 6f 75 67 68 20 74 68  69 73 0a 73 68 6f 75 6c  |hough this.shoul|
00000ab0  64 20 62 65 20 72 61 72  65 2c 20 69 74 20 63 6f  |d be rare, it co|
00000ac0  75 6c 64 20 6f 63 63 75  72 20 69 66 20 61 6e 20  |uld occur if an |
00000ad0  61 72 74 69 63 6c 65 20  69 73 20 72 65 71 75 65  |article is reque|
00000ae0  73 74 65 64 20 64 75 72  69 6e 67 20 61 6e 20 65  |sted during an e|
00000af0  78 70 69 72 79 0a 6f 70  65 72 61 74 69 6f 6e 29  |xpiry.operation)|
00000b00  2e 0a 0a 50 6f 73 74 69  6e 67 20 6f 72 20 45 6d  |...Posting or Em|
00000b10  61 69 6c 69 6e 67 2e 0a  0a 41 20 66 69 6c 65 20  |ailing...A file |
00000b20  63 6f 6e 74 61 69 6e 69  6e 67 20 61 20 66 75 6c  |containing a ful|
00000b30  6c 79 2d 66 6f 72 6d 61  74 74 65 64 20 61 72 74  |ly-formatted art|
00000b40  69 63 6c 65 20 6f 72 20  6d 61 69 6c 20 6d 65 73  |icle or mail mes|
00000b50  73 61 67 65 2c 20 69 6e  63 6c 75 64 69 6e 67 0a  |sage, including.|
00000b60  52 46 43 2d 63 6f 6d 70  6c 69 61 6e 74 20 68 65  |RFC-compliant he|
00000b70  61 64 65 72 73 2c 20 73  68 6f 75 6c 64 20 62 65  |aders, should be|
00000b80  20 67 65 6e 65 72 61 74  65 64 2e 20 54 68 65 20  | generated. The |
00000b90  66 69 6c 65 6e 61 6d 65  20 73 68 6f 75 6c 64 20  |filename should |
00000ba0  74 65 6e 20 62 65 0a 70  61 73 73 65 64 20 69 6e  |ten be.passed in|
00000bb0  20 61 20 4e 65 77 73 42  61 73 65 5f 43 6f 6d 6d  | a NewsBase_Comm|
00000bc0  61 6e 64 20 33 30 30 20  6f 72 20 33 31 30 20 6d  |and 300 or 310 m|
00000bd0  65 73 73 61 67 65 2e 20  41 20 6e 65 77 73 42 61  |essage. A newsBa|
00000be0  73 65 5f 52 65 70 6c 79  20 33 30 30 20 6f 72 20  |se_Reply 300 or |
00000bf0  33 31 30 0a 6d 65 73 73  61 67 65 20 77 69 6c 6c  |310.message will|
00000c00  20 62 65 20 72 65 74 75  72 6e 65 64 20 74 6f 20  | be returned to |
00000c10  69 6e 64 69 63 61 74 65  20 73 75 63 63 65 73 73  |indicate success|
00000c20  2c 20 6f 72 20 33 30 31  2f 33 31 31 20 28 69 6e  |, or 301/311 (in|
00000c30  63 6c 75 64 69 6e 67 20  61 6e 20 65 72 72 6f 72  |cluding an error|
00000c40  0a 6d 65 73 73 61 67 65  29 20 66 6f 72 20 66 61  |.message) for fa|
00000c50  69 6c 75 72 65 2e 0a 0a  4e 65 77 73 42 61 73 65  |ilure...NewsBase|
00000c60  5f 55 70 64 61 74 65 20  6d 65 73 73 61 67 65 73  |_Update messages|
00000c70  0a 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.---------------|
00000c80  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 0a 54 68 65 73 65  |---------..These|
00000c90  20 6d 65 73 73 61 67 65  73 20 61 72 65 20 62 72  | messages are br|
00000ca0  6f 61 64 63 61 73 74 20  64 75 72 69 6e 67 20 61  |oadcast during a|
00000cb0  20 64 65 62 61 74 63 68  20 6f 72 20 65 78 70 69  | debatch or expi|
00000cc0  72 79 2c 20 74 6f 20 69  6e 64 69 63 61 74 65 20  |ry, to indicate |
00000cd0  74 68 61 74 0a 6e 65 77  20 61 72 74 69 63 6c 65  |that.new article|
00000ce0  73 20 6f 72 20 67 72 6f  75 70 73 20 68 61 76 65  |s or groups have|
00000cf0  20 62 65 65 6e 20 63 72  65 61 74 65 64 20 6f 72  | been created or|
00000d00  20 64 65 6c 65 74 65 64  2e 20 41 20 63 6c 69 65  | deleted. A clie|
00000d10  6e 74 20 6d 61 79 20 65  69 74 68 65 72 0a 77 61  |nt may either.wa|
00000d20  6e 74 20 74 6f 20 75 73  65 20 74 68 65 73 65 20  |nt to use these |
00000d30  6d 65 73 73 61 67 65 73  20 65 78 70 6c 69 63 69  |messages explici|
00000d40  74 6c 79 20 74 6f 20 75  70 64 61 74 65 20 61 72  |tly to update ar|
00000d50  74 69 63 6c 65 20 6c 69  73 74 73 20 61 6e 64 20  |ticle lists and |
00000d60  64 69 73 70 6c 61 79 73  0a 69 6e 20 72 65 61 6c  |displays.in real|
00000d70  74 69 6d 65 20 28 52 65  61 64 6e 65 77 73 2d 73  |time (Readnews-s|
00000d80  74 79 6c 65 29 2c 20 6f  72 20 6d 61 79 20 73 69  |tyle), or may si|
00000d90  6d 70 6c 79 20 77 69 73  68 20 74 6f 20 6e 6f 74  |mply wish to not|
00000da0  65 20 74 68 61 74 20 61  20 67 72 6f 75 70 20 68  |e that a group h|
00000db0  61 73 0a 63 68 61 6e 67  65 64 2c 20 61 6e 64 20  |as.changed, and |
00000dc0  70 65 72 66 6f 72 6d 20  61 20 72 65 73 63 61 6e  |perform a rescan|
00000dd0  20 28 4c 69 73 74 47 72  6f 75 70 73 20 6f 72 20  | (ListGroups or |
00000de0  4c 69 73 74 41 72 74 73  29 20 6c 61 74 65 72 2e  |ListArts) later.|
00000df0  0a 0a 49 6e 20 6f 74 68  65 72 20 77 6f 72 64 73  |..In other words|
00000e00  2c 20 74 68 65 20 63 6c  69 65 6e 74 20 63 61 6e  |, the client can|
00000e10  20 74 72 65 61 74 20 74  68 69 73 20 6d 65 73 73  | treat this mess|
00000e20  61 67 65 20 61 73 20 69  74 20 77 69 73 68 65 73  |age as it wishes|
00000e30  2c 20 6f 72 20 65 76 65  6e 0a 69 67 6e 6f 72 65  |, or even.ignore|
00000e40  20 69 74 2e 0a 0a 44 65  66 61 75 6c 74 20 43 6c  | it...Default Cl|
00000e50  69 65 6e 74 0a 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |ient.-----------|
00000e60  2d 2d 2d 0a 0a 43 6c 69  65 6e 74 20 70 72 6f 67  |---..Client prog|
00000e70  72 61 6d 73 20 6d 61 79  20 64 65 66 69 6e 65 20  |rams may define |
00000e80  61 20 76 61 72 69 61 62  6c 65 20 61 73 20 66 6f  |a variable as fo|
00000e90  6c 6c 6f 77 73 20 69 6e  20 74 68 65 69 72 20 21  |llows in their !|
00000ea0  42 6f 6f 74 20 66 69 6c  65 3a 0a 0a 73 65 74 20  |Boot file:..set |
00000eb0  4e 65 77 73 42 61 73 65  24 43 6c 69 65 6e 74 58  |NewsBase$ClientX|
00000ec0  58 58 58 20 3c 4f 62 65  79 24 44 69 72 3e 0a 0a  |XXX <Obey$Dir>..|
00000ed0  28 66 6f 72 20 65 78 61  6d 70 6c 65 2c 20 4e 65  |(for example, Ne|
00000ee0  77 73 42 61 73 65 24 43  6c 69 65 6e 74 54 54 46  |wsBase$ClientTTF|
00000ef0  4e 29 0a 0a 4e 65 77 73  62 61 73 65 20 75 73 65  |N)..Newsbase use|
00000f00  73 20 74 68 65 73 65 20  76 61 72 69 61 62 6c 65  |s these variable|
00000f10  73 20 74 6f 20 70 72 65  73 65 6e 74 20 63 6c 69  |s to present cli|
00000f20  65 6e 74 73 20 74 6f 20  74 68 65 20 75 73 65 72  |ents to the user|
00000f30  20 69 6e 20 74 68 65 20  4e 65 77 73 62 61 73 65  | in the Newsbase|
00000f40  0a 47 65 6e 65 72 61 6c  20 53 65 74 75 70 20 22  |.General Setup "|
00000f50  44 65 66 61 75 6c 74 20  43 6c 69 65 6e 74 22 20  |Default Client" |
00000f60  6d 65 6e 75 2e 0a                                 |menu..|
00000f66