1. Capturing console output on Windows
- Posted by "Juergen Luethje" <j.lue at gmx.de> Oct 12, 2004
- 425 views
- Last edited Oct 13, 2004
Hi all, I've been using Euphoria 2.4 for a long time successfully with the ConTEXT editor on Windows 98. In ConTEXT I chose the option "Capture console output", and I associated my .EXW programs with EXW.EXE. This works fine, normal program output is captured by ConTEXT, Euphoria's error messages are shown in a separate console window. Recently I wanted to use Euphoria at work on Windows XP. Using EXW.EXE, ConTEXT doesn't capture normal program output, but error messages are shown like on Windows 98. Using EXWC.EXE, normal program output is captured like on Windows 98, but error messages are not shown! The full picture is given here (concerning ConTEXT 0.97.5): interpreter | command | Win 98 | Win XP | ------------+---------+--------------------+--------------------+ | ? 1 | output is | output is not | | | captured | captured, process | | | | terminates | | | | automatically | exw.exe +---------+--------------------+--------------------+ 2.4 | ? 1* | output is not | output is not | | | captured, a | captured, a | | | console window | console window | | | pops up that | pops up that | | | shows the error | shows the error | | | message | message | ------------+---------+--------------------+--------------------+ | ? 1 | output is | output is | | | captured | captured | exwc.exe +---------+--------------------+--------------------+ 2.4 | ? 1* | output is not | output is not | | | captured, process | captured, process | | | doesn't terminate! | doesn't terminate | | | | automatically, a | | | | "Terminate" button | | | | is displayed | ------------+---------+--------------------+--------------------+ It looks as if I can't reasonably use Eu 2.4 and ConTEXT on Win XP!! Are there other experiences concerning Eu 2.4, ConTEXT and Win XP? How do other editors behave in this regard? ConTEXT captures normal output and error messages of e.g. the Lua 5.0.2 interpreter on Win 98 and Win XP as expected. I would appreciate it, if EXWC.EXE 2.5 would work the same way. Regards, Juergen -- We don't know where to GOTO if we don't know where we've COME FROM. http://www.fortran.com/fortran/come_from.html
2. Re: Capturing console output on Windows
- Posted by Brian Broker <bkb at cnw.com> Oct 13, 2004
- 429 views
Juergen Luethje wrote: > > Hi all, > > I've been using Euphoria 2.4 for a long time successfully with the > ConTEXT editor on Windows 98. In ConTEXT I chose the option "Capture > console output", and I associated my .EXW programs with EXW.EXE. > This works fine, normal program output is captured by ConTEXT, > Euphoria's error messages are shown in a separate console window. <snip> So are you capturing error messages and sending them to the editor (like setting the cursor to the line causing the error)? I didn't have much luck with that the first time I tried so I just decided to associate the next 'exec key' with opening ex.err in notepad. I'll have to look into this again to see if I can come up with anything. -- Brian
3. Re: Capturing console output on Windows
- Posted by "Juergen Luethje" <j.lue at gmx.de> Oct 13, 2004
- 444 views
Brian Broker wrote: > Juergen Luethje wrote: >> >> Hi all, >> >> I've been using Euphoria 2.4 for a long time successfully with the >> ConTEXT editor on Windows 98. In ConTEXT I chose the option "Capture >> console output", and I associated my .EXW programs with EXW.EXE. >> This works fine, normal program output is captured by ConTEXT, >> Euphoria's error messages are shown in a separate console window. > <snip> > > So are you capturing error messages and sending them to the editor (like > setting the cursor to the line causing the error)? I'm just capturing the console output. I have no influence on what actually will be captured. That seems to depend on the Windows version. I just want to _see_ all output -- normal output and error messages, I do not (try to) set the cursor to the line causing the error. > I didn't have much > luck with that the first time I tried so I just decided to associate the > next 'exec key' with opening ex.err in notepad. Running my programs with EXWC.EXE (instead of EXW.EXE), this might work on Win XP. I'll try it out and tell you what happens on my system, thanks!! > I'll have to look into this again to see if I can come up with anything. Regards, Juergen