nntp question
[1/19] from: kolla:nvg:ntnu:no at: 29-Aug-2001 18:21
What would be the correct way to pick a certain article from a
usenet server using rebol?
I currently use the following script...
#!/bin/sh
nc news.blarb.com 119 <<EOF | less
mode reader
article $1
quit
EOF
which I would use like... getart "<message-id>"
I dont find any reference on how to use the nntp support in rebol though,
the section 12.3 in the user guide seems pretty irrelevant I think. When
I pick messages, I do so based on message IDs, not their list placement on
the server.
-- kolla
[2/19] from: tim:johnsons-web at: 29-Aug-2001 9:30
Hi Kolla:
You might want to take a look at
http://www.reboltech.com/library/html/nntp.html
There's a LOT of nntp in there.
Tim
On Wed, Aug 29, 2001 at 06:21:37PM +0200, Kolbjørn Barmen wrote:
> What would be the correct way to pick a certain article from a
> usenet server using rebol?
<<quoted lines omitted: 15>>
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.johnsons-web.com
[3/19] from: kolla:nvg:ntnu:no at: 29-Aug-2001 21:10
On Wed, 29 Aug 2001, Tim Johnson wrote:
> Hi Kolla:
> You might want to take a look at
> http://www.reboltech.com/library/html/nntp.html
> There's a LOT of nntp in there.
Yes, too much :)
I just want to grab a message, how hard can it be?
I would really prefer if one could set default nntp server the same
way one have to set default pop/smtp server, and use, like browser,
read news:messageid
Btw.. any news on imap? :)
-- kolla
[4/19] from: allenk:powerup:au at: 30-Aug-2001 7:26
----- Original Message -----
From: "Kolbjørn Barmen" <[kolla--nvg--ntnu--no]>
To: <[rebol-list--rebol--com]>
Sent: Thursday, August 30, 2001 5:10 AM
Subject: [REBOL] Re: nntp question
> On Wed, 29 Aug 2001, Tim Johnson wrote:
> > Hi Kolla:
<<quoted lines omitted: 3>>
> Yes, too much :)
> I just want to grab a message, how hard can it be?
The NNTP How to is here http://www.rebol.com/howto.html#news.html , but I'm
not sure it ansewers your question.
IMAP
In the release notes for 2.5
http://www.rebol.com/docs/core25.html it says that imap:// protocol was
added.
Cheers,
Allen K
[5/19] from: kolla:nvg:ntnu:no at: 30-Aug-2001 22:05
On Thu, 30 Aug 2001, Allen Kamp wrote:
> ----- Original Message -----
> From: "Kolbjørn Barmen" <[kolla--nvg--ntnu--no]>
<<quoted lines omitted: 13>>
> The NNTP How to is here http://www.rebol.com/howto.html#news.html , but I'm
> not sure it ansewers your question.
Not at all.
> IMAP
> In the release notes for 2.5
> http://www.rebol.com/docs/core25.html it says that imap:// protocol was
> added.
url format and identical to pop://
Frankly, this is quite useless in regards to what IMAP was created for.
Sad.
-- kolla
[6/19] from: holger:rebol at: 30-Aug-2001 14:55
On Thu, Aug 30, 2001 at 10:05:20PM +0200, Kolbjørn Barmen wrote:
> On Thu, 30 Aug 2001, Allen Kamp wrote:
> > IMAP
> > In the release notes for 2.5
> > http://www.rebol.com/docs/core25.html it says that imap:// protocol was
> > added.
>
> "url format and identical to pop://"
Compatible, to pop://, but imap:// goes beyond that. REBOL's implementation
is mostly compatible with the imap:// URL scheme specified in RFC 2192.
It supports mailboxes, searches etc.
--
Holger Kruse
[holger--rebol--com]
[7/19] from: tim:johnsons-web at: 30-Aug-2001 16:07
On Thu, Aug 30, 2001 at 10:05:20PM +0200, Kolbjørn Barmen wrote:
> On Thu, 30 Aug 2001, Allen Kamp wrote:
> >
<<quoted lines omitted: 26>>
> Frankly, this is quite useless in regards to what IMAP was created for.
> Sad.
Rebol's tcp features are wonderful. You should be able to "roll your own"
protocol for your own needs. But you have to be willing to
learn. If you demonstrate that, folks on this list will give you
all the support they can.
--
"Yew wanna jaw about how NOT to dew it or dew yew
wanna figger out how TO do it. Yer choice."
Rebolous Curmudgeous
[8/19] from: petr:krenzelok:trz:cz at: 31-Aug-2001 7:18
Tim Johnson wrote:
> On Thu, Aug 30, 2001 at 10:05:20PM +0200, Kolbjørn Barmen wrote:
> > On Thu, 30 Aug 2001, Allen Kamp wrote:
<<quoted lines omitted: 36>>
> learn. If you demonstrate that, folks on this list will give you
> all the support they can.
:-) Tim, that's OK, - just typical troll of amigan :-) ' -kolla :-)
-pekr-
[9/19] from: kolla:nvg:ntnu:no at: 31-Aug-2001 14:13
On Thu, 30 Aug 2001, Holger Kruse wrote:
> On Thu, Aug 30, 2001 at 10:05:20PM +0200, Kolbjørn Barmen wrote:
> > On Thu, 30 Aug 2001, Allen Kamp wrote:
<<quoted lines omitted: 7>>
> is mostly compatible with the imap:// URL scheme specified in RFC 2192.
> It supports mailboxes, searches etc.
Where can I find documentation?
-- kolla
[10/19] from: kolla:nvg:ntnu:no at: 31-Aug-2001 14:17
On Fri, 31 Aug 2001, Petr Krenzelok wrote:
> > > Frankly, this is quite useless in regards to what IMAP was created for.
> > > Sad.
<<quoted lines omitted: 3>>
> > all the support they can.
> :-) Tim, that's OK, - just typical troll of amigan :-) ' -kolla :-)
OK, so I'm an amigaen, and linux user for what.. 8 years?
And I bet I must be the only amiga user ever to rant about imap,
as none of the amiga mail clients ever supported it. :)
What I seriously miss in rebol is good web based documentation.
*COMPLETE* documentation, such that you will find on
http://www.python.org/ and http://www.php.net/.
-- kolla
[11/19] from: kolla:nvg:ntnu:no at: 31-Aug-2001 14:11
On Thu, 30 Aug 2001, Tim Johnson wrote:
> Rebol's tcp features are wonderful. You should be able to "roll your own"
> protocol for your own needs. But you have to be willing to
> learn. If you demonstrate that, folks on this list will give you
> all the support they can.
My major problem with rebol is finding the documentation, so there is a
online manual, so I look up nntp:// here...
http://www.rebol.com/docs/core23/rebolcore-13.html#sect12.
Does it provide me with any help on how to download a single message from
it's ID? Not at all, it just gives me a few examples, I have no idea wether
there is usage beyond those examples or not. So I can use the raw tcp://
instead to talk nntp, great, but then what's the nntp:// for? Half the time
I try to search articles the way described in the examples rebol ends up
hanging (both linux and amiga version) I find rebol full of these nonsense
annoyances, hence I find it difficult to work with.
In other words, I'd love to like it, but I cant.
-- kolla
[12/19] from: pwoodward::cncdsl::com at: 31-Aug-2001 8:29
----- Original Message -----
From: "Kolbjørn Barmen" <[kolla--nvg--ntnu--no]>
> My major problem with rebol is finding the documentation, so there is a
> online manual, so I look up nntp:// here...
>
> http://www.rebol.com/docs/core23/rebolcore-13.html#sect12.
>
Umm - try looking around in the Script library -
http://www.reboltech.com/library/scripts/3KBnewsreader.r
It's been there since June of last year, and has no problems downloading a
message via NNTP. It's actually remarkably simple, even with very few
comments the script and what it does is remarkably understandable.
I agree that the amount (or lack thereof) of documentation on how to do
simple, useful things can be a little frustrating - as a View user, I'm
still a little miffed about the overall lack of online documentation - much
of what View does and how it does it can be derived via probe and other
introspection - but sometimes something more would be nice.
- Porter Woodward
- Porter
[13/19] from: holger:rebol at: 31-Aug-2001 6:50
On Fri, Aug 31, 2001 at 02:13:52PM +0200, Kolbjørn Barmen wrote:
> On Thu, 30 Aug 2001, Holger Kruse wrote:
>
> > Compatible, to pop://, but imap:// goes beyond that. REBOL's implementation
> > is mostly compatible with the imap:// URL scheme specified in RFC 2192.
> > It supports mailboxes, searches etc.
>
> Where can I find documentation?
In RFC 2192, available e.g. from www.ietf.org.
--
Holger Kruse
[holger--rebol--com]
[14/19] from: jeff:rebol at: 31-Aug-2001 8:06
Howdy, Kolla:
Using news:// (nntp.r) you should be able to get articles by
message id with:
np: open news://newsserver
msgs: insert np [bodies of ["<msg-id1>" "<msg-id2>" ...]]
MSGS is then set to a block of each article body. You may
also fetch the headers separately, or the headers-bodies
together.
-jeff
[15/19] from: kolla:nvg:ntnu:no at: 3-Sep-2001 12:20
On Fri, 31 Aug 2001, Holger Kruse wrote:
> On Fri, Aug 31, 2001 at 02:13:52PM +0200, Kolbjørn Barmen wrote:
> > On Thu, 30 Aug 2001, Holger Kruse wrote:
<<quoted lines omitted: 5>>
> > Where can I find documentation?
> In RFC 2192, available e.g. from www.ietf.org.
So, in there I can find described what URL-ish syntax REBOL uses to access
folders on remote server? Most interesting, but I doubt it is true :)
-- kolla
[16/19] from: kolla:nvg:ntnu:no at: 3-Sep-2001 12:23
On Fri, 31 Aug 2001, Jeff Kreis wrote:
> Howdy, Kolla:
> Using news:// (nntp.r) you should be able to get articles by
<<quoted lines omitted: 5>>
> together.
> -jeff
THANKS :)
-- kolla
[17/19] from: kolla:nvg:ntnu:no at: 3-Sep-2001 12:21
On Fri, 31 Aug 2001, Porter Woodward wrote:
> ----- Original Message -----
> From: "Kolbjørn Barmen" <[kolla--nvg--ntnu--no]>
<<quoted lines omitted: 5>>
> Umm - try looking around in the Script library -
> http://www.reboltech.com/library/scripts/3KBnewsreader.r
I want a reference manual, not a script library. :)
I dont want to wade through other peoples application sources to find out
how to do a simple task, I just want to look it up.. aha.. do it.
> It's been there since June of last year, and has no problems downloading a
> message via NNTP. It's actually remarkably simple, even with very few
> comments the script and what it does is remarkably understandable.
I'll have a peek.
> I agree that the amount (or lack thereof) of documentation on how to do
> simple, useful things can be a little frustrating - as a View user, I'm
> still a little miffed about the overall lack of online documentation - much
> of what View does and how it does it can be derived via probe and other
> introspection - but sometimes something more would be nice.
Indeed.
-- kolla
[18/19] from: holger:rebol at: 3-Sep-2001 6:55
On Mon, Sep 03, 2001 at 12:20:15PM +0200, Kolbjørn Barmen wrote:
> On Fri, 31 Aug 2001, Holger Kruse wrote:
> > On Fri, Aug 31, 2001 at 02:13:52PM +0200, Kolbjørn Barmen wrote:
<<quoted lines omitted: 9>>
> So, in there I can find described what URL-ish syntax REBOL uses to access
> folders on remote server?
In there you will find the IETF standard for IMAP:// URLs.
> Most interesting, but I doubt it is true :)
I don't know where that attitude comes from, but, yes, it IS true. That RFC
specifies the standard for IMAP:// URLs, which REBOL follows. Why don't you
have a look at it first and see if it meets your needs.
--
Holger Kruse
[holger--rebol--com]
[19/19] from: kolla:nvg:ntnu:no at: 3-Sep-2001 17:39
On Mon, 3 Sep 2001, Holger Kruse wrote:
> On Mon, Sep 03, 2001 at 12:20:15PM +0200, Kolbjørn Barmen wrote:
> > On Fri, 31 Aug 2001, Holger Kruse wrote:
<<quoted lines omitted: 13>>
> > folders on remote server?
> In there you will find the IETF standard for IMAP:// URLs.
Indeed, I wasnt aware there was a defined URL scheme for imap, I assumed
it was a rebol-thing.
Sorry! .
-- kolla
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted