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]
> >
>
>

Reply via email to