Re: Standard Output...
- Posted by Robert Craig <rds at RapidEuphoria.com> Apr 17, 2002
- 450 views
Doug Miller writes: > I'm currently using Euphoria on Linux and I'm trying to figure out if > there is a way I can use stdout instead of the default way Euphoria > outputs to the screen. I'm doing a short application that makes several > system calls (to which I'd like to see the output) and as soon as the > program finishes I get returned to "Euphoria's Page" that only has > output that I've put there using puts or printf. Euphoria (exu) uses ncurses for output to the screen from puts, printf etc. After a system() or system_exec() call, exu restores the screen to the way it was, to avoid causing confusion for ncurses. I wonder if you could redirect your system() call output into a file, and then display the file. e.g. system("command > temp", 2) In the future there might be a way to "turn off" ncurses for Euphoria programs that don't want it. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com