Update doc/VirtualMachine.md

This commit is contained in:
Pragmatic Software 2022-01-29 19:19:32 -08:00
parent 41c2203038
commit fbb74bbca3
1 changed files with 5 additions and 3 deletions

View File

@ -244,11 +244,13 @@ To start the PBot VM Host server, execute the `vm-server` script in the
This will start a TCP server on port `9000`. It will listen for incoming commands and
pass them along to the virtual machine's TCP serial port.
The PBot instance is already preconfigured with commands that invoke the `applets/compiler_client.pl`
### Test PBot
All done. Everything is set up now.
PBot is already preconfigured with commands that invoke the `applets/compiler_client.pl`
script (a copy of `host/bin/vm-client`) to send VM commands to port `9000`.
### Test PBot
All done. Everything is set up now. In your instance of PBot, the `sh echo hello` command should output `hello`.
In your instance of PBot, the `sh echo hello` command should output `hello`.
<pragma-> sh echo hello
<PBot> hello