Hi Brian, Brian Tiffin wrote: > Hi Jonathan > > You need to tell windows cmd that you are redirecting. >> rebol -w script.r | more > > For a couple of hints and discussions. > > http://www.rebol.com/article/0004.html > > http://www.codeconscious.com/rebol/tips-and-techniques.html#Miscellaneous > > http://www.rebol.net/cgi-bin/upnews.r?view=0012 > > Hope those help, or at least a start
thanks for those links. That reminded me of something I thought I was imagining. I did set myself up at work with rebol some time ago, but at work I use cygwin and run xorg/xterm with the xwin windows manager, and I did get rebol script output into the xterm session. I just set myself up the same way on my laptop (where I'm working on learning Rebol at home) and it works a treat!! So the xterm/bash combination must do some redirection that it makes it work. And I get input and output coming from/to the xterm terminal so I can do interactive input, and now rebol scripts look just like another unix(cygwin) command (having made the first line of the script files "#!rebol.exe -w"). Sweet. Jonathan. > > Cheers, > Brian > > > On Saturday 28 July 2007 20:50, Jonathan Kelly wrote: >> Hi, >> >> Is there a way to get the output to go to the standard output? >> >> I'm running View 1.3.2.3.1 (Windows), but when I go "rebol -w script.r", >> I don't get any output?? If I omit the -w, a window opens up with the >> output, and it closes down when the script ends, so I have to add an >> "ask" at the end to pause. >> >> Jonathan. -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
