1
0
mirror of https://github.com/hsoft/collapseos.git synced 2025-04-02 11:38:40 +11:00

Document how to launch a REPL in the host

This commit is contained in:
Maykel Moya 2020-06-13 02:54:20 +02:00
parent 177750c928
commit 8fd583a6ac

View File

@ -32,6 +32,11 @@ Run `./forth` to get the Collapse OS prompt. Type `0 LIST` for help.
The program is a curses interface with a limited, fixed size so that it can
provide a AT-XY interface (which is yet to implement).
You can get a REPL by launching the program with [`rlwrap(1)`][rlwrap] like
this:
rlwrap -e '' -m -S '> ' ./forth /dev/stdin
## Problems?
If the `forth` executable works badly (hangs, spew garbage, etc.),
@ -52,3 +57,4 @@ is broken, but that is rather rare: the repo on Github is plugged on Travis
and it checks that everything is smooth.
[libz80]: https://github.com/ggambetta/libz80
[rlwrap]: https://linux.die.net/man/1/rlwrap