Re: Linux command-line-oriented programs in Euphoria

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

Hi

Like a lot of things with euphoria, there is a work around. Try this (Linux
tested!)

include dll.e

sequence tmp

tmp = sprintf("Hello world", {})

system("echo " & tmp, 0)

free_console()


Ncurses writes to a created window, whereas system writes to the 'cooked'
terminal screen (if you know ncurses, you what I just said).

So you could do all your output using system calls, then when your program
exited, the output would appear.

Hope this helps

Chris

http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

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

Search



Quick Links

User menu

Not signed in.

Misc Menu