[REBOL] test

2000-05-18 Thread fuchs

please ignore.




[REBOL] test

2000-05-18 Thread fuchs

please ignore




[REBOL] First public version of RUI available Re:

2000-03-15 Thread fuchs

It kills the Mac version of Rebol.

> From: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> Date: Thu, 16 Mar 2000 0:18:04 +0100
> To: [EMAIL PROTECTED]
> Subject: [REBOL] First public version of RUI available
> 
> Hello,
> 
> Here's something I've been cooking on for some time: RUI
> RUI is a mixture of a http server and a gui engine for REBOL.
> 
> download at http://195.181.8.32/dm98411/rebol/
> 
> 
> Best regards
> Thomas Jensen
> 
> 
> RUI example script:
> 
> .title: "Calculator"
> 
> main-window: make window! [
> 
> .title: "Calculator"
> 
> input: text-field ""
> result: text/bold/size "= " "+1"
> result/.bgcolor: 200.200.200
> 
> key: func [value /local] [
> button (rejoin [" " trim form value " "]) compose [append input/.value
> (value)]
> ]
> 
> allowed: charset "0123456789 +-/*.()"
> 
> calc-button: button " = " [
> if error? try [
> foreach char input/.value [if not found? find allowed char [make error! ""]]
> result/.value: join "= " do input/.value
> ] [
> result/.value: "Error evaluating expression"
> ]
> ]
> 
> buttons: matrix [
> [key "(" key ")" key " / " key " * "]
> [key "7" key "8" key "9" key " - "]
> [key "4" key "5" key "6" key " + "]
> [key "1" key "2" key "3" calc-button]
> ]
> 
> .value: vertical [
> result
> input
> buttons
> ]
> 
> ]
> 
> 
> 



[REBOL] Fw: [REBOL] Ok, how to print to STDOUT Re:(4)

2000-02-21 Thread fuchs

The pipe "trick" may only work under NT and 2000. It also works under Win98
using ksh (part of Uwin).

Ira

> From: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> Date: Mon, 21 Feb 2000 1:36:08 -0600
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Fw: [REBOL] Ok, how to print to STDOUT Re:(3)
> 
> Warped minds think alike tried it but I get a windows write error!!?
> (trying to write to a windows temp file)
> --
> Erik Jorgensen
> Programmer/Analyst - Principle
> Customer Service and Support
> Information & Access Technology Services
> University of Missouri - Columbia
> (573) 882-5974
> www.missouri.edu/~ccjorgie
> [EMAIL PROTECTED]
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, February 19, 2000 2:23 PM
> Subject: [REBOL] Fw: [REBOL] Ok, how to print to STDOUT Re:(2)
> 
> 
>> try
>> rebol -c drives.r | more
>> and see if that works.
>> 
>> Ira
>> - Original Message -
>> From: <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Friday, February 18, 2000 10:06 PM
>> Subject: [REBOL] Fw: [REBOL] Ok, how to print to STDOUT Re:
>> 
>> 
>>> Still looking for help on this... (want output at the command line
> without
>>> showing a window
>>> --
>>> Erik Jorgensen
>>> Programmer/Analyst - Principle
>>> Customer Service and Support
>>> Information & Access Technology Services
>>> University of Missouri - Columbia
>>> (573) 882-5974
>>> www.missouri.edu/~ccjorgie
>>> [EMAIL PROTECTED]
>>> - Original Message -
>>> From: <[EMAIL PROTECTED]>
>>> To: <[EMAIL PROTECTED]>
>>> Sent: Thursday, February 17, 2000 9:45 AM
>>> Subject: [ALLY] Ok, how to print to STDOUT Re:
>>> 
>>> 
 Thanks to everyone who responded... But...
 
 How do I get rebol to print something at the dos prompt? I used the -c
 specifically to suppress the window and the init info during
> execution,
>>> but
 I expected the same data that can be redirected using > to show up in
> my
>>> dos
 window.
 
 Erik
 
 Notice I made the suggested change...
 
 --
 Erik Jorgensen
 Programmer/Analyst - Principle
 Customer Service and Support
 Information & Access Technology Services
 University of Missouri - Columbia
 (573) 882-5974
 www.missouri.edu/~ccjorgie
 [EMAIL PROTECTED]
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 16, 2000 7:22 PM
 To: [EMAIL PROTECTED]
 Subject: [ALLY] Ok, how to print to STDOUT
 
 
 I wrote the following script:
 
 ;---snip---
 REBOL [
 File: %drives.r
 ]
 
 list: make string! 1
 
 list-drives: func [drives] [
 foreach letter drives [
 if not error? try [read to-file join "/" [letter "/."]]
 [append list to-string letter]
 ]
 print list
 ]
 
 list-drives "cdefghijklmnopqrstuvwxyz"
 ;---snip---
 
 But when I run it with:
 
 rebol.exe -c drives.r
 
 I do not see the output. (Win98)
 
 But:
 
 rebol.exe -c drives.r > t
 
 Does write the expected output to the file %t
 
 Help!
 
 Erik
 --
 Erik Jorgensen
 Programmer/Analyst - Principle
 Customer Service and Support
 Information & Access Technology Services
 University of Missouri - Columbia
 (573) 882-5974
 www.missouri.edu/~ccjorgie
 [EMAIL PROTECTED]
 
>>> 
>>> 
>> 
> 
> 



[REBOL] Fw: [REBOL] Ok, how to print to STDOUT Re:(2)

2000-02-19 Thread fuchs

try
rebol -c drives.r | more
and see if that works.

Ira
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 18, 2000 10:06 PM
Subject: [REBOL] Fw: [REBOL] Ok, how to print to STDOUT Re:


> Still looking for help on this... (want output at the command line without
> showing a window
> --
> Erik Jorgensen
> Programmer/Analyst - Principle
> Customer Service and Support
> Information & Access Technology Services
> University of Missouri - Columbia
> (573) 882-5974
> www.missouri.edu/~ccjorgie
> [EMAIL PROTECTED]
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 17, 2000 9:45 AM
> Subject: [ALLY] Ok, how to print to STDOUT Re:
>
>
> > Thanks to everyone who responded... But...
> >
> > How do I get rebol to print something at the dos prompt? I used the -c
> > specifically to suppress the window and the init info during execution,
> but
> > I expected the same data that can be redirected using > to show up in my
> dos
> > window.
> >
> > Erik
> >
> > Notice I made the suggested change...
> >
> > --
> > Erik Jorgensen
> > Programmer/Analyst - Principle
> > Customer Service and Support
> > Information & Access Technology Services
> > University of Missouri - Columbia
> > (573) 882-5974
> > www.missouri.edu/~ccjorgie
> > [EMAIL PROTECTED]
> >
> >
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, February 16, 2000 7:22 PM
> > To: [EMAIL PROTECTED]
> > Subject: [ALLY] Ok, how to print to STDOUT
> >
> >
> > I wrote the following script:
> >
> > ;---snip---
> > REBOL [
> >   File: %drives.r
> > ]
> >
> > list: make string! 1
> >
> > list-drives: func [drives] [
> >   foreach letter drives [
> > if not error? try [read to-file join "/" [letter "/."]]
> > [append list to-string letter]
> >   ]
> >   print list
> > ]
> >
> > list-drives "cdefghijklmnopqrstuvwxyz"
> > ;---snip---
> >
> > But when I run it with:
> >
> > rebol.exe -c drives.r
> >
> > I do not see the output. (Win98)
> >
> > But:
> >
> > rebol.exe -c drives.r > t
> >
> > Does write the expected output to the file %t
> >
> > Help!
> >
> > Erik
> > --
> > Erik Jorgensen
> > Programmer/Analyst - Principle
> > Customer Service and Support
> > Information & Access Technology Services
> > University of Missouri - Columbia
> > (573) 882-5974
> > www.missouri.edu/~ccjorgie
> > [EMAIL PROTECTED]
> >
>
>



[REBOL] test program needed

2000-02-14 Thread fuchs

Could one of you Rebol jockeys write a one-line program (actually any
length) that does the following:

Opens a port to another machine running a similar Rebol program and just
sends and receives data? I am trying to debug a problem with what is
probably the wireless driver on a WinCe machine and I suspect that it
dies when there is sustained data flowing in both directions. I am sure
I could, given sufficient time, do this myself but we are trying to do
this quickly.

Thanks.



[REBOL] [REBOL] Imbedding and Extending Rebol Re:

2000-02-10 Thread fuchs

FWIW, I certainly don't mean to start a thread on this and I may be mistaken
but...I believe that the Mac debuted in 1/84 and the Amiga 1000 appeared in 1/85.

[EMAIL PROTECTED] wrote:

> Hi All:
> Imitation is the sincerest form of flattery, right? In terms
> of OS interfaces (As I see it, anyway) Macintosh followed Amiga's
> lead (and I think Carl S. was in on that). Windows followed Macintosh,
>  and Linux followed Windows.



[REBOL] 2 trivial problems with view demos

2000-01-29 Thread fuchs

The demo menu program tries to execute calculator.r...but the file name
is calculat.r and the advanced demo, dict-view.r has the filename
dict-vie.r.



[REBOL] Announcing: REBOL/View Re:

2000-01-29 Thread fuchs

I did respond to your original request to receive the beta test. Was their further 
winnowing that occurred?

Thanks,
Ira

[EMAIL PROTECTED] wrote:

> The official announcement: 4AM PST, REBOL/View beta has "shipped".
>
> Thanks so much to the entire REBOL team for cranking on this release so many 
>sleepless nights over the last few weeks.  So much has come together in such a short 
>period of time...  We are very excited, as a dream of 18 years becomes a reality.
>
> Sure, there is more we'd like to add to it.  There are more gadgets to add to CID, 
>and many other GUI dialects yet to be written.  But we think this is a great 
>beginning... a way to put computing power back into the hands of its owners.
>
> I very much hope you enjoy REBOL/View, and if you do, please be sure to tell five 
>other people about it... We can use all the help you can give us in getting the word 
>out.
>
> Have a great rebollious weekend,
>
> -Carl



[REBOL] [REBOL] Palm port? Re:(3)

2000-01-18 Thread fuchs

wrt Win CE PPC...the Casio E-100 or E105 is a very nice machine (there are MANY 
others) and MS certainly has a development environment for PPC. I would think that 
once you have it working on HPC (which you do), PPC ought to be relatively easy. Given 
this machines color LCD, decent sound ,16 or 32MB, available ethernet interface, etc. 
it might make a usable,  portable Rebol system.

Ira

[EMAIL PROTECTED] wrote:

> Hey Chris and Scott,
>
> Thanks for the added insight on the vmm (believe Jeff was aware of that and it will 
>help in the future, but still is not enough for the current REBOL implementation).  
>As for Psion, we made some progress, but ran into some GUI and library issues that 
>will require some significant effort to overcome.  Similar to Palm, we have decided 
>to commit those resources to REBOL/View, demos and projects for now and will have to 
>jump back into Psion as these projects are completed or we add new resources.
>
> We apologize for the delay and hope the benefits of REBOL/View will more than offset 
>the demand for the Palm and Psion.
>
> As for the CE PPC port, are there any machines running this.  After a quick 
>investigation, we did not find a development environment for this combo...
>
> Regards,
>
> Dan
>
> At 03:43 PM 1/15/00 -0500, you wrote:
> >Hi Dan,
> >
> >I asked a friend of mine, Scott Ludwig who did PocketChess for the Palm and
> >other palmtop platform and he said that you "should look at the "vmm"
> >package, it solves exactly what he needs. It's on palmgear.com."
> >
> >So when will the Psion / WindowsCE PPC port will be available, I'm awaiting
> >these to make an article on Rebol for Palmtops OS *smile*
> >
> >Best,
> >Chris and Scott
> >
> >> -Message d'origine-
> >> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> >> Envoyé : 13 janvier, 2000 13:20
> >> À : [EMAIL PROTECTED]
> >> Objet : [REBOL] Palm port? Re:
> >>
> >>
> >> Palm update:
> >>
> >> We ran into a bit of a problem with this port.  Basically, Palm
> >> only provides 36K of dynamic memory and therefore would require
> >> some significant work (i.e., re-work) on our part to complete the
> >> port.  Despite the demand for Palm, which is significant, other
> >> projects and products of equal difficulty but even greater demand
> >> have replaced the Palm port on our priority list.
> >>
> >> So the status is postponed for now.  Feel free to directly send
> >> me any comments or questions.
> >>
> >> Regards,  dan
> >>
> >> At 07:21 AM 1/13/00 -0500, you wrote:
> >> >Any update on when the Palm version of REBOL might be released?
> >> >
> >> >- martin
> >>



[REBOL] wanna help me "cheat?" Re:(2)

2000-01-14 Thread fuchs

Support for negative arguments and multiplication and division would also be
nice but native support for infinite precision arithmetic, as is found in
Python or Lisp, would be even better.

Ira

[EMAIL PROTECTED] wrote:

> >Ack.  I just re-read my own post, and it's not all that clear.  sorry.
> >anybody feel like giving me some pointers?
>
> Hmm, not sure what you mean by "cheating". I think these programs work in a
> way similar to your algorithm.
>
> Since the digits in the string values are characters, there's a bit of
> extra fooling around that detracts from the "beauty" of the algorithm.
>
> These functions are useful if you need to do integer arithmetic beyond
> the precision REBOL is capable of. There's an extra kludge to allow a
> decimal point in the longer argument. Still need to add the ability
> to accept "negative" arguments.
>
> Later,
> Eric
>
> ==
>
> string-add: func [
> {add two string representations of integers numerically}
> a [string!] b [string!]
> /local c d
> ][
> a: copy a   b: copy b
> if (length? a) < (length? b) [c: b b: a a: c]
> insert/dup b "0" (length? a) - (length? b)
> a: tail a  b: tail b
> d: 0 while [ not head? b ] [
> a: back a  b: back b
> if #"." = first a [a: back a]
> c: (first a) + (first b) + d - 48
> d: either c > #"9" [c: c - 10  1][0]
> change a c
> ]
> if d > 0 [insert a "1"]
> a
> ]
>
> string-subtract: func [
> {subtract two string representations of integers numerically}
> a [string!] b [string!]
> /full-length
> /local c d neg
> ][
> a: copy a   b: copy b
> neg: copy either any [
> (length? a) < (length? b)
> all [(length? a) = (length? b)  a < b]
> ][c: b b: a a: c "-"][""]
> insert/dup b "0" (length? a) - (length? b)
> a: tail a  b: tail b
> d: 0 while [ not head? b ] [
> a: back a  b: back b
> if #"." = first a [a: back a]
> c: to char! (first a) - (first b) - d + 48
> d: either c < #"0" [c: c + 10   1][0]
> change a c
> ]
> if not full-length [
> while [all [#"0" = first a  1 < length? a]][remove a]
> ]
> join neg a
> ]



[REBOL] archive Re:(2)

2000-01-10 Thread fuchs

Cheryl,

Thanks! I am not new to the Rebol list but I admit that I have not been
looking at www.rebol.org or I obviously would have known that they housed the
archive. Do you know how far back the archive goes? Just as a test, I searched
for my postings and the earliest appeared to be Aug. '99. BTW, I did the same
search multiple times and got different results each time.

Thanks,
Ira

[EMAIL PROTECTED] wrote:

> Ira,
>
> The REBOL mailing list archive resides at www.rebol.org. There are also
> additional REBOL scripts available.
>
> It would be very helpful if rebol.com would place a link on their site
> indicating that this mailing list archive is available. This is a frequent
> question most newcomers have.
>
> BTW, does anyone know what the purpose of rebol.org is? I see no mission
> statement there. Nor, do I understand why the material on rebol.org has to
> be separate from rebol.com, that is, why not just have one website?
>
> Hope this helps,
>
> Cheryl
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, January 09, 2000 8:23 PM
> Subject: [REBOL] archive
>
> > Is anyone yet hosting this group as a news list? News.sunshinecable.com
> > was doing it for awhile but seems to have stopped (as of last Sept.).
> > Also is there a browsable archive anywhere?
> >
> > Thanks,
> > Ira
> >
> >



[REBOL] archive

2000-01-09 Thread fuchs

Is anyone yet hosting this group as a news list? News.sunshinecable.com
was doing it for awhile but seems to have stopped (as of last Sept.).
Also is there a browsable archive anywhere?

Thanks,
Ira



[REBOL] Rebol on NeXT ? Re:

1999-12-08 Thread fuchs

I believe that NeXTStep is Mach based.

[EMAIL PROTECTED] wrote:

> Is there a way to obtain a release of Rebol under NeXTstep 3.3 or Openstep ?
>
> They are BSD based Unix systems, so it wouldn't be too complicated to build
> Rebol on it .
>
> Laurent



[REBOL] I am having problems getting join to place text right after a variable Re:

1999-10-14 Thread fuchs

 Try:
print rejoin ["Hello " name "."]

[EMAIL PROTECTED] wrote:

> Hi, could someone please fix the following simple program so that the period
> shows up right after the variable as opposed to being spaced one character
> away? Many thanks.
>
> REBOL [
> Title:  "Asking questions and remembering the result"
> Date:   14-Oct-99
> Author: "T.M. Brannon"
> Email:  [EMAIL PROTECTED]
> File:   %asking-questions.r
> Purpose:{
> Ask a question and remember the result
> }
> Category: [file script utility]
> ]
>
> name: ask "What is your name? "
> print [ join "Hello " name "." ]



[REBOL] How to you make up a URL Re:

1999-10-08 Thread fuchs

How about trying:

aUrl: to-url rejoin ["http://" address]

Ira

[EMAIL PROTECTED] wrote:

> After trying numberous ways - I still don't know how to make up an URL from
> a variable.
>
> e.g.
>
> address: "www.rebol.com"
> aUrl: to-url [ "http" address ]
>
> [... what you get is 'http://address' not 'http://www.rebol.com' ...]
>
> This doesn't work. Nor does ':address' for 'address'.
> How do you do this?
>
> Thank you.



[REBOL] Rebol.general

1999-10-01 Thread fuchs

Does anyone know why the rebol.general list (@news.sunshinecable.com)
hasn't added any postings since 9/7?

Ira