1. Euphoria on Linux

Hello,

A long time ago. Now I am on Linux.

In a Bash script I would replace the simple 'read'
command with a  editable line, in Euphoria.
I make the routine and its work fine.
I have however two problems :
1- How can I prevent Euphoria from clearing the screen
at start or/and at end of run. (I call the routine into
a shell script)?
2- How can I pass the edited string to the shell for
further use ?

Thank you for any suggestion.

  (o-      Jean-Claude
  //\     ------------------------------------------
  v_/_  jean.hendrickx at skynet.be
  -----------------------------------------------------
-----Message d'origine-----
De : Automatic digest processor <LISTSERV at LISTSERV.MUOHIO.EDU>
À : Recipients of EUPHORIA digests <EUPHORIA at LISTSERV.MUOHIO.EDU>
Date : dimanche 13 février 2000 7:06
Objet : EUPHORIA Digest - 11 Feb 2000 to 12 Feb 2000 (#2000-44)

new topic     » topic index » view message » categorize

2. Re: Euphoria on Linux

Jean-Claude Hendrickx writes:

> 1- How can I prevent Euphoria from clearing the screen
> at start or/and at end of run.

When you print something to the screen, Euphoria
starts Curses, which clears the screen. When you are
running in an xterm, the screen will be also be cleared
at the end, after a prompt "Press Enter" is issued.
In a plain text console there is no clearing at the end and
no prompt. You can stop the prompt in xterm by calling
free_console() in dll.e just before your program terminates,
after it has finished writing to the screen. In that case, the screen
will be cleared immediately when your program terminates.

If I can find a good way to avoid the clearing at the start and end
I will implement it. It's complicated to avoid this when using Curses.

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu