github npat-efault/picocom 3.0
Release 3.0

latest release: 3.1
6 years ago

This a major release of picocom adding several new features, improving aspects of its operation, and fixing bugs.

The new features and most important improvements are listed below (in no particular order). For more details on the new command-line options and commands, see the picocom manual:

  • Added the --logfile command line option. For more, see discussion in issue #24, as well as the manual.

  • Added the --lower-rts and --lower-dtr command-line options. These options lower (reset) the respective modem control lines of the serial port, as soon as picocom starts and the port is configured. For more details, see the manual as well as this discussion.

  • Added the --initstring (or -t) command line option. This option can be used to send an initialization string to the serial port when picocom starts.

  • Added the --exit-after (or -x) command line option. Causes picocom to exit if it becomes idle for the specified time.

  • Added the -exit (or -X) command line option. Causes picocom to exit immediately after opening and configuring the serial port.

  • Added the --quiet (or -q) command line option. Suppress output from picocom that was not explicitly requested by the user. Errors and command responses are still printed.

  • Added the --no-escape (or -n) command line option. Disables the escape character. If given picocom will never enter command mode.

  • Added the --hangup (or -u) comand line option. If given together with --noreset, picocom will not reset the serial port to it's original settings on exit, but it will clear the modem control lines (typically DTR and RTS) to signal a modem hangup.

  • Added the [C-g] command that toggles the state of the RTS modem control line.

  • Added the [C-w] command (write hex) that pompts the user for a string of hexadecimal values to be converted to binary and sent to the port.

  • Added "to hex" character mappings (???hex), which replace characters with their hexadecimal representation. For more see issue #75, and the INPUT, OUTPUT, AND ECHO MAPPING section in the picocom manual.

  • Standard input can now be a non-tty (e.g a file or a pipe). Useful in some occasions for doing trivial non-interactive stuff.

  • Changed the way picocom handles reading zero-bytes from the standard input. Now picocom waits for the output queue to be transmitted before exiting, or waits to become idle before exiting (if the --exit-after option is given). See the new section EXITING PICOCOM in the manual for details.

  • Picocom's serial port output queue is now dynamically growable. You can still set an upper limit when compiling picocom, or allow it to grow as much as your system's memory allows. Usueful, for example, for doing huge copy-pastes. See issue #33.

  • Custom baudrates are now also supported for OSX (not only Linux). See PR #62.

  • Fixed some minor backwards compatibility issues. Now you can use command-line options compatible with 1.x. For more details see issue #69, and PR #70.

  • Now SIGINT, as well as SIGTERM, can kill picocom. May be useful when the standard input is not a tty.

Several other smaller improvements and bug fixes were made that are not listed here. See the commit logs for details.

As always, feedback, corrections, suggestions, and patches are welcome. Open issues here or email me.

Thanks for using picocom, and merry Christmas!

Don't miss a new picocom release

NewReleases is sending notifications on new releases.