Re: Linux command-line-oriented programs in Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

Tom Dailey wrote:
> After reading about Euphoria, I downloaded and installed it
> in the hopes of it being a replacement for the combination
> of C shell scripts, awk programs, sed scripts, and grep
> commands I am continually cobbling together in the course of
> doing my job, which is software development. Now, I am
> informed that, since Euphoria uses curses for all of its
> Linux terminal I/O, it is not possible to write Euphoria
> programs that behave like ordinary Unix commands.
> 
> Is there an alternative version of Euphoria that does not
> suffer from this limitation? If not, does anyone know how
> difficult it would be to create such a version?

For the next release (3.0), I intend to create a separate version
of Euphoria that does not use ncurses, just plain vanilla
stdin/stdout/stderr. It won't be too difficult. It's just
a bit of an extra cost in terms of building and testing
multiple versions of things.

Linux/FreeBSD Euphoria uses ncurses because I wanted
it to be easy to port DOS Euphoria, and Windows console 
programs that do 2-d positioning of color text on the screen.
That allows simple text editors etc. to work across all platforms.

Things are not quite as problematic as you think.
You can, generally, use redirection of standard in/out/err 
with Euphoria programs to create file filters, CGI programs etc.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu