Hi,

I'm new to this list & to REBOL, but from what I've seen, it seems to be
a great language to automate various internet tasks. I'll pressure my
ISP's to install it ASAP :-). My questions will be a little stupid at
first, but I hope that I can give back something to the community sooner
or later.

My first project is to develop a simple guestbook in REBOL, just to get
a feeling for how the language works. But my problems already start when
trying to implement REBOL on my local web server. I use Rebol 2.2.0.3.1
on WinNT SP4 & OmniHTTPd 2.06 for testing CGI scripts. Maybe someone
here as a similar configuration and can understand my problem.

First, shouldn't the following line

        D:\REBOL>rebol -cs hello.r

write output to stdout, i.e. the WinNT console? In my case, it doesn't
put out anyting (that's true for most of the other options, including
"-w"). Only if I write something like

        D:\REBOL>rebol -cs hello.r > hello.txt

the output is written to hello.txt. If I run rebol without the "-cs"
parameter, the output it is written inside the REBOL window, which is
not what I want. Writing to "> CON" for console output also doesn't
work.

Moreover, the web server OmniHTTPd doesn't seem to allow parameters for
program execution. It also executes the program in quotes (it sends a
line like ["D:\rebol\rebol.exe" "C:\httpd\cgi-bin\hello.r"], with the
quotes, without the brackets), which seems to make using a batch file
impossible or tricky. Is it possible to somehow configure REBOL so that
all output is written to stdout by default and the security is set to
minimum, without any parameter necessary besides the filename?

Your help is appreciated. Any useful source code I produce will be put
on the web.

Regards,
Erik Moeller
-- 
Scientific Reviewer, Freelancer, Humanist -- Berlin/Germany
Phone: +49-30-45491008  -  Web: http://www.humanist.de/erik
WWW site on the origins of violence: http://www.violence.de

Reply via email to