diff --git a/picocom.1 b/picocom.1 index 62d0cfc..2b9916d 100644 --- a/picocom.1 +++ b/picocom.1 @@ -1,7 +1,7 @@ .\" Automatically generated by Pandoc 1.16.0.2 .\" .ad l -.TH "PICOCOM" "1" "2018-02-01" "Picocom 3.2a" "User Commands" +.TH "PICOCOM" "1" "2018-02-08" "Picocom 3.2a" "User Commands" .nh \" Turn off hyphenation by default. .SH NAME .PP @@ -28,7 +28,8 @@ you are, most likely, already using (the terminal window application, xterm, rxvt, system console, etc). .PP When picocom starts it opens the tty (serial port) given as its -non\-option argument. +non\-option argument (or the \f[I]last\f[] non\-option argument, if +multiple are given). Unless the \f[B]\-\-noinit\f[] option is given, it configures the port to the settings specified by the option\-arguments (or to some default settings), and sets it to "raw" mode. diff --git a/picocom.1.html b/picocom.1.html index ac3e2ac..7e0a069 100644 --- a/picocom.1.html +++ b/picocom.1.html @@ -11,7 +11,7 @@
picocom - minimal dumb-terminal emulation program
@@ -20,7 +20,7 @@As its name suggests, picocom(1) is a minimal dumb-terminal emulation program. It is, in principle, very much like minicom(1), only it's "pico" instead of "mini"! It was designed to serve as a simple, manual, modem configuration, testing, and debugging tool. It has also served (quite well) as a low-tech serial communications program to allow access to all types of devices that provide serial consoles. It could also prove useful in many other similar tasks.
In effect, picocom is not an "emulator" per-se. It is a simple program that opens, configures, manages a serial port (tty device) and its settings, and connects to it the terminal emulator you are, most likely, already using (the terminal window application, xterm, rxvt, system console, etc).
-When picocom starts it opens the tty (serial port) given as its non-option argument. Unless the --noinit option is given, it configures the port to the settings specified by the option-arguments (or to some default settings), and sets it to "raw" mode. If --noinit is given, the initialization and configuration is skipped; the port is just opened. Following this, if standard input is a tty, picocom sets the tty to raw mode. Then it goes in a loop where it listens for input from stdin, or from the serial port. Input from the serial port is copied to the standard output while input from the standard input is copied to the serial port. Picocom also scans its input stream for a user-specified control character, called the escape character (being by default C-a). If the escape character is seen, then instead of sending it to the serial-device, the program enters "command mode" and waits for the next character (which is called the "function character"). Depending on the value of the function character, picocom performs one of the operations described in the COMMANDS section below.
+When picocom starts it opens the tty (serial port) given as its non-option argument (or the last non-option argument, if multiple are given). Unless the --noinit option is given, it configures the port to the settings specified by the option-arguments (or to some default settings), and sets it to "raw" mode. If --noinit is given, the initialization and configuration is skipped; the port is just opened. Following this, if standard input is a tty, picocom sets the tty to raw mode. Then it goes in a loop where it listens for input from stdin, or from the serial port. Input from the serial port is copied to the standard output while input from the standard input is copied to the serial port. Picocom also scans its input stream for a user-specified control character, called the escape character (being by default C-a). If the escape character is seen, then instead of sending it to the serial-device, the program enters "command mode" and waits for the next character (which is called the "function character"). Depending on the value of the function character, picocom performs one of the operations described in the COMMANDS section below.
Commands are given to picocom by first keying the espace character which by default is C-a (see OPTIONS below for how to change it), and then keying one of the function (command) characters shown here.