Hi, Matt, you wrote: > The only solution I can think of is to work out what the hell is happening with Rebol/View when I'm calling it.
You do know that Rebol/View's %User.r and %Rebol.r are different from Rebol/Core's %User.r and %Rebol.r, don't you? It sounds like you've got all the rebol versions using the same versions of these files. > I didn't know about the REBOL_HOME var actually. It's recommended to be put into autoexec.bat for Rebol/Core. If you haven't provided it, then this is probably the reason why Rebol/Core works (because it can't find it's home directory, and so _ignores_ %User.r and %Rebol.r. Here's the entry from %setup.html from Rebol/Core: On Windows 95+ systems, edit the C:\autoexec.bat file and add a line such as: set REBOL_HOME=c:\REBOL I hope that helps! Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- ----- Original Message ----- From: "Mat Bettinson" <[EMAIL PROTECTED]> To: "Andrew Martin" <[EMAIL PROTECTED]> Sent: Thursday, January 10, 2002 11:25 PM Subject: [REBOL] Re: Rebol/view as a CGI app > Hello Andrew, > > AM> It sounds like your rebol installation is bad. I think that Rebol/View > AM> doesn't like being called %rebolcmd.exe. It's probably trying to install > AM> itself when called by Xitami? > > No, that's now what I have done. The command line I quoted works; > > #!C:\Rebol\rebolcmd.exe --cgi -s > > This really IS Rebol/Command. The above also works if I use just plain > rebol.exe, IE Rebol/Core. > > What does NOT work is if I do ANYTHING like the following; > > #!C:\Rebol\view\rebol.exe --cgi -s > > This just doesn't work. It hangs. Doesn't matter what switches I use > either, I've tried dozens of combinations. I can run the exact path > and my Rebol/View just goes straight into the console and doesn't try > to install itself with the nasty pop up GUI thing. > > AM> If you want to run Rebol/View and Rebol/Core at once, consider doing what > AM> I've done, which is to have one directory, like: > AM> %/C/Rebol/ > AM> with two subdirectories, inside it like: > AM> %/C/Rebol/View/ > AM> and: > AM> %/C/Rebol/Core/ > > I just leave Rebol/Core and Rebol/Command in the %/C/Rebol/ dir. > > AM> Then put Rebol/Core in it's directory and Rebol/View in it's directory. > AM> Then check them out to make sure that both work OK, then try them out again. > > They all work, I'm not a complete fool. :) > > AM> Be sure that the REBOL_HOME variable in your autoexec.bat file is changed > AM> and that you've rebooted your system. The end result is two Rebol > AM> executables which are at: > AM> %/C/Rebol/Core/Rebol.exe > AM> and: > AM> %/C/Rebol/View/Rebol.exe > AM> Then in the %/C/Rebol/ directory, you can store your Rebol scripts and > AM> it's all tidy and so on. > > I didn't know about the REBOL_HOME var actually. Not that it appears > to matter much. I have Rebol/view (pro) registered in the system to > execute scripts without security etc. It works well. > > AM> I hope that helps! If not, please let me know, or email the list? > > The only solution I can think of is to work out what the hell is > happening with Rebol/View when I'm calling it. > > Regards, > > Mat Bettinson > Codeplay > > Tel: +44 (0)20 7482 3382 > 140-142 Kentish Town Rd, London, NW1 9QB > http://www.codeplay.com > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.