[newbie] Sending prints to std out
[1/5] from: gedb01:yaho:o at: 8-Oct-2003 14:41
Scite is my text editor of choice, which has an
execution option that captures the consoles output.
The problem is that Rebol's virtual console doesn't
seem to send the output to std out.
Is there something I can do so that it does?
I'm running on Windows XP Pro.
[2/5] from: andrew:martin:colenso:school at: 24-Dec-2003 22:39
> Scite is my text editor of choice, which has an execution option that
captures the consoles output.
> The problem is that Rebol's virtual console doesn't seem to send the
output to std out.
> Is there something I can do so that it does?
You could try invoking Rebol as a CGI and see if that makes a
difference. Something like this:
C:\Rebol\Core\rebol.exe -cs
or (with "q" for quiet):
C:\Rebol\Core\rebol.exe -csq
You may have to add some command for inserting the file name into the
command?
I hope that helps!
Andrew J Martin
Attendance Officer
& Grail Jedi.
Colenso High School
Arnold Street, Napier.
Tel: 64-6-8310180 ext 826
Fax: 64-6-8336759
http://colenso.net/scripts/Wiki.r?AJM
http://www.colenso.school.nz/
DISCLAIMER: Colenso High School and its Board of Trustees is not responsible (or legally
liable) for materials distributed to or acquired from user e-mail accounts. You can report
any
misuse of an e-mail account to our ICT Manager and the complaint will be investigated.
(Misuse can come in many forms, but can be viewed as any material sent/received that
indicate or suggest pornography, unethical or illegal solicitation, racism, sexism, inappropriate
language and/or other issues described in our Acceptable Use Policy.)
All outgoing messages are certified virus-free by McAfee GroupShield Exchange 5.10.285.0
Phone: +64 6 843 5095 or Fax: +64 6 833 6759 or E-mail: [postmaster--colenso--school--nz]
[3/5] from: ingo:2b1 at: 8-Oct-2003 22:02
Hi Ged,
this is a shot into the blue, but try Scite to call Rebol with the -c
option. This puts Rebol in cgi mode, in which its output should be sent to
standard-out.
I hope that helps,
Ingo
Ged Byrne wrote:
[4/5] from: greggirwin::mindspring::com at: 8-Oct-2003 12:07
Hi Ged,
GB> Scite is my text editor of choice, which has an
GB> execution option that captures the consoles output.
GB> The problem is that Rebol's virtual console doesn't
GB> seem to send the output to std out.
GB> Is there something I can do so that it does?
I think you'll have to redirect the output when you call REBOL. Not
sure if Scite can read the redirected target though.
Maybe send RT a feedback requesting a command line switch for REBOL so
it *could* write to STDOUT (though that may not be easy or worthwhile
for them).
-- Gregg
[5/5] from: greggirwin:mindspring at: 8-Oct-2003 16:30
Ingo and Andrew,
IH> this is a shot into the blue, but try Scite to call Rebol with the -c
IH> option. This puts Rebol in cgi mode, in which its output should be sent to
IH> standard-out.
Now, why didn't *I* think of that. :\
-- Gregg