Re: Help wanted!

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

Robert Craig wrote:

>I believe you are seeing a "feature" of DOS. If you type something
>on the last line of the screen it will scroll up. This will
>make things look different than when you answer a prompt
>higher up on the screen. I was annoyed with this too, when I first saw it,
>but it would be difficult for Euphoria to always compensate
>for this behavior.

Please read this also:

>Your dialog.e solved most of a problem I had been working on.  I'm
>prompting the user for numerical input into a amortization program (isn't
>that what novices cut their teeth on?).  I wanted to reposition the cursor
>after  invalid input. Your routines solve the problem if the input is not
a
>number, but if the return key is hit the cursor falls to the next line.
>However, if I then input a letter it will reposition back to the proper
>position.

This is what another user reported and I think he is experiencing the same
problem. It is not only on the last lines of the screen that this is
happening.
The return key seems to do different things, running from Euphoria or from
DOS.
I tried programming a series of inputs() and puts(), without using '\n'.
Run from ed.ex this behaves as expected, printing everything on one line,
but from DOS the printing starts on a new line.

The question remains:

>Can you tell me how to reposition the cursor after an accidental hit of
the
>return key?

Thanks

Ad Rienks

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

Search



Quick Links

User menu

Not signed in.

Misc Menu