Minicom inside Minicom
I use Minicom as a serial terminal in most of my embedded systems projects. Recently I discovered how to use a Minicom session inside another Minicom session. It is not a trivial matter if you don’t know how to change the settings in Minicom. This was helpful when other means of accessing the terminal in the target system such as ssh were unavailable.
When started without special command line arguments, Minicom defaults to Ctrl-A as the command key combination. Once you have issued Ctrl-A, you can press any of several keys which do different things.
In order to run another Minicom session within the one you are running currently, you need to change the command key (Default Ctrl-A). You would do this by doing the following steps:
-
Ctrl-A o
-
Screen and Keyboard
-
A
-
Press the new key combination (I changed mine to Ctrl-B)
Now that you have changed the the command key combination for your first Minicom session, you can start another session. Obviously this would work only if the second Minicom session is setup to use a command key other than Ctrl-B. Since the default is Ctrl-A, you don’t have to do anything to the second session. You can probably run even more Minicom sessions by just changing the command key but I have never tried it. Besides, if you need more sessions, you probably ought to find a better way of accessing the target system.