[REBOL] [library][request-dir] bug?

2004-05-22 Thread Ashley Trüter

Anyone else come across this strange behaviour?

>> system/version
== 1.2.10.3.1
>> save %a.txt ""
>> write %a.txt ""
>> request-dir
== none
>> save %a.txt ""
** Access Error: Bad file path: a.txt
** Near: save %a.txt ""
>> write %a.txt ""
** Access Error: Bad file path: a.txt
** Near: write %a.txt ""


Regards,

Ashley

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Latest View beta refuses to connect to the 'net...

2004-05-22 Thread Carl Read

>> That's not the latest beta.
>> Get the latest beta 1.2.46.3.1 here:
>> http://www.rebol.net/projects/view1.3/downloads/
>> http://www.rebol.net/projects/view1.3/downloads/rebview1246031.exe
>
>There's beta (bleeding edge) and then there's beta (one year stable). A 
>number of folks have asked me about the "/only" refinement, to which my 
>stock answer is:
>
>"The /only refinement of 'compose was introduced in REBOL/Core 2.5, 
>http://www.rebol.com/docs/changes.html#section-5.3, which ships with the 
>SDK by default. For REBOL/View, you need to run the latest "beta" 
>(1.2.10.3.1 released on 30-May-2003) and available from 
>http://www.reboltech.com/downloads/.";
>
>While I can certainly see the benefit of getting as many folks as possible 
>to use the latest VID 1.3 beta, it might not be such a good idea to 
>present a moving target (and little current documentation) as someone's 
>first exposure to REBOL. Just my quick thoughts on why I recommend 1.2.10 
>to new comers. ;)

>> about
REBOL/View 1.2.10.3.1 30-May-2003
Copyright 2000-2002 REBOL Technologies.  All rights reserved.
REBOL is a trademark of REBOL Technologies. WWW.REBOL.COM

Type DESKTOP or SET-USER for settings.
>> browse http://www.rebol.com/
** Script Error: Feature not available in this REBOL
** Near: browse http://www.rebol.com/

(-:  A case of swings and roundabouts, I think.  Browse is working again in 1.2.46, 
though perhaps there's other problems with it.

-- Carl Read

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Latest View beta refuses to connect to the 'net...

2004-05-22 Thread Ashley Trüter

> That's not the latest beta.
> Get the latest beta 1.2.46.3.1 here:
> http://www.rebol.net/projects/view1.3/downloads/
> http://www.rebol.net/projects/view1.3/downloads/rebview1246031.exe

There's beta (bleeding edge) and then there's beta (one year stable). A 
number of folks have asked me about the "/only" refinement, to which my 
stock answer is:

"The /only refinement of 'compose was introduced in REBOL/Core 2.5, 
http://www.rebol.com/docs/changes.html#section-5.3, which ships with the 
SDK by default. For REBOL/View, you need to run the latest "beta" 
(1.2.10.3.1 released on 30-May-2003) and available from 
http://www.reboltech.com/downloads/.";

While I can certainly see the benefit of getting as many folks as possible 
to use the latest VID 1.3 beta, it might not be such a good idea to 
present a moving target (and little current documentation) as someone's 
first exposure to REBOL. Just my quick thoughts on why I recommend 1.2.10 
to new comers. ;)


Regards,

Ashley

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Find objects/functions and linking some faces

2004-05-22 Thread lp . legoff


Hi list,

two questions :

1/ how is it possible to get a brief listing of objects and functions including 
in a script ? Parsing, testing word? or another "not documented" method ?

2/ I have a layout with a box 1 and a box 2 (same drag'n dropable style).
I want to draw a line (length = offset box1 - offset box2) beetwen my faces.
And after I would drag and drop any box, and see the other follow the first one 
(like with hard link).

Any ideas or scripts references in library to begin ?

Thanks for help.


==Philippe.

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: waiting on tcp ports

2004-05-22 Thread Anton Rolls

You are assuming ready is one of the two
ports, however, wait can return none! (when
you get a 10 second timeout).
So check that ready is really a port, like this:

if port? ready [ ... ]

Anton.

> Hi all,
> I have a problem.
> I execute this code:
> port1: open/lines/direct tcp://:4321
> port2: open/lines/direct tcp://:8989
> data: make string! 1000
> 
> ready: wait/all [port1 port2 10]
> if ready [
>   probe read-io ready data 1000
> ]
>   to listen on multiple ports.
> I observe the following error:
> ** Script Error: read-io expected port argument of type: port
> ** Near: probe read-io ready data 1000
> 
> How can I read the data when listening on two or more ports?
> 
> (the same error with dispatch)
> 
> Thanx,
> Miguel Lopez

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: [VID//menu]

2004-05-22 Thread Anton Rolls

Cyphre,

I think it's great idea to make the code public.
It's easy to slap together a web page with your code.
It's not easy to make a online forum :)
But if it's online, search bots will index it and
we will have a great service.
It doesn't matter if the code is not complete.
Surely there are great parts of the code which work
well and little known discoveries in there which
would be of great benefit.

My message to all rebols hoarding their code:
"publish, even if incomplete".

Even if you started a program, but only had time
to write down five minutes of your thoughts for
the implementation, that's useful for other people.
It's useful to know simply that someone else had an
interest, who that person was, and when they were thinking
about it.

The above goes for me too, I'm just resisting publishing
some of my recent code because it makes for a good
incentive to finish my rebsite synchronizer... which I've
been banging away on recently.

Anton.

> I'd like to add that If anoyne is interested to just use(and test) my
> prototype styles feel free to contact me and I'll send latest
> style package.
> I hope I'll open a website for those style package soon so I could track
> automatically all the downloads and collect your
> bugreports/ideas/opinions/improvements etc. Maybe this could help make the
> styles better and more robust and finally make them as version 1.0 ;)
>
> But before I put my efforts to do this I'd like to know if anyone is
> interested in this form of cooperation with ML comunity. (so far only few
> people contacted me asking to send my styles so I'm not sure if it make
> sense to public my still incomplete work)
>
> so what do you think?
>
> Regards,
>
> Cyphre

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] waiting on tcp ports

2004-05-22 Thread Miguel Lopez
Hi all,
I have a problem.
I execute this code:
port1: open/lines/direct tcp://:4321
port2: open/lines/direct tcp://:8989
data: make string! 1000

ready: wait/all [port1 port2 10]
if ready [
probe read-io ready data 1000
]
  to listen on multiple ports.
I observe the following error:
** Script Error: read-io expected port argument of type: port
** Near: probe read-io ready data 1000

How can I read the data when listening on two or more ports?

(the same error with dispatch)

Thanx,
Miguel Lopez

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] [REBOL.org] Recent changes

2004-05-22 Thread rebol
[REBOL] [REBOL.org] Recent changes

This is an automatic email from REBOL.org, the REBOL Script Library to notify you of 
recent changes to the Library.

===changes===
read-below.r
--change: new script
--change: documentation added or updated
--title: read-below
--owners: brett
--author: Brett Handley
--purpose: Reads all files and directories below specified directory
--url: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=read-below.r

topic-tags.r
--change: discussion post(s) made
--title: Topic Tags
--owners: christian
--author: Christian Ensel
--purpose: Makes tagging the mailing list a little bit more comfortable.

Lists all topic tags in a window which I like to have open while tagging.
Clicking on any tag copies it into clipboard so I only have to paste it into browser.

--url: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=topic-tags.r


===additional information===
new and updated scripts: 
http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent
recent discussion: http://www.rebol.org/cgi-bin/cgiwrap/rebol/cpt-active-posts.r
recent documentation: http://www.rebol.org/cgi-bin/cgiwrap/rebol/cpt-recent-docs.r

===end===
--The Library People
--22-May-2004

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Segmentation fault from http port

2004-05-22 Thread Henrik Mikael Kristensen

Hallvard Ystad wrote:

> Hello
> 
> I repeatedly get a segmentation fault when trying to read 
> http://home.tiscali.dk/Andy%20Warhol2.htm on a Mac OSX. Try to read the same URL 
> from a Win2k, and do not get the fault. The URL behaves a bit funny (quasi-circular 
> redirects). Turn on trace/net, and you'll see (but hurry, the URL mess-up could be 
> fixed any time).
> 
> Here's from the end of the Win2k trace:
> Net-log: "HTTP/1.1 302 Found"
> ** User Error: URL error: http://home.tiscali.dk/Andy%20Warhol2.htm//
> /
> /
> ///
> ** Near: t: read http://home.tiscali.dk/Andy%20Warhol2.htm
> 
> 
> And here's from the Mac OSX ditto:
> Net-log: "HTTP/1.1 302 Found"
> Segmentation fault
>   [www:~] root#
> 
> 
> Is this a known bug? (How does one find out? Is there a public bug tracker 
> somewhere?)

http://rebol.net/cgi-bin/projects/track.r (it's a webpage)

-- 
Regards,
Henrik Mikael Kristensen
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: [VID//menu]

2004-05-22 Thread Arie van Wingerden
 

Hi all,

in the first place many thanks to Carl, Anton, Gregg and Cyphre for the
appropriate comments!

Cyphre I am indeed impressed by the jpg picture. As Gregg says it's
importantthat people help each other. Given my (small) project and the fact
that I am quite new to VID as well, I am still willing to test / try out
somecode as far (just as far as my capacities go, of course!)

So, please do send me the code in private and please let me know what I need
to know for a start ;-)

Thanks again!

Met vriendelijke groet / with kind regards,
   Arie van Wingerden
http://home.zonnet.nl/rebolution/[1]


Cyphre wrote: Hi, I did bar menu and context menu style
http://www.rebol.cz/~cyphre/menu.jpg[2] (the screnshot is from a bit older
older version) If you are interested let me know privately so I'll send you
the latest version. Regards, Cyphre - Original Message - From: "Arie
van Wingerden" <[EMAIL PROTECTED]>[3] To: <[EMAIL PROTECTED]>[4] Sent:
Friday, May 21, 2004 2:03 PM Subject: [REBOL] [VID//menu] Hi all, since I am
creating a REBOL program with a GUI, I needed to implement a menu structure.
I've read "REBOL/View Developer's Guide" and "A Beginner's Guide to REBOL
Visual Interfaces", but neither of them has the required info. Any hints
where to look? TIA. Met vriendelijke groet / with kind regards, Arie van
Wingerden http://home.zonnet.nl/rebolution/[5] -- To unsubscribe from this
list, just send an email to [EMAIL PROTECTED] with unsubscribe as
the subject. 


--- Links ---
   1 http://home.zonnet.nl/rebolution/
   2 http://www.rebol.cz/~cyphre/menu.jpg
   3 mailto:[EMAIL PROTECTED]
   4 mailto:[EMAIL PROTECTED]
   5 http://home.zonnet.nl/rebolution/
   6 mailto:[EMAIL PROTECTED]
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Segmentation fault from http port

2004-05-22 Thread Blaz Segavac

Hi Ystad,

I tried reading that same page running REBOL/Core 2.5.6.2.4 under Mac OS 
X 10.3.3...and got the follow result:

 >> read http://home.tiscali.dk/Andy%20Warhol2.htm

connecting to: home.tiscali.dk
connecting to: home.tiscali.dk
connecting to: home.tiscali.dk
.
.
.
connecting to: home.tiscali.dk
connecting to: home.tiscali.dk
connecting to: home.tiscali.dk
** Internal Error: Stack overflow
** Where: parse-head
** Near: insert tail head-list to-set-word w
 >>

But I remained in the REBOL console after getting heaps of 'connecting 
to: home.tiscali.dk' messages and then it failed with the stack overflow 
message.  I think this is the behaviour you expected?


Cheers,
Blaz



Hallvard Ystad wrote:
> Hello
> 
> I repeatedly get a segmentation fault when trying to read 
> http://home.tiscali.dk/Andy%20Warhol2.htm on a Mac OSX. Try to read the same URL 
> from a Win2k, and do not get the fault. The URL behaves a bit funny (quasi-circular 
> redirects). Turn on trace/net, and you'll see (but hurry, the URL mess-up could be 
> fixed any time).
> 
> Here's from the end of the Win2k trace:
> Net-log: "HTTP/1.1 302 Found"
> ** User Error: URL error: http://home.tiscali.dk/Andy%20Warhol2.htm//
> /
> /
> ///
> ** Near: t: read http://home.tiscali.dk/Andy%20Warhol2.htm
> 
> 
> And here's from the Mac OSX ditto:
> Net-log: "HTTP/1.1 302 Found"
> Segmentation fault
>   [www:~] root#
> 
> 
> Is this a known bug? (How does one find out? Is there a public bug tracker 
> somewhere?)
> 
> HY
> 
> Prætera censeo Carthaginem esse delendam
> 
> 

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.