I’ve been trying to use the command line tool cu to connect to the snapmaker and get some verbose logging via usb. Frankly, I’m just doing it to try to get information to disable that annoying confirmation screen so I can connect and upload files over wifi from my computer without walking back and forth 3 times before printing. It is also useful as a status monitor.
When I’m reading the stauts from the serial interface, it looks like they’re sending a linefeed, and not a carriage return. I can’t seem to find a stty to make it come out nicely carriage returned:
PACKAGE Snapmaker_V3.2.2 Module Ver:
Machine Size: L
EDIT: It looks nicely formatted above, but the issue is that it isn’t formatted very nicely on my terminal
When I’m connecting to the printer with my computer with cu, what kind of stty arguments can I use so I get the linefeed interpreted as a CR?
Here’s what I have for my stty:
$ stty -F /dev/ttyUSB0
speed 115200 baud; line = 0;
kill = ^H; min = 1; time = 1;
-brkint -icrnl ixoff -imaxbel
-opost ocrnl onlret
-isig -icanon -iexten -echo -echoe -echok