I flashed Mecrisp FORTH onto a Bluepill board. I then connected the Bluepill board to a USB/TTL converter, which I then connected to the usb port of my laptop. I have been able to use both Putty and Minicom to communicate with the Bluepill board, however when I enter a line and get data from the Bluepill, and then hit return to enter another line, the new line starts at the same horizontal position as the previous line ended. Like this:
2 2 + . 4 ok.
...................42 emit * ok.
........................................2 7 + 3 - . 6 ok.
I'd like to have the new line start at the left of the window like this:
2 2 + . 4 ok.
42 emit * ok.
2 7 + 3 - . 6 ok.
I have seen the same behavior from both Minicom and Putty. I've looked through the documentation for both but can't find anything that addresses this issue. Is there some setting that I need to change?
I'm doing this on a Frameworks laptop running Ubuntu 22.04.1. The Bluepill and USB/TTL convertor boards are generics from wherever. Putty is version 0.76-2 amd64, and Minicom is version 2.8-2 amd64.
[SOLVED] I read some suggestions that I try changing the CR/LF settings in Putty. I wasn't able to change the settings in Putty, but was able to toggle the "Add Carriage Return" setting in Minicom. After doing that the output was what it should be.