Recommend picocom instead of minicom for console access - #97
Open
edgar-bonet wants to merge 1 commit into
Open
Conversation
This is a serial communication program, lighter and simpler to use than minicom.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For accessing the serial console, the documentation recommends
minicom. While minicom can indeed fulfill this role, this program is meant for controlling modems and, as such, has many features that are not relevant to our use case. These features, in turn, clutter the user interface (the menus) and make the program harder to use. Many online sources recommend minicom for accessing the serial console of an embedded device. Presumably, this is only because minicom has been around for ages, and old recipes get repeated over and over on the Internet.This pull request changes this recommendation, suggesting instead the use of picocom. As its name implies, picocom is a minimal communication program. It is about 10× smaller than minicom and, in contrast with it, it does not try to be a terminal emulator or to embed a scripting language. Instead, it just connects the terminal emulator you are already using with the serial port, then gets out of the way.
A couple of notes:
this pull request conflicts with Fix the case of two image file names #95, which is meant to fix image links in the section about minicom
this pull request works better in conjunction with Use a monospaced font for code blocks #96, as it shows some terminal output that is best viewed with a monospaced font.
As an alternative to both minicom and picocom, one could also use tio. I have chosen picocom above tio because the former is packaged by many Linux distributions and has been available for more than twenty years. For example, Debian has packaged: