[REBOL] AW: [ANN] 2KB News Reader 0.1.1 Re:

2000-06-28 Thread whc-export


Hi Ryan, Allen,

like to try out this newsreader, but missing the nntp.r.

Can anybody provide me with this script?

Thanks,

Thorsten


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 28. Juni 2000 07:54
An: [EMAIL PROTECTED]
Betreff: [REBOL] [ANN] 2KB News Reader 0.1.1 Re:



- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 28, 2000 10:13 AM
Subject: [REBOL] [ANN] 2KB News Reader 0.1.1


 Oops. Fixed a slight UI bug. The script now asks for a newsgroup up
 front and sets parameters right away.

 -Ryan

Hi Ryan,

Pretty impressive. It's about time someone made some public use of NNTP.r.
I found one problem, it either reports the wrong number of messages
available or else it can't always find the next message. After 3 or so
messages, if I press "n" for next message, I just get the instructions again
for each time I press "n".

Cheers,

Allen K




[REBOL] Kicked of list / Empty lines

2000-06-28 Thread whc-export

To Rebol Team:

Hi,

I wanted to write "Remove empty lines" as subject for this and get kicked
off the list with a remark "Thanks for your visit". Think that should be
fixed!




Hi all others,

need to remove empty lines from a file so that there are no spaces between
the entries. Tried out parse and trim, but both killed the listform of the
file.

Any ideas what could help?


Thorsten M




[REBOL] Kicked of list / Empty lines Re:

2000-06-28 Thread Al . Bri

Try:
parse/all
Andrew Martin
No blank lines...
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--




[REBOL] Kicked of list / Empty lines Re:

2000-06-28 Thread Petr . Krenzelok



[EMAIL PROTECTED] wrote:

 To Rebol Team:

 Hi,

 I wanted to write "Remove empty lines" as subject for this and get kicked
 off the list with a remark "Thanks for your visit". Think that should be
 fixed!

 Hi all others,

 need to remove empty lines from a file so that there are no spaces between
 the entries. Tried out parse and trim, but both killed the listform of the
 file.

 Any ideas what could help?

trim/lines ???

-pekr-



 Thorsten M




[REBOL] REBOL/Core 2.3 Released! Re:

2000-06-28 Thread allenk

Hey Scott,

Can you update the code in the releases.html page so we can use the 'upgrade
function?
It just told me, my old core was the current version.

Cheers,

Allen K


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 28, 2000 6:43 PM
Subject: [REBOL] REBOL/Core 2.3 Released!


 Announcing the release of REBOL/Core 2.3!

 This new version of REBOL/Core includes many
 improvements only available in beta versions
 of our REBOL/View and REBOL/Command products,
 until now.

 With enhancements to existing functions,
 such as the ability to use parse on a block,
 as well as the addition of many other useful
 features, we know that you will find
 REBOL/Core 2.3 invaluable to your personal
 and professional computing needs.

 REBOL/Core is available for download at
 http://www.rebol.com/downloads.html and
 an addendum to the notes.html file, included
 in the distribution, is available at
 http://www.rebol.com/core23add.html.

 Thank You and Enjoy,

 The REBOL Team






[REBOL] Kicked of list / Empty lines Re:

2000-06-28 Thread Al . Bri

Thorsten M wrote:
 I wanted to write "Remove empty lines" as subject for this and get kicked
off the list with a remark "Thanks for your visit". Think that should be
fixed!

The source for %selma.r seems to be of the wrong version, too. The selma
script that's sent in response to "selma-source" command seems to be an
earlier version from 1999. That version doesn't seem capable of removing
subscribers with a "Remove" command. :-\

Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--




[REBOL] AW: [ANN] 2KB News Reader 0.1.1 Re:(2)

2000-06-28 Thread allenk

Hi Thorsten,

The nntp.r file is distributed with Rebol/core

Cheers,

Allen K

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 28, 2000 5:57 PM
Subject: [REBOL] AW: [ANN] 2KB News Reader 0.1.1 Re:


 
 Hi Ryan, Allen,
 
 like to try out this newsreader, but missing the nntp.r.
 
 Can anybody provide me with this script?
 
 Thanks,
 
 Thorsten
 





[REBOL] REBOL/Core 2.3 Released! Re:

2000-06-28 Thread Petr . Krenzelok



[EMAIL PROTECTED] wrote:

 Announcing the release of REBOL/Core 2.3!

Thanks very much to all RT team!

-pekr-

 Thank You and Enjoy,

 The REBOL Team




[REBOL] Why if/else ?

2000-06-28 Thread allenk

Hi Rebols,

Going through the list of additions to core. I was wondering why is there
now an 'else refinement to 'if  and what advantages this might have over
using 'Either. I am so used to using 'either now I can't see my self
changing, I prefer it.

Was it something, people couldn't live without?
I guess it could be handy to create on the fly code with, optionally adding
the refinement etc.

I'm interested to hear what others think?

Cheers,

Allen K




[REBOL] Empty lines

2000-06-28 Thread whc-export


Thanks for the suggestions, but parse/all as well as trim/lines leaves the
file untouched. Perhaps i should give some more info on what i am trying to
to. I get my hosts file from the unix server, get rid of all additional
information, so that only ip-adresses are left. They are standing one beyond
the other, but sometimes with an empty line between. I want to use this
modified hosts-file as an input file for my app, which should read line by
line and calls a function for each line being read.

Thorsten M

Hi all others,

need to remove empty lines from a file so that there are no spaces between
the entries. Tried out parse and trim, but both killed the listform of the
file.

Any ideas what could help?


Thorsten M




[REBOL] Thanks for the fix

2000-06-28 Thread morgenw


This now works!

 this: [[1 2] [3 4] [5 6] [7 8]]
== [[1 2] [3 4] [5 6] [7 8]]
 i1: 1
== 1
 i2: 2
== 2
 i3: 3
== 3
 this/:i3/:i1
== 5
 this/:i1/:i2
== 2

Thank you Rebol Team

-Larry





[REBOL] Empty lines Re:

2000-06-28 Thread Petr . Krenzelok

here's my general script for removal of undesired content from text files:

REBOL []

file: read/lines %some-file.txt
result: copy []

what-not: [
empty? trim/all copy line
found? find trim/all copy line "VAHANAVYR"
found? find line "==="
(to-char first line) = (to-char 12)
]

foreach line file [if not any bind what-not 'line [insert tail result line]]

write/lines %result.txt result

just modify what-not block, in your case:

what-not: [
empty? trim/all copy line
]

HTH,

-pekr-

[EMAIL PROTECTED] wrote:

 Thanks for the suggestions, but parse/all as well as trim/lines leaves the
 file untouched. Perhaps i should give some more info on what i am trying to
 to. I get my hosts file from the unix server, get rid of all additional
 information, so that only ip-adresses are left. They are standing one beyond
 the other, but sometimes with an empty line between. I want to use this
 modified hosts-file as an input file for my app, which should read line by
 line and calls a function for each line being read.

 Thorsten M

 Hi all others,

 need to remove empty lines from a file so that there are no spaces between
 the entries. Tried out parse and trim, but both killed the listform of the
 file.

 Any ideas what could help?

 Thorsten M




[REBOL] AW: Empty lines

2000-06-28 Thread Jean . Holzammer


 
 Thanks for the suggestions, but parse/all as well as trim/lines leaves the
 file untouched. Perhaps i should give some more info on what i am trying
to
 to. I get my hosts file from the unix server, get rid of all additional
 information, so that only ip-adresses are left. They are standing one
beyond
 the other, but sometimes with an empty line between. I want to use this
 modified hosts-file as an input file for my app, which should read line by
 line and calls a function for each line being read.
 
 Thorsten M
 

How many empty lines do you get at once ? If just one, you might try
something like that:

myfile: read %filename
search_for: rejoin [newline newline]
replace_with: newline
replace myfile search_for replace_with

for the case that there is more than one empty line at once: don't know
either.

ciao,
  Jean




[REBOL] Why if/else ? Re:

2000-06-28 Thread Petr . Krenzelok



[EMAIL PROTECTED] wrote:

 Hi Rebols,

 Going through the list of additions to core. I was wondering why is there
 now an 'else refinement to 'if  and what advantages this might have over
 using 'Either. I am so used to using 'either now I can't see my self
 changing, I prefer it.

 Was it something, people couldn't live without?
 I guess it could be handy to create on the fly code with, optionally adding
 the refinement etc.

 I'm interested to hear what others think?

I requested the feautre so looong time ago, but after the discussion I agreed
'either fits REBOL philosophy better. The reason was non-english users were
asking how to specify 'else, and 'either is not recognised so easily in the
script as 'if is - people are used to it ...

There is an option now at least ...

-pekr-



 Cheers,

 Allen K




[REBOL] REBOL/Core 2.3 Released! Re:

2000-06-28 Thread ralph


 Announcing the release of REBOL/Core 2.3!

 This new version of REBOL/Core includes many
 improvements only available in beta versions
 of our REBOL/View and REBOL/Command products,
 until now.


This is great, thanks, and congrats to all the REBOL team... but g...

I was going to use 'feedback' to report that FTP is still broken but it
seems that 'feedback' itself now does not work. I get:

 feedback
** Script Error: feedback has no value.
** Where: feedback

and the FTP error that has appeared in all REBOLs since 2.2 is still there:

 read ftp://ftp.abooks.com/
connecting to: ftp.abooks.com
** User Error: Server error: tcp 425 Can't build data connection: Connection
refused..
** Where: read ftp://ftp.abooks.com/

This latter is a bit critical for us here to get working again.

But... overall... 2.3 seems nicely improved.

--Ralph Roberts





[REBOL] REBOL/Core 2.3 Released! Re:(2)

2000-06-28 Thread Petr . Krenzelok



[EMAIL PROTECTED] wrote:

 
  Announcing the release of REBOL/Core 2.3!
 
  This new version of REBOL/Core includes many
  improvements only available in beta versions
  of our REBOL/View and REBOL/Command products,
  until now.
 

 This is great, thanks, and congrats to all the REBOL team... but g...

 I was going to use 'feedback' to report that FTP is still broken but it
 seems that 'feedback' itself now does not work. I get:

  feedback
 ** Script Error: feedback has no value.
 ** Where: feedback

but there isn't any function called feedback, is there? You have to "do
%feedback.r" imho 

 and the FTP error that has appeared in all REBOLs since 2.2 is still there:

  read ftp://ftp.abooks.com/
 connecting to: ftp.abooks.com
 ** User Error: Server error: tcp 425 Can't build data connection: Connection
 refused..
 ** Where: read ftp://ftp.abooks.com/

 This latter is a bit critical for us here to get working again.


That's one for Sterling and Holger :-)

 But... overall... 2.3 seems nicely improved.

Cheers,
-pekr-



 --Ralph Roberts




[REBOL] AW: Empty lines Re:

2000-06-28 Thread whc-export


Hi Petr,

thanks for your script, works fine here and solves the problem.


Thorsten M


-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 28. Juni 2000 14:05
An: [EMAIL PROTECTED]
Betreff: [REBOL] Empty lines Re:


here's my general script for removal of undesired content from text files:

REBOL []

file: read/lines %some-file.txt
result: copy []

what-not: [
empty? trim/all copy line
found? find trim/all copy line "VAHANAVYR"
found? find line "==="
(to-char first line) = (to-char 12)
]

foreach line file [if not any bind what-not 'line [insert tail result line]]

write/lines %result.txt result

just modify what-not block, in your case:

what-not: [
empty? trim/all copy line
]

HTH,

-pekr-

[EMAIL PROTECTED] wrote:

 Thanks for the suggestions, but parse/all as well as trim/lines leaves the
 file untouched. Perhaps i should give some more info on what i am trying
to
 to. I get my hosts file from the unix server, get rid of all additional
 information, so that only ip-adresses are left. They are standing one
beyond
 the other, but sometimes with an empty line between. I want to use this
 modified hosts-file as an input file for my app, which should read line by
 line and calls a function for each line being read.

 Thorsten M

 Hi all others,

 need to remove empty lines from a file so that there are no spaces between
 the entries. Tried out parse and trim, but both killed the listform of the
 file.

 Any ideas what could help?

 Thorsten M




[REBOL] REBOL/Core 2.3 Released! Re:(3)

2000-06-28 Thread allenk


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 28, 2000 10:57 PM
Subject: [REBOL] REBOL/Core 2.3 Released! Re:(2)




 [EMAIL PROTECTED] wrote:

  
   Announcing the release of REBOL/Core 2.3!
  
   This new version of REBOL/Core includes many
   improvements only available in beta versions
   of our REBOL/View and REBOL/Command products,
   until now.
  
 
  This is great, thanks, and congrats to all the REBOL team... but g...
 
  I was going to use 'feedback' to report that FTP is still broken but it
  seems that 'feedback' itself now does not work. I get:
 
   feedback
  ** Script Error: feedback has no value.
  ** Where: feedback

 but there isn't any function called feedback, is there? You have to "do
 %feedback.r" imho 

Bizarely I seem to recall the function was added to one of the view beta
versions. Anyway
here is one that will always work providing you have net access working, you
don't have to worry wether the script is on your system or not. Add this to
your user.r

feedback: does [do http://www.rebol.com/feedback.r]


Cheers,

Allen K



  and the FTP error that has appeared in all REBOLs since 2.2 is still
there:
 
   read ftp://ftp.abooks.com/
  connecting to: ftp.abooks.com
  ** User Error: Server error: tcp 425 Can't build data connection:
Connection
  refused..
  ** Where: read ftp://ftp.abooks.com/
 
  This latter is a bit critical for us here to get working again.
 

 That's one for Sterling and Holger :-)

  But... overall... 2.3 seems nicely improved.

 Cheers,
 -pekr-

 
 
  --Ralph Roberts






[REBOL] REBOL/Core 2.3 Released! Re:(3)

2000-06-28 Thread ralph


 but there isn't any function called feedback, is there? You have to "do
 %feedback.r" imho 

 Hi Pekr

Yep, in 2.2 (which I have to keep around to do FTPg), you can just type
'feedback' ... I suspect 'do %feedback.r' was left out of rebol.r for later
versions. A nitpicky little thing, but the FTP problem is a good deal more
major.

but, as they do say in Germany:

REBOL ist Perl ohne die Komplikation.

Which should be "REBOL is Perl without the complication," only when I
translate it back into English, I get "REBOL is bubbles without the
complication."

From this I infer that Perl doesn't translate very well from system to
system; which is why I use REBOL in the first place.

Hey! It's gonna be an interesting day here. I see that already.g

--Ralph






[REBOL] Email standard definition ?

2000-06-28 Thread Jean . Holzammer

Hi,

does anyone know, where I can find the definition of the standard(s) used
for email ? Is there a ISO or ASCII (or...) norm. I mean,html 4 has been
defined by w3.org. Who did the define the standards for an email file ?

Jean




[REBOL] Email standard definition ? Re:

2000-06-28 Thread hen

Mainly the IETF, I think.

(Internet Engineering Task Force) (http://www.ietf.org/)

There are a lot of RFC's on it (the standards) but I guess you mainly want
the ones for POP3 and SMTP?

There's a book out atm called Programming Internet Email by OReilly. You
might want to look into that. 

Hen

On Wed, 28 Jun 2000 [EMAIL PROTECTED] wrote:

 Hi,
 
 does anyone know, where I can find the definition of the standard(s) used
 for email ? Is there a ISO or ASCII (or...) norm. I mean,html 4 has been
 defined by w3.org. Who did the define the standards for an email file ?
 
 Jean
 




[REBOL] Email standard definition ? Re:

2000-06-28 Thread allenk

Hi Jean,

The place to look for internet protocols is the RFC's

http://www.cis.ohio-state.edu/hypertext/information/rfc.html

Standard for the format of ARPA internet text messages.
http://www.cis.ohio-state.edu/htbin/rfc/rfc0822.html

Mime messages part1
http://www.cis.ohio-state.edu/htbin/rfc/rfc2045.html

Updates and extension proposals are always being added so 
use the search engine to find the most current version of 
the protocol you are after.
http://www.cis.ohio-state.edu/Excite/AT-rfcsquery.html

Cheers,

Allen K


- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 28, 2000 11:55 PM
Subject: [REBOL] Email standard definition ?


 Hi,
 
 does anyone know, where I can find the definition of the standard(s) used
 for email ? Is there a ISO or ASCII (or...) norm. I mean,html 4 has been
 defined by w3.org. Who did the define the standards for an email file ?
 
 Jean
 
 




[REBOL] Email standard definition ? Re:

2000-06-28 Thread rebol

That's the IETF... the main rfc for e-mail is 822. There are other standards
that go along with e-mail messages, like MIME, that are defined in other
rfc's, however. I just looked on Google and found a good page for you. Check
it out: http://www.imc.org/rfcs.html

http://www.imc.org/rfcs.html#rfc822 is a shortcut to the specific section
dealing with 822.

If you've never looked at standards before, they take a little getting used
to. If you're trying to write something to parse up e-mail in Rebol, your
time would probably be better spent just looking at a lot of your e-mail and
figuring out the format from there. Then if you really want to get precise
go look at the standards. Hope this helps!

Keith

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 28, 2000 9:55 AM
Subject: [REBOL] Email standard definition ?


 Hi,

 does anyone know, where I can find the definition of the standard(s) used
 for email ? Is there a ISO or ASCII (or...) norm. I mean,html 4 has been
 defined by w3.org. Who did the define the standards for an email file ?

 Jean




[REBOL] Email standard definition ? Re:

2000-06-28 Thread leshert

Originally the "Internet community" defined the standards de facto (someone
wrote an email program and documented it; that document became the
standard).  Now, the Internet Engineering Task Force (IETF) is the keeper of
those standards.

The documents you want are IETF Requests-for-Comments (RFCs):

RFC-821  Simple Mail Transport Protocol (used to send mail)
RFC-822  Standard for the Format of ARPA Internet Text Messages
RFC-1939 Post Office Protocol - Version 3 (also known as POP3, most common
protocol used to retrieve mail)
RFC-2060 Internet Message Access Protocol (also known as IMAP, another
protocol used to retrieve mail)

All these documents are available at freesoft.org.

http://freesoft.org/CIE/RFC/821
http://freesoft.org/CIE/RFC/822
http://freesoft.org/CIE/RFC/Orig/rfc1939.txt
http://freesoft.org/CIE/RFC/Orig/rfc2060.txt


-- 
Tim Lesher  [EMAIL PROTECTED] 
b: #{E6DC10A95DB4B0248A503147FB} f: func [n] [pick " abcehJklnorstu." 
(n and 15 + 1)] forall b [ c: first b prin f c c: to-integer (c / 16) 
prin f c] print {}

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 28, 2000 09:55
To: [EMAIL PROTECTED]
Subject: [REBOL] Email standard definition ?


Hi,

does anyone know, where I can find the definition of the standard(s) used
for email ? Is there a ISO or ASCII (or...) norm. I mean,html 4 has been
defined by w3.org. Who did the define the standards for an email file ?

Jean




[REBOL] REBOL/Core 2.3 Released! Re:(2)

2000-06-28 Thread carl

Ok, good info.  Thanks Ralph.

It has been so long since we released a Core, we knew that the chances were good that 
we might miss a few "small" items.

But, now that you are ready to test experimental releases and our automated build  
post scripts allow us to release without swiping a minute from our critical product 
development schedules, you'll see things getting fixed much faster.  For instance, the 
FTP problem below occurs over all our products, including Command and Serve, so it 
needs to get fixed very soon.  You would see that fix in a 2.3.1 experimental that 
would automatically be posted. But, you would need to test it.

So, get your testing resources organized!  I've seen a few suggestions that look good. 
 Make them happen.

-Carl


At 6/28/00 08:41 AM -0400, you wrote:

 Announcing the release of REBOL/Core 2.3!

 This new version of REBOL/Core includes many
 improvements only available in beta versions
 of our REBOL/View and REBOL/Command products,
 until now.


This is great, thanks, and congrats to all the REBOL team... but g...

I was going to use 'feedback' to report that FTP is still broken but it
seems that 'feedback' itself now does not work. I get:

 feedback
** Script Error: feedback has no value.
** Where: feedback

and the FTP error that has appeared in all REBOLs since 2.2 is still there:

 read ftp://ftp.abooks.com/
connecting to: ftp.abooks.com
** User Error: Server error: tcp 425 Can't build data connection: Connection
refused..
** Where: read ftp://ftp.abooks.com/

This latter is a bit critical for us here to get working again.

But... overall... 2.3 seems nicely improved.

--Ralph Roberts
 




[REBOL] REBOL/Core 2.3 Released! Re:(4)

2000-06-28 Thread holger

On Wed, 28 Jun 2000, you wrote:

 Yep, in 2.2 (which I have to keep around to do FTPg)

Why ? Try setting "system/schemes/ftp/passive: true" in user.r. You are
probably behind a firewall.

--
Holger Kruse
[EMAIL PROTECTED]




[REBOL] REBOL/Core 2.3 Released! Re:(5)

2000-06-28 Thread ralph


 On Wed, 28 Jun 2000, you wrote:

  Yep, in 2.2 (which I have to keep around to do FTPg)

 Why ? Try setting "system/schemes/ftp/passive: true" in user.r. You are
 probably behind a firewall.

 --
 Holger Kruse
 [EMAIL PROTECTED]


YES That fixed it. Now, if I had only asked you first instead of all
those other peopleg


Thanks,

--Ralph





[REBOL] REBOL/Core 2.3 Released! Re:(6)

2000-06-28 Thread steve . shireman

Which means it gets highest priority on FAQ's / manuals, IMHO.
It's those school-of-hard-knocks facts that make documents worthwhile.

Even better (for the user in a netwatch:on mode) might be that it says
"your FTP failed because the firewall rejected blah blah blah"

 | |
 |^|
(___)ankle-on-a-soapbox

[EMAIL PROTECTED] wrote:
 
  On Wed, 28 Jun 2000, you wrote:
 
   Yep, in 2.2 (which I have to keep around to do FTPg)
 
  Why ? Try setting "system/schemes/ftp/passive: true" in user.r. You are
  probably behind a firewall.
 
  --
  Holger Kruse
  [EMAIL PROTECTED]
 
 
 YES That fixed it. Now, if I had only asked you first instead of all
 those other peopleg
 
 Thanks,
 
 --Ralph




[REBOL] REBOL/Core 2.3 Released! Re:(6)

2000-06-28 Thread holger

On Wed, 28 Jun 2000, you wrote:

 YES That fixed it. Now, if I had only asked you first instead of all
 those other peopleg

Good :). A word of explanation to everyone about this:

FTP can be used in the following ways:

- active mode, no proxy. (This is the default)
- passive mode, no proxy.
- active mode, SOCKS5.
- passive mode, SOCKS5.
- passive mode, SOCKS4.

Note that the SOCKS4 protocol does not support incoming connections, so the
combination "active mode, SOCKS4" is not possible.

Up until REBOL/Core 2.2 "passive mode" would only be used if REBOL detected
that "active mode" does not work with a user's setup (automatic fallback). This
fallback still exists in Core 2.3, but experience shows that not all FTP
servers support the automatic fallback (in particular FTP servers on Win-NT
often do not support it because they do not detect "connection refused"
errors), and sometimes SOCKS servers have problems with the fallback as well.
As a workaround for these server bugs Core 2.3 also allows users to manually
switch to passive mode by putting

system/schemes/ftp/passive: true

into user.r. That forces FTP to always use passive mode.

One other enhancement in the FTP implementation from Core 2.2 to 2.3 was that
Core 2.3 supports "active mode, SOCKS5". Core 2.2 did not support this,
i.e. it always fell back to passive mode when SOCKS5 was used for FTP, which
caused problems for some users. Core 2.3 now supports all possible combinations
of proxy servers and active/passive modes for FTP.

--
Holger Kruse
[EMAIL PROTECTED]




[REBOL] REBOL/Core 2.3 Released! Re:(2)

2000-06-28 Thread Galt_Barber




T





[REBOL] REBOL/Core 2.3 Released! Re:(2)

2000-06-28 Thread brian . hawley

[EMAIL PROTECTED] wrote:
 
  Announcing the release of REBOL/Core 2.3!
 
  This new version of REBOL/Core includes many
  improvements only available in beta versions
  of our REBOL/View and REBOL/Command products,
  until now.
 

This is great, thanks, and congrats to all the REBOL team... but g...

I was going to use 'feedback' to report that FTP is still broken but it
seems that 'feedback' itself now does not work. I get:

  feedback
** Script Error: feedback has no value.
** Where: feedback

The feedback function is defined in %rebol.r, but that script
is not being run at startup. REBOL still checks for it, but it
doesn't run it (on Windows, don't know about others).

On Windows, REBOL apparently determines the location of %user.r
from where it finds %rebol.r, and won't run it otherwise. First
it checks the current directory for %rebol.r, then REBOL_HOME,
then HOME?. Unfortunately, it doesn't go through that search for
%user.r, it just looks where it found %rebol.r. An then it won't
run %rebol.r when it finds it.

Can this be fixed?

Brian Hawley




[REBOL] REBOL/Core 2.3 Released! Re:(2)

2000-06-28 Thread Galt_Barber




Core 2.3 update:
Thanks!

-Galt

p.s. When is a fix for the /view focus problem going
to be available.  I stopped checking out /view in depth
when I hit that.





[REBOL] a quine or two

2000-06-28 Thread jehamby

Just for fun:  here's one of my first little exercises to get to know REBOL
better:  a "quine".  This is a program which prints out its own source code
when you run it.  Here was my first attempt:

REBOL [
Title: "A simple REBOL quine"
Author: "Jake Hamby"
Email: [EMAIL PROTECTED]
Date: 23-Jun-2000
File: %quine.r
]
header: [
Title: "A simple REBOL quine"
Author: "Jake Hamby"
Email: [EMAIL PROTECTED]
Date: 23-Jun-2000
File: %quine.r
]
code: [
print ["REBOL" mold header]
print ["header:" mold header]
print ["code:" mold code]
print "do code"
]
do code

Note the duplication of the contents of the REBOL block.  Of course the
program would have been much shorter had I left the REBOL block empty, but I
wanted to be kosher and do things the right way.  Also, it piqued my
curiosity about whether or not I could get at the contents of the REBOL
block from within my script.  I discovered how to do it, and here's my
second successful quine:

REBOL [
Title: "A simple REBOL quine"
Date: 23-Jun-2000
File: %quine2.r
Author: "Jake Hamby"
Email: [EMAIL PROTECTED]
]
print-obj: func [x][
foreach word next first x [
val: get in x word
if val [print rejoin ["" word ": " mold val]]
]
]
code: [
print "REBOL ["
print-obj system/script/header
print ["]^/print-obj:" mold :print-obj]
print ["code:" mold code]
print "do code"
]
do code

I'd like to submit these to the script library, as well as to this page
(http://www.nyx.net/~gthompso/quine.htm), a repository of quines in many
different languages, but I wanted to see if anyone could do better first.
One curious "feature" of REBOL I discovered while fooling around was that
blocks of code can contain embedded newlines and other whitespace, which
display when you print the code block, but are invisible when you manipulate
it like a list.  In other words, this:

block: [
   a
   b
   c
]

and this:

block:  [a b c]

are equivalent in every way that I can see, *except* when you print them.
Similarly, I was unable to programmatically construct a block with embedded
newlines, which might have been helpful to me for this exercise, but
print-obj turned out to be so short that I guess it doesn't matter.  It is a
weird feature, though:  I think REBOL's doing the Right Thing for
readability, but it's curious that I can't get at the internal structure
where this is stored.

-Jake




[REBOL] REBOL/Core 2.3 Released! Re:(2)

2000-06-28 Thread icimjs

Hi Ralph,

re: ftp
did you try setting passive to true as Holger suggested?

At 08:41 AM 6/28/00 -0400, you wrote:

 Announcing the release of REBOL/Core 2.3!

 This new version of REBOL/Core includes many
 improvements only available in beta versions
 of our REBOL/View and REBOL/Command products,
 until now.


This is great, thanks, and congrats to all the REBOL team... but g...

I was going to use 'feedback' to report that FTP is still broken but it
seems that 'feedback' itself now does not work. I get:

 feedback
** Script Error: feedback has no value.
** Where: feedback

and the FTP error that has appeared in all REBOLs since 2.2 is still there:

 read ftp://ftp.abooks.com/
connecting to: ftp.abooks.com
** User Error: Server error: tcp 425 Can't build data connection: Connection
refused..
** Where: read ftp://ftp.abooks.com/

This latter is a bit critical for us here to get working again.

But... overall... 2.3 seems nicely improved.

--Ralph Roberts





;- Elan [ : - ) ]




[REBOL] REBOL/Core 2.3 Released! Re:(3)

2000-06-28 Thread ralph

yep, that fixed it.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 28, 2000 7:16 PM
 To: [EMAIL PROTECTED]
 Subject: [REBOL] REBOL/Core 2.3 Released! Re:(2)
 
 
 Hi Ralph,
 
 re: ftp
 did you try setting passive to true as Holger suggested?
 
 At 08:41 AM 6/28/00 -0400, you wrote:
 
  Announcing the release of REBOL/Core 2.3!
 
  This new version of REBOL/Core includes many
  improvements only available in beta versions
  of our REBOL/View and REBOL/Command products,
  until now.
 
 
 This is great, thanks, and congrats to all the REBOL team... but g...
 
 I was going to use 'feedback' to report that FTP is still broken but it
 seems that 'feedback' itself now does not work. I get:
 
  feedback
 ** Script Error: feedback has no value.
 ** Where: feedback
 
 and the FTP error that has appeared in all REBOLs since 2.2 is 
 still there:
 
  read ftp://ftp.abooks.com/
 connecting to: ftp.abooks.com
 ** User Error: Server error: tcp 425 Can't build data 
 connection: Connection
 refused..
 ** Where: read ftp://ftp.abooks.com/
 
 This latter is a bit critical for us here to get working again.
 
 But... overall... 2.3 seems nicely improved.
 
 --Ralph Roberts
 
 
 
 
 
 ;- Elan [ : - ) ]
 




[REBOL] REBOL/Core 2.3 Released! Re:

2000-06-28 Thread bhandley

 REBOL/Core is available for download at
 http://www.rebol.com/downloads.html and

No it aint. I cannot find it listed. So I don't know how you other guys got
it!

Brett.




[REBOL] REBOL/Core 2.3 Released! Re:(2)

2000-06-28 Thread dan

brett, after you complete the form and agreement (if you wish to), the 
script will take you to platforms.html where you'll find the 2.3 versions 
available.  Let me know if you have any further problems.  dan

At 10:46 AM 6/29/00 +1000, you wrote:
  REBOL/Core is available for download at
  http://www.rebol.com/downloads.html and

No it aint. I cannot find it listed. So I don't know how you other guys got
it!

Brett.





[REBOL] [ANN] 2KB News Reader 0.1.1 Re:(3)

2000-06-28 Thread jeff



   Howdy, Ryan, and others interested in REBOL's nntp.r:

   NNTP servers lie. They tell you a range of numbers of
   articles that MAY be there.  They may well not be
   there, though.  It's a funny thing.

   The only way to really get the true number of articles
   in a newsgroup is to get the headers for each article
   (which over a 22kb modem 'aint always a good idea).

   NNTP.r, as it is, also provides the optional NNTP
   "XHDR" command which lets you quickly download just the
   subject lines (or any other given header field: from,
   to, keywords, etc..) of all the headers in the group.
   Having all the subject lines, you can then know for
   sure (unless some of those articles expire while you
   are reading) the count of articles in a newsgroup.

   One of the things NNTP does when it connects to a news
   server is determine if it can do XHDR.  Interactively
   you can ask an open news port what it can do by
   inserting [help] into the port.  Here's how you can
   determine non-interactively if the server you are
   talking to has XHDR:

 np: open news://news.somewhere
 found? find np/handler/commands 'xhdr

   Using XHDR you can do something like the following:

 np: open news://news.somewhere
 set [total start end] insert np [count from "alt.test"]
 x-mids: rejoin ["Message-ID " start "-" end]
 message-ids: insert np [xhdr x-mids from "alt.test" please]

 ;- please is optional :)

   The XHDR command gives you back a big string in a
   block.  Yes, that is a little odd (XHDR was added at
   the last minute just to help aspiring news bot writers,
   if you want to know!).  The string you will find in the
   block has the number of each article followed by the
   message id.  It's trivial to parse the string and it'll
   allow you to ask for individual articles by their
   message-ids in order.  There's examples of getting
   articles by message id in the NNTP.r howto.  Using
   XHDR, you'll have an efficient way of obtaining true
   newsgroup ordering with no gaps (for news severs that
   support the feature ... If they don't well, you
   probably have to fall back on getting all the message
   headers in a group if you want to insure total
   ordering... that's what Forte' free agent does!!). 

   Boy, nntp.r really is in need of an update.  Looking at
   NNTP.r it's doing all sorts of dialecting things by
   hand that would be a lot easier to do today in modern
   REBOL with things like parse block.  The whole thing
   could be shrunk by at least a half.  So many things
   rattling around on our overly loaded wagon trains...

   :-)

   Hope that info may be useful on your projects. 

   -jeff

  As for the message count, that seems 
 screwed up, too, because I always end up reading fewer messages than what the 
 nntp.r returns.
 
 I'm not sure if trying to fix  this would be more than just
 butting heads with nntp.r which may have some issues.
 
 Pretty  impressive.  It's about   time  someone  made some
 public use of  NNTP.r.   I found  one  problem, it  either
 reports the wrong number  of messages available or else it
 can't  always   find the   next  message.  After 3   or so
 messages, if I press "n" for next message,  I just get the
 instructions again for each time I press "n".
 
 Cheers,
 
 Allen K




[REBOL] [ANN] 2KB News Reader 0.1.1 Re:(4)

2000-06-28 Thread norsepower

Thanks for the input, Jeff. I'll work on updating my news reader with x-hdr 
functions. Yes, news servers do return very strange information. They are 
definitely part of the 'old Internet' when things were rather rough around 
the edges.

   Boy, nntp.r really is in need of an update.  Looking at
   NNTP.r it's doing all sorts of dialecting things by
   hand that would be a lot easier to do today in modern
   REBOL with things like parse block.  The whole thing
   could be shrunk by at least a half.  So many things
   rattling around on our overly loaded wagon trains...

   :-)

   Hope that info may be useful on your projects. 

   -jeff

  As for the message count, that seems 
 screwed up, too, because I always end up reading fewer messages than what 
the 
 nntp.r returns.
 
 I'm not sure if trying to fix  this would be more than just
 butting heads with nntp.r which may have some issues.
 
 Pretty  impressive.  It's about   time  someone  made some
 public use of  NNTP.r.   I found  one  problem, it  either
 reports the wrong number  of messages available or else it
 can't  always   find the   next  message.  After 3   or so
 messages, if I press "n" for next message,  I just get the
 instructions again for each time I press "n".
 
 Cheers,
 
 Allen K






[REBOL] REBOL/Core 2.3 Released! Re:(2)

2000-06-28 Thread norsepower

They are there, for sure. You just have to enter your e-mail address, etc., 
to proceed. Or you can cheat and just go to...

http://www.rebol.com/platforms.html

Here is a direct link to the Windows version if that's what you're looking 
for...

http://www.rebol.com/downloads/rebol031.zip

 REBOL/Core is available for download at
 http://www.rebol.com/downloads.html and

No it aint. I cannot find it listed. So I don't know how you other guys got
it!

Brett.






[REBOL] [ANN] 2KB News Reader 0.1.1 Re:(2)

2000-06-28 Thread norsepower

I played around a bit. It seems when the nntp.r checks for messages 
associated with a newsgroup, it also includes messages which have "expired." 
This accounts for the "non-existant" messages for when you choose "N" for 
next message and you see nothing but the options again. I ran into a series 
of these messages, perhaps a half-dozen or more before the header and text of 
a message finally appeared again. As for the message count, that seems 
screwed up, too, because I always end up reading fewer messages than what the 
nntp.r returns.

I'm not sure if trying to fix this would be more than just butting heads with 
nntp.r which may have some issues.

Pretty impressive. It's about time someone made some public use of NNTP.r.
I found one problem, it either reports the wrong number of messages
available or else it can't always find the next message. After 3 or so
messages, if I press "n" for next message, I just get the instructions again
for each time I press "n".

Cheers,

Allen K






[REBOL] REBOL/Core 2.3 Released! Re:(3)

2000-06-28 Thread bhandley

Thanks for that. I was thrown by the "version" column of the platform page
which lists it at 2.2. Should have just tried it

Brett.

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 29, 2000 11:01 AM
Subject: [REBOL] REBOL/Core 2.3 Released! Re:(2)


 brett, after you complete the form and agreement (if you wish to), the
 script will take you to platforms.html where you'll find the 2.3 versions
 available.  Let me know if you have any further problems.  dan

 At 10:46 AM 6/29/00 +1000, you wrote:
   REBOL/Core is available for download at
   http://www.rebol.com/downloads.html and
 
 No it aint. I cannot find it listed. So I don't know how you other guys
got
 it!
 
 Brett.






[REBOL] Password ask/hide in view?

2000-06-28 Thread gschwarz



With core there is "pass: ask/hide" for 
hiding the typed password.
Is there something like that in 
view?

The code below I used in view to have a 
popup box to enter user name and password.
Can you hide the typed in text for the 
password field?
Is there a better way?

button 40.40.250 300x24 "Login First 
Please" [  inform layout [ 
backdrop 200.60.60 text "User Name" pf1: field 100x24 [ 
user: pf1/text ] text "Password" pf2: field 100x24 [ pass: 
pf2/text ] button "Close" 
[ 
ftpaddress: join ftp:// [ user ":" pass "@domain.com.au/public_html/log.txt" 
] 
emailaddress: to-email join user 
"@domain.com.au" 
hide-popup ] ]; end of inform

Regards: Greg 
Schwarzõ¿õ¬ ~Email - [EMAIL PROTECTED]