Re: Yarn (DOS) -> Linux

From: Bob Paddock (bpaddock@csonline.net)
Date: Sun, 26 Mar 2000 14:45:13 -0500

>I admit it, I still use DOS on a regular basis, as a matter of
>fact, it's what I usually use!

You mean there are people that don't? :-(

>Why you ask - Yarn. I know that
>there has been talk of a Linux port of YARN, but I've never seen
>anything. Was I sleeping and it was released or has Chin
>released YARN as open-source?

If it was released then we have all been sleeping.

Since we might all be using superluminal molecular based
fiber optic computers before we see that YARN Source code,
I've been pondering an other idea.

There is a new computer language out called Rebol, check out
http://www.rebol.com/ and http://www.rebol.org/ .

It already runs on 37 or so different platforms.

I bring this up because all of the components that it takes
to make up YARN are already available for download.

What is needed is some type of master main() to link them
altogether in to a coherent YARN compatible form.

The code for doing mail, news, and web, are inherit parts
of the language already. FTP is there (but buggy at the
moment), as well as Finger, Time, and other Internet
Protocols are there

What I envision is some thing that remains faithfully
compatible with YARN but is up to today standards, as well
as open sourced, with the ability to grow and adapt.

Code for handling muli-part MIME, ROT13, are already done.
As is the package for doing Regular Expression Matching for
filtering. They are all on http://www.rebol.org/ .

Souper/Vsoup would no longer be needed because it is already
built in (Sorry Harry).

SourceForge now supports Rebol according to their home page
so a open source Rebol based YARN clone could be hosted at
http://www.sourceforge.com/ .

I was going to post this message after Rebol/View was
officially released some time in the next month or two, but
your message gave me the incentive to write this now.

Rebol/View is a web friendly version based on 'events'.
Some thing you have to see to appreciate the power of, but
alas only available to beta testers.

However Rebol/Core that is freely available now, would get us
started today.

Because of other commitments I'm not up to tackling such a
project alone. Is there any interest out there to do this?

I know others out there have far more knowloage of the
structure of the YARN data bases and folder than I do.

To give you a tasted of the language here is a simple script
that checks your POP3 mail server and generates a web page
for your browser.

Most of the code is for doing the HTML formating, or set up,
the single line "mail: import-email first inbox" is all that
it takes to read a POP3 mail message in Rebol.

------------------------------------------------------------
REBOL [
Title: "Email Viewer (as web page)"
File: %mailview.r
Date: 10-Sep-1999
Purpose: {
This example displays all of your pending email
as an HTML web page. (But does not remove it.)
}
Note: {
Does not remove the mail from the server.
See the popspec.r file for examples of how
to setup your mailbox connection.
}
]

html: make string! 10000 ; where new page is stored
emit: func [data] [append html reduce data]

inbox: open load %popspec.r ;file contains POP email box info

emit [
<html><body>
<center><H3>"Mailbox Summary for " now/date " " now/time </H3>
length? inbox " message(s)" </center><p>
<table border="1" width="100%">
]

forall inbox [
mail: import-email first inbox
emit [
<tr></tr>
<tr><td>"From:"</td><td><b> first mail/from </b></td></tr>
<tr><td>"Subject:"</td><td><b> mail/subject </b></td></tr>
<tr><td>"Length:"</td><td> length? mail/content </td></tr>
<tr><td></td><td><pre> mail/content </pre></td></tr>
]
]

emit [<table><p></body></html>]
close inbox
write %/C/inbox.htm html

------------------------------------------------------------

Now imagine some check-mark boxes off to the left where you can
check the messages you want to really download and the spam
that you want to can. This is what Rebol/View can bring to
the world of YARN.

Any one want to because a YARN-Rebol?

-- 
For information on any of the following check out my WEB site at:
                   http://www.csonline.net/bpaddock/
Chemical Free Air Conditioning/No CFC's, Chronic Pain Relief, Echofone,
Matric Limited, Neurophone, Oil City PA, Philadelphia Experiment.
                         http://www.uCOS-II.com