Update doc/VirtualMachine.md

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

View File

@ -244,6 +244,9 @@ 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 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. 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`
script (a copy of `host/bin/vm-client`) to send VM commands to port `9000`.
### Test PBot ### Test PBot
All done. Everything is set up now. In your instance of PBot, the `sh echo hello` command should output `hello`. All done. Everything is set up now. In your instance of PBot, the `sh echo hello` command should output `hello`.