On Mon, Mar 22, 2021 at 01:11:28PM +0100, paul.ort...@aida-sea.com wrote:
> Hello all,
> 
> I am looking for any method to pause compilation, so that it goes on by
> smaller chunks and I have the time to examine successes and errors, then
> release it for one more screen etc.
> 
> Tried to insert prompts like key, key?, ekey? so that I hit eg the
> spacebar or down arrow to release it and run, but that seems to
> interfere with the flow, and halt it.
> 
> Idea anyone?

I think what you want is more.fs: Start Gforth with, e.g.

gforth more.fs myfile.fs

and it will stop and prompt after outputting a screenful, and any key
will get you the next screen.

It works in Gforth 0.7, but is broken at the moment in the development
version.

- anton

Reply via email to