Results 74 comments of Chris Drake

p.s. "not specific hardware flow control" means:- xonxoff = True rtscts = False

Here is a python program which **does** work properly. It does not use pyserial: $ cat serial_info5.py ```python #!/usr/bin/env python3 import sys import os import fcntl import termios import struct...

I spent many more hours in Windows 10 trying to make a working version for that platform as well... progress is exhausting and so far without luck. I'm working with...

input contains line-end, so "equality" isn't precisely what you mean, but yes. this code works as-is, and is an infinite improvement over the status-quo (no authentication at all), so I...

And, of course, some kind of strong PKBDF needs to go in place of the "startsWith" function - no plaintext passwords (not even hashed ones) should *ever* be put in...

The size issue is almost exactly 3 x (not double, like I said before). i.e. Each time it's consumed X bytes, it flushes its buffer, and X=X*3 for next time......

Digging further into this... I notice that using a buffer size of 310 or less bytes tends not to cause the problem Using 320 or more bytes for the buffer,...

I spent all day trying to find and fix the bug, with no luck. I attempted to use IPC::Run3 as an alternative, but that has even more bugs, and doesn't...

OK - so another whole day on this problem, and I discovered this workaround. Basically - if IPC::Run does not consume the *entire* input you last gave it, you must...

Two+ more days on this problem, *again*... the bug appears to be inside Run.pm in the _select_loop handler: When the pipe is finish()'d it enters a loop which drains all...