3 nntpfs \- network news transport protocol (NNTP) file system
22 dials the TCP network news transport protocol (NNTP)
31 a file system corresponding to the
32 news articles stored on
37 option is given, the file system is posted as
38 .BI /srv/ service \fR.
43 authenticates to the system with a user name and password
49 proto=pass service=nntp server=\fIserver\fR user? !password?
51 The file system contains a directory per newsgroup,
52 with dots turned into slashes, e.g.,
56 Each newsgroup directory contains one
57 numbered directory per article.
58 The directories follow the numbering used by
60 Each article directory contains three files:
67 file contains the full text of the article,
72 contain only the header or body.
74 Each newsgroup directory contains a
77 file that may be used to post news articles.
78 RFC1036-compliant articles should be written to it.
81 file will only exist in a given newsgroup directory
82 if articles are allowed to be posted to it.
87 tied to its directory's newsgroup.
88 The groups to which articles are eventually posted
91 header lines in the posted article,
92 not by the location of the
94 file in the file system.
96 The qid version of a newsgroup directory
97 is the largest numbered article directory it
98 contains (~0, if there are no articles).
100 The modification time on a newsgroup
101 directory is the last time a new article was recorded
105 To force a check for new articles,
107 the newsgroup directory.
109 To force a check for new newsgroups,
112 Note that this causes the entire list of groups,
113 which can be about a megabyte,
116 To terminate the connection,
121 makes no effort to send ``keepalives'' so that
122 servers do not hang up on it.
123 Instead, it redials as necessary when hangups are detected.
125 Authenticate to a private news server:
128 % echo key proto=pass service=nntp server=nose.mit.edu \e
129 user=rsc !password=secret >/mnt/factotum/ctl
130 % nntpfs -a nose.mit.edu
133 .B /sys/src/cmd/nntpfs.c
135 Directories are presented for deleted articles;
136 the files in them cannot be opened.