microcom
microcom copied to clipboard
minimalistic terminal program for communicating with devices over a serial connection
A board I got spews garbage on hard reset. Sometimes that garbage is IAC and it leads to len here getting negative and the loop eventually underflows the buf. Detect...
Hi `pengutronix/microcom`! This is a one-off automatically generated pull request from LGTM.com :robot:. You might have heard that we’ve integrated LGTM’s underlying CodeQL analysis engine natively into GitHub. The result...
Timestamps can be toggled with timestamps command or enabled with "-z --timestamps" argument.
Added timestamp option for STDOUT logs, on each line, option can be toggled from commands input.
This command can be useful as replacement for the clipboard, e.g. when working remotely over SSH, and when file transfer to the target is not available otherwise. Usage example (`glados`...
``` While microcom's stdout can be piped to another processes, it makes input somewhat of a hassle. Address this by teaching the --logfile flag and the log command that a...
While looking over #15, I noticed some issues with the way microcom handles signals. This fixes what was straight forward to fix. What remains is the access to `ios`, `ios->exit`...
Using 'struct termios2' with the 'TCGETS2' ioctl, custom baud rates could be supported. I need 1384200 for one board. My quick fix was to switch to picocom but custom rates...
@afa pointed out in https://github.com/pengutronix/microcom/pull/15#pullrequestreview-279354563 that with the signal handling in microcom errno cannot be `EINTR` when `write` or `read` returns with an error. This allows some cleanup. (But I...
This allows for choosing the escape character freely. The motivation for me is to make `microcom` a bit more Emacs friendly: now I can specify, e.g. `Ctrl-]` for being my...