SMOLNET PORTAL home about changes

Mecrisp Forth Terminal Settings


This is what works for me, connecting to Mecrisp Forth on my Rpi Pico, through a picoprobe.

picocom --send-cmd "ascii-xfr -l 100 -s" -b 115200 --imap "lfcrlf" /dev/ttyACM0


The "ascii-xfr" part is how I am sending code files to Mecrisp to be compiled - rather than doing a copy and paste. When in Picocom, use C-a C-s to send a file. Of course, you can still just type in code when desired.

The "-l 100" part is for adding a 100 ms delay after each line is sent. This seems to fix a problem I had with losing some of the words which are sent.

The "imap" part is for translating the LF end-of-line character, outputted by Mecrisp, to CRLF. Otherwise after pressing the return key, the terminal does not go back to the beginning of the line.

Response: 20 (Success), text/gemini
Original URLgemini://gem.librehacker.com/gemlog/tech/20220411-0.gmi
Status Code20 (Success)
Content-Typetext/gemini; charset=utf-8