[1/3] from: jonkelly:fastmail:fm at: 29-Jul-2007 10:50
Hi, Is there a way to get the output to go to the standard output? I'm running View 188.8.131.52.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.
[2/3] from: btiffin:rogers at: 29-Jul-2007 1:23
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 Cheers, Brian On Saturday 28 July 2007 20:50, Jonathan Kelly wrote:
[3/3] from: jonkelly::fastmail::fm at: 29-Jul-2007 17:03
Hi Brian, Brian Tiffin wrote:
> Hi Jonathan > You need to tell windows cmd that you are redirecting.
<<quoted lines omitted: 4>>> 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.
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted