Thread View: news.software.nntp
6 messages
6 total messages
Started by Alan P Barrett
Thu, 01 Oct 1992 08:07
Re: motd or similar for readers
Author: Alan P Barrett
Date: Thu, 01 Oct 1992 08:07
Date: Thu, 01 Oct 1992 08:07
36 lines
2361 bytes
2361 bytes
[Added crosspost to news.software.nntp] In article <19lefqINNrtv@hpscdf.scd.hp.com>, schmitz@scd.hp.com (John Schmitz) writes: > Has anybody considered adding a message of the day capability or > similar to an NNTP server? Many times I'd like to make sure > EVERYBODY reads a message about an important announcement, not just > the diligent readers of the local announcement group. Of course, > all the readers would have to be modified to add the capability, but > blasting out some text verbatim and pausing should be easy enough. The protocol already allows this. 200 foo.bar.edu NNTP server ready, posting is permitted 200-I see that the "in-addr.arpa" records for your site are wrong. 200-Please ask your network administrator to fix them within 7 days, 200-or you will be denied access to this server. 200- 200-As from 1 April 1995, this server will no longer carry the baz.* 200-hierarchy. If you don't like this policy, moan at 200-bigboss@admin.bar.edu. All you need to do is modify the server to make it send the message, and modify the client to make it display the message to the user. Since you need to modify the server and client anyway, I see no need to modify the protocol. If you need additional features, such as keeping track of which important announcements have been seen and which have not, then I suggest using a local newsgroup for this purpose. The client software could force the user to read the relevant group. Again, no protocol changes needed. --apb Alan Barrett, Dept. of Electronic Eng., Univ. of Natal, Durban, South Africa RFC822: barrett@ee.und.ac.za Bang: m2xenix!undeed!barrett
Re: motd or similar for readers
Author: Rich Salz
Date: Thu, 01 Oct 1992 15:21
Date: Thu, 01 Oct 1992 15:21
11 lines
1096 bytes
1096 bytes
In <1aebjiINN1q2@daisy.ee.und.ac.za> barrett@daisy.ee.und.ac.za (Alan P Barrett) writes: >The protocol already allows this. >200 foo.bar.edu NNTP server ready, posting is permitted ... >200-bigboss@admin.bar.edu. Slightly wrong -- a dash on all but the last line: 200-foo.bar.edu INN 2.0 200 Is it breezy and sunny outside, with a chance 200 of rain. Here now, the news. I do not think that most software can handle it, however. INN (gasp) can't.
Re: motd or similar for readers
Author: Alan P Barrett
Date: Fri, 02 Oct 1992 06:44
Date: Fri, 02 Oct 1992 06:44
18 lines
1305 bytes
1305 bytes
rsalz@rodan.UU.NET (Rich Salz) writes:
> Slightly wrong -- a dash on all but the last line:
Yes, of course. Sorry.
> 200-foo.bar.edu INN 2.0
> 200 Is it breezy and sunny outside, with a chance
^ insert dash here
> 200 of rain. Here now, the news.
> I do not think that most software can handle it, however. INN (gasp) can't.
Nor can most software handle any not-yet-implemented or
only-just-implemented extensions to the protocol. My point is that this
feature can be added without changing the protocol.
--apb (Alan Barrett)
Re: motd or similar for readers
Author: Matthias Urlichs
Date: Sun, 04 Oct 1992 20:33
Date: Sun, 04 Oct 1992 20:33
25 lines
1615 bytes
1615 bytes
In news.future, article <1af529INNmn4@rodan.UU.NET>,
rsalz@rodan.UU.NET (Rich Salz) writes:
> In <1aebjiINN1q2@daisy.ee.und.ac.za> barrett@daisy.ee.und.ac.za (Alan P Barrett) writes:
> >The protocol already allows this.
> >200 foo.bar.edu NNTP server ready, posting is permitted
> ...
> >200-bigboss@admin.bar.edu.
> Slightly wrong -- a dash on all but the last line:
> 200-foo.bar.edu INN 2.0
> 200 Is it breezy and sunny outside, with a chance
> 200 of rain. Here now, the news.
What was that about dashes on every line but the last? :-)
> I do not think that most software can handle it, however. INN (gasp) can't.
So fix it...
--
Iron Law of Distribution:
Them that has, gets.
--
Matthias Urlichs -- urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de /(o\
Humboldtstrasse 7 -- 7500 Karlsruhe 1 -- Germany -- +49-721-9612521 \o)/
Re: motd or similar for readers
Author: Ray.Moody
Date: Thu, 08 Oct 1992 17:45
Date: Thu, 08 Oct 1992 17:45
29 lines
1925 bytes
1925 bytes
In article <1aebjiINN1q2@daisy.ee.und.ac.za>, Alan P Barrett writes: >The protocol already allows this. > >200 foo.bar.edu NNTP server ready, posting is permitted >200-I see that the "in-addr.arpa" records for your site are wrong. >200-Please ask your network administrator to fix them within 7 days, >200-or you will be denied access to this server. >200- >200-As from 1 April 1995, this server will no longer carry the baz.* >200-hierarchy. If you don't like this policy, moan at >200-bigboss@admin.bar.edu. As Rich Salz points out, the traditional use of dashes is on all but the last line. But that isn't what is important here. RFC 977 doesn't say anything about multiple line replies at all. The protocol does *not* allow this. This is actually a good choice by the developers. NNTP is different from other internet services in that certain parameters must be parsed out of a reply line. For example: 211 104 10011 10125 net.unix-wizards group selected 223 1013 <5734@mcvax.UUCP> Article retrieved; text separate. Allowing lines to be continued would unnecessarily confuse the parsing issue. Ray
Re: motd or similar for readers
Author: Brian Kantor
Date: Fri, 09 Oct 1992 01:56
Date: Fri, 09 Oct 1992 01:56
24 lines
1802 bytes
1802 bytes
In article <1992Oct8.124536.28064@walter.cray.com> Ray.Moody@Cray.Com writes: >RFC 977 doesn't say anything about multiple line replies at all. The >protocol does *not* allow this. This is actually a good choice by the >developers. Well, actually, it wasn't that we chose not to allow it, it's that we didn't think of it. But I agree with you, it shouldn't be done. I think we explicitly disallowed it in the NNTP version 2 spec, if that ever sees the light of day. However, we do allow 1xx messages. The original spec isn't clear on those, but what's supposed to happen is that a 1xx message should be displayed to the user and then the client state machine should loop around again. The problem with using these for MOTD sorts of things is that because we didn't cover it in the original spec, it would undoubtedly break some less-than-robustly-coded software. There is a lot of that out there. I advise you not to use it. I don't remember whether we made a provision for a MOTD thingy in NNTPv2 or not. Ask Eliot. - Brian
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads