1
0
mirror of https://github.com/UzixLS/picocom.git synced 2025-07-19 07:21:18 +03:00

Updated manual

This commit is contained in:
Nick Patavalis
2012-02-21 08:53:42 +00:00
parent afcfc6829b
commit cf16687fa5
4 changed files with 595 additions and 359 deletions

View File

@ -50,7 +50,7 @@ Pulse the DTR line. Lower it for 1 sec, and then raise it again.
.B C-t
Toggle the DTR line. If DTR is up, then lower it. If it is down, then raise it.
.TP 3
.B C-\e
.B C-backslash
Generate a break sequence on the serial line. A break sequence is usually generated by marking (driving to logical one) the serial Tx line for an amount of time coresponding to several character durations.
.TP 3
.B C-u
@ -68,6 +68,9 @@ Cycle through parity settings (even, odd, none).
.B C-b
Cycle through databits-number settings (5, 6, 7, 8).
.TP 3
.B C-c
Toggle local-echo mode.
.TP 3
.B C-v
Show program options (like baud rate, data bits, etc). Only the options that can be modified online (through commands) are shown, not those that can only be set at the command-line.
.TP 3
@ -124,6 +127,42 @@ During the picocom session, if you key the "send" or "receive" commands (e.g. by
. Pressing 'C-c' at any other time, has no special effect; the character is normally passed to the serial port.
.br
.sp 0.6v
.SH INPUT, OUTPUT, AND ECHO MAPPING
Using the "--imap", "--omap", and "--emap" options you can make
.B picocom
map (tranlate, replace) certain special characters after being read from the serial port (with
.I --imap
), before being written to the serial port (with
.I --omap
), and before being locally echoed to the terminal (standard output) if local echo is enabled (with
.I --emap
). These mapping options take, each, a single argument which is a comma-separated list of one or more of the following identifiers:
.IP \(em 3
crlf: map CR to LF
.IP \(em 3
crcrlf: map CR to CR + LF
.IP \(em 3
igncr: ignore CR
.IP \(em 3
lfcr: map LF to CR
.IP \(em 3
lfcrlf: map LF to CR + LF
.IP \(em 3
ignlf: ignore LF
.IP \(em 3
bsdel: map BS --> DEL
.IP \(em 3
delbs: map DEL --> BS
.PP
For example the command:
.br
.sp 0.6v
picocom --omap crlf,delbs --imap inglf,bsdel --emap crcrlf ...
.br
.sp 0.6v
will: Replace every CR (carriage return, 0x0d) caracter with LF (line feed, 0x0a) and every DEL (delete, 0x7f) character with BS (backspace, 0x08) before writing it to the serial port. Ignore (not write to the terminal) every LF character read from the serial port and replace every BS character read from the serial port with DEL. Replace every CR character with CR and LF when echoing to the terminal (if local-echo is enabled).
.br
.sp 0.6v
.SH OPTIONS
.B picocom
accepts the following command-line options
@ -169,6 +208,14 @@ Defines the character that will make picocom enter command-mode (see description
.sp 0.6v
(Default: 'a')
.TP 3
.B --echo | -c
Enable local echo. Every character being read from the terminal (standard input) is echoed to the terminal (standard output) subject to the echo-mapping configuration (see
.I --emap
option.
.br
.sp 0.6v
(Default: Disabled)
.TP 3
.B --noinit | -i
If given,
.B picocom
@ -202,6 +249,24 @@ Specifies the external program (and any arguments to it) that will be used for r
.sp 0.6v
(Default: "rz -vv")
.TP 3
.B --imap
Specifies the input character map (i.e. special characters to be replaced when read from the serial port). Example: "--imap crlf,delbs"
.br
.sp 0.6v
(Defaul: Empty)
.TP 3
.B --omap
Specifies the output character map (i.e. special characters to be replaced before being written to serial port). Example: "--omap crcrlf,bsdel"
.br
.sp 0.6v
(Defaul: Empty)
.TP 3
.B --emap
Specifies the local-echo character map (i.e. special characters to be replaced before being echoed-back to the terminal, if local-echo is enabled). Example: "--emap crcrlf,bsdel"
.br
.sp 0.6v
(Defaul: delbs,crcrlf)
.TP 3
.B --help | -h
Print a short help message describing the command-line options.
.PP

View File

@ -122,7 +122,7 @@ picocom -- minimal dumb-terminal emulation program
</p>
</dd>
<dt><b>
C-\e
C-backslash
</b></dt>
<dd>
<p>
@ -176,6 +176,14 @@ picocom -- minimal dumb-terminal emulation program
Cycle through databits-number settings (5, 6, 7, 8).
</p>
</dd>
<dt><b>
C-c
</b></dt>
<dd>
<p>
Toggle local-echo mode.
</p>
</dd>
<dt><b>
C-v
</b></dt>
@ -295,6 +303,61 @@ picocom -- minimal dumb-terminal emulation program
</p>
</td></tr></table></center>
<h2>INPUT, OUTPUT, AND ECHO MAPPING</h2>
<center><table width="90%"><tr><td>
<p>
Using the "--imap", "--omap", and "--emap" options you can make
<b>picocom</b> map (tranlate, replace) certain special characters
after being read from the serial port (with <i>--imap</i>), before
being written to the serial port (with <i>--omap</i>), and before
being locally echoed to the terminal (standard output) if local
echo is enabled (with <i>--emap</i>). These mapping options take,
each, a single argument which is a comma-separated list of one or
more of the following identifiers:
</p>
<ul>
<li>
crlf: map CR to LF
</li>
<li>
crcrlf: map CR to CR + LF
</li>
<li>
igncr: ignore CR
</li>
<li>
lfcr: map LF to CR
</li>
<li>
lfcrlf: map LF to CR + LF
</li>
<li>
ignlf: ignore LF
</li>
<li>
bsdel: map BS --> DEL
</li>
<li>
delbs: map DEL --> BS
</li>
</ul>
<p>
For example the command:
</p>
<p>
picocom --omap crlf,delbs --imap inglf,bsdel --emap crcrlf ...
</p>
<p>
will: Replace every CR (carriage return, 0x0d) caracter with LF
(line feed, 0x0a) and every DEL (delete, 0x7f) character with BS
(backspace, 0x08) before writing it to the serial port. Ignore
(not write to the terminal) every LF character read from the
serial port and replace every BS character read from the serial
port with DEL. Replace every CR character with CR and LF when
echoing to the terminal (if local-echo is enabled).
</p>
</td></tr></table></center>
<h2>OPTIONS</h2>
<center><table width="90%"><tr><td>
<p>
@ -392,6 +455,20 @@ picocom -- minimal dumb-terminal emulation program
(Default: 'a')
</p>
</dd>
<dt><b>
--echo | -c
</b></dt>
<dd>
<p>
Enable local echo. Every character being read from the
terminal (standard input) is echoed to the terminal (standard
output) subject to the echo-mapping configuration (see <i>--emap</i>
option.
</p>
<p>
(Default: Disabled)
</p>
</dd>
<dt><b>
--noinit | -i
</b></dt>
@ -458,6 +535,46 @@ picocom -- minimal dumb-terminal emulation program
(Default: "rz -vv")
</p>
</dd>
<dt><b>
--imap
</b></dt>
<dd>
<p>
Specifies the input character map (i.e. special characters to
be replaced when read from the serial port). Example: "--imap
crlf,delbs"
</p>
<p>
(Defaul: Empty)
</p>
</dd>
<dt><b>
--omap
</b></dt>
<dd>
<p>
Specifies the output character map (i.e. special characters to
be replaced before being written to serial port). Example:
"--omap crcrlf,bsdel"
</p>
<p>
(Defaul: Empty)
</p>
</dd>
<dt><b>
--emap
</b></dt>
<dd>
<p>
Specifies the local-echo character map (i.e. special
characters to be replaced before being echoed-back to the
terminal, if local-echo is enabled). Example: "--emap
crcrlf,bsdel"
</p>
<p>
(Defaul: delbs,crcrlf)
</p>
</dd>
<dt><b>
--help | -h
</b></dt>

View File

@ -1,16 +1,21 @@
%!PS-Adobe-3.0
%%Creator: groff version 1.18.1
%%CreationDate: Sat May 29 01:58:32 2010
%%Creator: groff version 1.21
%%CreationDate: Tue Feb 21 10:04:53 2012
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%+ font Times-Italic
%%DocumentSuppliedResources: procset grops 1.18 1
%%DocumentSuppliedResources: procset grops 1.21 0
%%Pages: 4
%%PageOrder: Ascend
%%DocumentMedia: Default 612 792 0 () ()
%%Orientation: Portrait
%%EndComments
%%BeginDefaults
%%PageMedia: Default
%%EndDefaults
%%BeginProlog
%%BeginResource: procset grops 1.18 1
%%BeginResource: procset grops 1.21 0
%!PS-Adobe-3.0 Resource-ProcSet
/setpacking where{
pop
currentpacking
@ -67,6 +72,7 @@ exch pop add exch pop
/level0 save def
1 setlinecap
1 setlinejoin
DEFS/BPhook known{DEFS begin BPhook end}if
72 RES div dup scale
LS{
90 rotate
@ -78,7 +84,7 @@ LS{
/EP{
level0 restore
showpage
}bind def
}def
/DA{
newpath arcn stroke
}bind def
@ -111,22 +117,31 @@ TM setmatrix
/Fr{
setrgbcolor fill
}bind def
/setcmykcolor where{
pop
/Fk{
setcmykcolor fill
}bind def
}if
/Fg{
setgray fill
}bind def
/FL/fill load def
/LW/setlinewidth load def
/Cr/setrgbcolor load def
/setcmykcolor where{
pop
/Ck/setcmykcolor load def
}if
/Cg/setgray load def
/RE{
findfont
dup maxlength 1 index/FontName known not{1 add}if dict begin
{
1 index/FID ne{def}{pop pop}ifelse
1 index/FID ne
2 index/UniqueID ne
and
{def}{pop pop}ifelse
}forall
/Encoding exch def
dup/FontName exch def
@ -163,9 +178,11 @@ newpath
/CNT countdictstack def
userdict begin
/showpage{}def
/setpagedevice{}def
mark
}bind def
/PEND{
clear
cleartomark
countdictstack CNT sub{end}repeat
level1 restore
}bind def
@ -175,6 +192,11 @@ pop
setpacking
}if
%%EndResource
%%EndProlog
%%BeginSetup
%%BeginFeature: *PageSize Default
<< /PageSize [ 612 792 ] /ImagingBBox null >> setpagedevice
%%EndFeature
%%IncludeResource: font Times-Roman
%%IncludeResource: font Times-Bold
%%IncludeResource: font Times-Italic
@ -208,371 +230,305 @@ def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
/Times-Italic@0 ENC0/Times-Italic RE/Times-Bold@0 ENC0/Times-Bold RE
/Times-Roman@0 ENC0/Times-Roman RE
%%EndProlog
%%EndSetup
%%Page: 1 1
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 373.3
<7069636f636f6d283829207069636f636f6d283829>72 48 R/F1 10.95
/Times-Bold@0 SF -.219<4e41>72 84 S<4d45>.219 E F0<7069636f636f6d20ad20
6d696e696d616c2064756d622d7465726d696e616c20656d756c6174696f6e2070726f67
72616d>108 96 Q F1<53594e4f50534953>72 112.8 Q/F2 10/Times-Bold@0 SF
<7069636f636f6d205b>108 124.8 Q/F3 10/Times-Italic@0 SF<6f7074696f6e73>
2.73 E F2<5d>2.77 E F3<6465>2.85 E<76696365>-.15 E F1
<4445534352495054494f4e>72 141.6 Q F0 1.423
<417320697473206e616d652073756767657374732c>108 153.6 R F2
<7069636f636f6d>3.923 E F0 1.423<69732061206d696e696d616c2064756d622d74
65726d696e616c20656d756c6174696f6e2070726f6772616d2e2049742069732c20696e
207072696e6369706c652c2076>3.923 F<657279>-.15 E .938<6d756368206c696b>
108 165.6 R<65>-.1 E F2<6d696e69636f6d283129>3.438 E F0 3.439<2c6f>3.439
G .939<6e6c7920697427>-3.439 F 3.439<7322>-.55 G .939
<7069636f2220696e7374656164206f6620226d696e6922212049742077>-3.439 F
.939<61732064657369676e656420746f2073657276>-.1 F 3.439<6561>-.15 G
3.439<736173>-3.439 G .939<696d706c652c206d616e75616c2c>-3.439 F .757<6d
6f64656d20636f6e8c6775726174696f6e2c2074657374696e672c20616e6420646562>
108 177.6 R .757
<756767696e6720746f6f6c2e2049742068617320616c736f2073657276>-.2 F .756
<6564202871756974652077656c6c292061732061206c6f>-.15 F .756
<772d7465636820227465726d696e616c2d>-.25 F<77696e646f>108 189.6 Q .865
<772220746f20616c6c6f>-.25 F 3.365<776f>-.25 G .865
<70657261746f7220696e74657276>-3.365 F .865<656e74696f6e20696e2050505020
636f6e6e656374696f6e20736372697074732028736f6d657468696e67206c696b>-.15
F 3.366<6574>-.1 G .866<6865206d732d77696e646f>-3.366 F .866
<777320226f70656e>-.25 F<7465726d696e616c2077696e646f>108 201.6 Q 2.5
<7762>-.25 G<65666f7265202f206166746572206469616c696e672220666561747572
65292e20497420636f756c6420616c736f2070726f>-2.5 E .3 -.15<76652075>-.15
H<736566756c20696e206d616e>.15 E 2.5<796f>-.15 G
<746865722073696d696c6172207461736b732e>-2.5 E<5768656e>108 220.8 Q F2
<7069636f636f6d>3.989 E F0 1.489<737461727473206974206f70656e7320746865
207465726d696e616c202873657269616c206465>3.989 F 1.489<7669636529206769>
-.25 F -.15<7665>-.25 G 3.989<6e61>.15 G 3.988<7369>-3.989 G 1.488
<7473206e6f6e2d6f7074696f6e206172>-3.988 F 1.488
<67756d656e742e20556e6c65737320746865>-.18 F F3<2d2d6e6f696e6974>108.01
232.8 Q F0 1.333<6f7074696f6e206973206769>4.513 F -.15<7665>-.25 G 1.333
<6e2c20697420636f6e8c677572657320746865206465>.15 F 1.333<7669636520746f
207468652073657474696e67732073706563698c656420627920746865206f7074696f6e
2d6172>-.25 F 1.334<67756d656e747320286f7220746f>-.18 F .487
<736f6d6520646566>108 244.8 R .487
<61756c742073657474696e6773292c20616e64207365747320697420746f20227261>
-.1 F .487<7722206d6f64652e204966>-.15 F F3<2d2d6e6f696e6974>2.996 E F0
.486<6973206769>3.666 F -.15<7665>-.25 G .486<6e2c2074686520696e69746961
6c697a6174696f6e20616e6420636f6e8c6775726174696f6e206973>.15 F .667
<736b69707065643b20746865206465>108 256.8 R .667
<76696365206973206a757374206f70656e65642e2046>-.25 F<6f6c6c6f>-.15 E
.667<77696e6720746869732c>-.25 F F2<7069636f636f6d>3.167 E F0 .667<7365
747320746865207374616e646172642d696e70757420616e64207374616e646172642d6f
757470757420746f>3.167 F<7261>108 268.8 Q 3.289<776d>-.15 G .789
<6f64652e204861>-3.289 F .789<76696e6720646f6e6520736f2c20697420676f6573
20696e2061206c6f6f70207768657265206974206c697374656e7320666f7220696e7075
742066726f6d20737464696e2c206f722066726f6d207468652073657269616c20706f72
742e>-.2 F .589<496e7075742066726f6d207468652073657269616c20706f72742069
7320636f7069656420746f20746865207374616e64617264206f7574707574207768696c
6520696e7075742066726f6d20746865207374616e6461726420696e7075742069732063
6f7069656420746f>108 280.8 R .105<7468652073657269616c20706f72742e>108
292.8 R F2<7069636f636f6d>5.105 E F0 .105<616c736f207363616e732069747320
696e7075742073747265616d20666f7220612075736572>2.605 F .105
<2d73706563698c656420636f6e74726f6c20636861726163746572>-.2 F 2.605
<2c63>-.4 G .105<616c6c6564207468652022657363617065>-2.605 F .554
<6368617261637465722220286265696e6720627920646566>108 304.8 R .555<6175
6c742022432d6122292e2049662074686520657363617065206368617261637465722069
73207365656e2c207468656e20696e7374656164206f662073656e64696e672069742074
6f207468652073657269616c2d>-.1 F<6465>108 316.8 Q .179<766963652c207468
652070726f6772616d20656e746572732022636f6d6d616e64206d6f64652220616e6420
77>-.25 F .179<6169747320666f7220746865206e65>-.1 F .178<78742063686172
6163746572202877686963682069732063616c6c656420746865202266756e6374696f6e>
-.15 F 1.572
<63686172616374657222292e20446570656e64696e67206f6e207468652076>108
328.8 R 1.573
<616c7565206f66207468652066756e6374696f6e20636861726163746572>-.25 F<2c>
-.4 E F2<7069636f636f6d>4.073 E F0 1.573
<706572666f726d73206f6e65206f6620746865206f7065726174696f6e73>4.073 F<64
657363726962656420696e207468652022436f6d6d616e6473222073656374696f6e2062
656c6f>108 340.8 Q -.65<772e>-.25 G F1<434f4d4d414e4453>72 364.8 Q F0
1.588<436f6d6d616e647320617265206769>108 376.8 R -.15<7665>-.25 G 4.088
<6e74>.15 G<6f>-4.088 E F2<7069636f636f6d>4.088 E F0 1.588
<6279208c727374206b>4.088 F -.15<6579>-.1 G 1.587<696e672074686520226573
70616365206368617261637465722220776869636820627920646566>.15 F 1.587
<61756c742069732022432d61222028736565>-.1 F .671
<224f7074696f6e73222062656c6f>108 388.8 R 3.171<776f>-.25 G 3.172<6e68>
-3.171 G 1.172 -.25<6f772074>-3.172 H 3.172<6f63>.25 G .672
<68616e6765206974292c20616e64207468656e206b>-3.172 F -.15<6579>-.1 G
.672<696e67206f6e6520666f72207468652066756e6374696f6e2028636f6d6d616e64
2920636861726163746572732073686f>.15 F<776e>-.25 E<686572652e>108 400.8
Q F2<5b657363617065206368617261637465725d>108 417.6 Q F0 1.244<53656e64
20746865206573636170652063686172616374657220746f207468652073657269616c20
706f727420616e642072657475726e20746f20227472616e73706172656e7422206d6f64
652e2054686973206d65616e73207468617420696620746865>123 429.6 R .358
<65736361706520636861726163746572202822432d61222c20627920646566>123
441.6 R .359<61756c74292069732074797065642074776963652c207468652070726f
6772616d2073656e647320746865206573636170652063686172616374657220746f2074
68652073657269616c>-.1 F .054<706f72742c20616e642072656d61696e7320696e20
7472616e73706172656e74206d6f64652e20546869732069732061206e65>123 453.6 R
2.553<7762>-.25 G<656861>-2.553 E .053
<76696f7220696d706c656d656e74656420696e2076312e342e20507265>-.2 F .053
<76696f75736c79207069636f636f6d>-.25 F<7573656420746f2069676e6f72652074
6865206573636170652d636861726163746572207768656e2069742077>123 465.6 Q
<617320656e746572656420617320612066756e6374696f6e20636861726163746572>
-.1 E<2e>-.55 E F2<432d78>108 482.4 Q F0 .567<45786974207468652070726f67
72616d3a2069662074686520222d2d6e6f726573657422206f7074696f6e2077>123
494.4 R .567<6173206e6f74206769>-.1 F -.15<7665>-.25 G 3.067<6e74>.15 G
.567<68656e207468652073657269616c20706f727420697320726573657420746f2069
7473206f726967696e616c207365742d>-3.067 F<74696e6773206265666f72652065>
123 506.4 Q<786974696e673b2069662069742077>-.15 E<6173206769>-.1 E -.15
<7665>-.25 G 2.5<6e74>.15 G
<68652073657269616c20706f7274206973206e6f742072657365742e>-2.5 E F2
<432d71>108 523.2 Q F0<51756974207468652070726f6772616d202a776974686f75
742a207265736574696e67207468652073657269616c20706f72742c207265>123 535.2
Q -.05<6761>-.15 G
<72646c657373206f662074686520222d2d6e6f726573657422206f7074696f6e2e>.05
E F2<432d70>108 552 Q F0<50756c73652074686520445452206c696e652e204c6f>
123 564 Q<77657220697420666f722031207365632c20616e64207468656e2072616973
65206974206167>-.25 E<61696e2e>-.05 E F2<432d74>108 580.8 Q F0 -.8<546f>
123 592.8 S<67676c652074686520445452206c696e652e204966204454522069732075
702c207468656e206c6f>.8 E<7765722069742e20496620697420697320646f>-.25 E
<776e2c207468656e2072616973652069742e>-.25 E F2<432d5c>108 609.6 Q F0
.026<47656e6572617465206120627265616b2073657175656e6365206f6e2074686520
73657269616c206c696e652e204120627265616b2073657175656e636520697320757375
616c6c792067656e657261746564206279206d61726b696e672028647269>123 621.6 R
<76696e67>-.25 E<746f206c6f676963616c206f6e6529207468652073657269616c20
5478206c696e6520666f7220616e20616d6f756e74206f662074696d6520636f72657370
6f6e64696e6720746f207365>123 633.6 Q -.15<7665>-.25 G
<72616c20636861726163746572206475726174696f6e732e>.15 E F2<432d75>108
650.4 Q F0 .601<426175642075702e20496e6372656173652074686520626175642d72
6174652e20546865206c697374206f6620626175642d726174657320737465707065642d
7468726f756768206279207468697320636f6d6d616e642069733a203330302c20363030
2c>123 662.4 R<313230302c20323430302c20343830302c20393630302c2031393230
302c2033383430302c2035373630302c203131353230302e>123 674.4 Q F2<432d64>
108 691.2 Q F0 1.555<4261756420646f>123 703.2 R 1.555<776e2e204465637265
6173652074686520626175642d726174652e20546865206c697374206f6620626175642d
726174657320737465707065642d7468726f756768206279207468697320636f6d6d616e
6420697320746865>-.25 F
<73616d6520617320666f72207468652022626175642d75702220636f6d6d616e642e>
123 715.2 Q<31>535 768 Q 0 Cg EP
/F0 10/Times-Roman@0 SF 373.3(picocom\(8\) picocom\(8\))72 48 R/F1 10.95
/Times-Bold@0 SF -.219(NA)72 84 S(ME).219 E F0
(picocom \255 minimal dumb-terminal emulation program)108 96 Q F1
(SYNOPSIS)72 112.8 Q/F2 10/Times-Bold@0 SF(picocom [)108 124.8 Q/F3 10
/Times-Italic@0 SF(options)2.73 E F2(])2.77 E F3(de)2.85 E(vice)-.15 E
F1(DESCRIPTION)72 141.6 Q F0 1.423(As its name suggests,)108 153.6 R F2
(picocom)3.923 E F0 1.423
(is a minimal dumb-terminal emulation program. It is, in principle, v)
3.923 F(ery)-.15 E .938(much lik)108 165.6 R(e)-.1 E F2(minicom\(1\))
3.438 E F0 3.439(,o)3.439 G .939(nly it')-3.439 F 3.439(s")-.55 G .939
(pico" instead of "mini"! It w)-3.439 F .939(as designed to serv)-.1 F
3.439(ea)-.15 G 3.439(sas)-3.439 G .939(imple, manual,)-3.439 F .757
(modem con\214guration, testing, and deb)108 177.6 R .757
(ugging tool. It has also serv)-.2 F .756(ed \(quite well\) as a lo)-.15
F .756(w-tech "terminal-)-.25 F(windo)108 189.6 Q .865(w" to allo)-.25 F
3.365(wo)-.25 G .865(perator interv)-3.365 F .865
(ention in PPP connection scripts \(something lik)-.15 F 3.366(et)-.1 G
.866(he ms-windo)-3.366 F .866(ws "open)-.25 F(terminal windo)108 201.6
Q 2.5(wb)-.25 G(efore / after dialing" feature\). It could also pro)-2.5
E .3 -.15(ve u)-.15 H(seful in man).15 E 2.5(yo)-.15 G
(ther similar tasks.)-2.5 E(When)108 220.8 Q F2(picocom)3.989 E F0 1.489
(starts it opens the terminal \(serial de)3.989 F 1.489(vice\) gi)-.25 F
-.15(ve)-.25 G 3.989(na).15 G 3.988(si)-3.989 G 1.488(ts non-option ar)
-3.988 F 1.488(gument. Unless the)-.18 F F3(--noinit)108.01 232.8 Q F0
1.333(option is gi)4.513 F -.15(ve)-.25 G 1.333
(n, it con\214gures the de).15 F 1.333
(vice to the settings speci\214ed by the option-ar)-.25 F 1.334
(guments \(or to)-.18 F .487(some def)108 244.8 R .487
(ault settings\), and sets it to "ra)-.1 F .487(w" mode. If)-.15 F F3
(--noinit)2.996 E F0 .486(is gi)3.666 F -.15(ve)-.25 G .486
(n, the initialization and con\214guration is).15 F .667
(skipped; the de)108 256.8 R .667(vice is just opened. F)-.25 F(ollo)
-.15 E .667(wing this,)-.25 F F2(picocom)3.167 E F0 .667
(sets the standard-input and standard-output to)3.167 F(ra)108 268.8 Q
3.289(wm)-.15 G .789(ode. Ha)-3.289 F .789(ving done so, it goes in a l\
oop where it listens for input from stdin, or from the serial port.)-.2
F .589(Input from the serial port is copied to the standard output whil\
e input from the standard input is copied to)108 280.8 R .105
(the serial port.)108 292.8 R F2(picocom)5.105 E F0 .105
(also scans its input stream for a user)2.605 F .105
(-speci\214ed control character)-.2 F 2.605(,c)-.4 G .105
(alled the "escape)-2.605 F .554(character" \(being by def)108 304.8 R
.555(ault "C-a"\). If the escape character is seen, then instead of sen\
ding it to the serial-)-.1 F(de)108 316.8 Q .179
(vice, the program enters "command mode" and w)-.25 F .179
(aits for the ne)-.1 F .178
(xt character \(which is called the "function)-.15 F 1.572
(character"\). Depending on the v)108 328.8 R 1.573
(alue of the function character)-.25 F(,)-.4 E F2(picocom)4.073 E F0
1.573(performs one of the operations)4.073 F
(described in the "Commands" section belo)108 340.8 Q -.65(w.)-.25 G F1
(COMMANDS)72 364.8 Q F0 1.588(Commands are gi)108 376.8 R -.15(ve)-.25 G
4.088(nt).15 G(o)-4.088 E F2(picocom)4.088 E F0 1.588(by \214rst k)4.088
F -.15(ey)-.1 G 1.587(ing the "espace character" which by def).15 F
1.587(ault is "C-a" \(see)-.1 F .671("Options" belo)108 388.8 R 3.171
(wo)-.25 G 3.172(nh)-3.171 G 1.172 -.25(ow t)-3.172 H 3.172(oc).25 G
.672(hange it\), and then k)-3.172 F -.15(ey)-.1 G .672
(ing one for the function \(command\) characters sho).15 F(wn)-.25 E
(here.)108 400.8 Q F2([escape character])108 417.6 Q F0 1.244(Send the \
escape character to the serial port and return to "transparent" mode. T\
his means that if the)123 429.6 R .358(escape character \("C-a", by def)
123 441.6 R .359(ault\) is typed twice, the program sends the escape ch\
aracter to the serial)-.1 F .054
(port, and remains in transparent mode. This is a ne)123 453.6 R 2.553
(wb)-.25 G(eha)-2.553 E .053(vior implemented in v1.4. Pre)-.2 F .053
(viously picocom)-.25 F(used to ignore the escape-character when it w)
123 465.6 Q(as entered as a function character)-.1 E(.)-.55 E F2(C-x)108
482.4 Q F0 .567(Exit the program: if the "--noreset" option w)123 494.4
R .567(as not gi)-.1 F -.15(ve)-.25 G 3.067(nt).15 G .567
(hen the serial port is reset to its original set-)-3.067 F
(tings before e)123 506.4 Q(xiting; if it w)-.15 E(as gi)-.1 E -.15(ve)
-.25 G 2.5(nt).15 G(he serial port is not reset.)-2.5 E F2(C-q)108 523.2
Q F0(Quit the program *without* reseting the serial port, re)123 535.2 Q
-.05(ga)-.15 G(rdless of the "--noreset" option.).05 E F2(C-p)108 552 Q
F0(Pulse the DTR line. Lo)123 564 Q
(wer it for 1 sec, and then raise it ag)-.25 E(ain.)-.05 E F2(C-t)108
580.8 Q F0 -.8(To)123 592.8 S(ggle the DTR line. If DTR is up, then lo)
.8 E(wer it. If it is do)-.25 E(wn, then raise it.)-.25 E F2
(C-backslash)108 609.6 Q F0 .026(Generate a break sequence on the seria\
l line. A break sequence is usually generated by marking \(dri)123 621.6
R(ving)-.25 E(to logical one\) the serial Tx line for an amount of time\
coresponding to se)123 633.6 Q -.15(ve)-.25 G(ral character durations.)
.15 E F2(C-u)108 650.4 Q F0 .601(Baud up. Increase the baud-rate. The l\
ist of baud-rates stepped-through by this command is: 300, 600,)123
662.4 R(1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200.)123 674.4 Q
F2(C-d)108 691.2 Q F0 1.555(Baud do)123 703.2 R 1.555(wn. Decrease the \
baud-rate. The list of baud-rates stepped-through by this command is th\
e)-.25 F(same as for the "baud-up" command.)123 715.2 Q(1)535 768 Q 0 Cg
EP
%%Page: 2 2
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 373.3
<7069636f636f6d283829207069636f636f6d283829>72 48 R/F1 10/Times-Bold@0
SF<432d66>108 84 Q F0<4379636c65207468726f756768208d6f>123 96 Q
<772d636f6e74726f6c2073657474696e6773202852>-.25 E
<54532f4354532c20584f4e2f584f4646>-.6 E 2.5<2c6e>-.8 G<6f6e65292e>-2.5 E
F1<432d79>108 112.8 Q F0
<4379636c65207468726f756768207061726974792073657474696e6773202865>123
124.8 Q -.15<7665>-.25 G<6e2c206f64642c206e6f6e65292e>.15 E F1<432d62>
108 141.6 Q F0<4379636c65207468726f7567682064617461626974732d6e756d6265
722073657474696e67732028352c20362c20372c2038292e>123 153.6 Q F1<432d76>
108 170.4 Q F0<53686f>123 182.4 Q 4.02<7770>-.25 G 1.52
<726f6772616d206f7074696f6e7320286c696b>-4.02 F 4.02<6562>-.1 G 1.521<61
756420726174652c206461746120626974732c20657463292e204f6e6c7920746865206f
7074696f6e7320746861742063616e206265206d6f64698c6564206f6e6c696e65>-4.02
F<287468726f75676820636f6d6d616e647329206172652073686f>123 194.4 Q<776e
2c206e6f742074686f736520746861742063616e206f6e6c792062652073657420617420
74686520636f6d6d616e642d6c696e652e>-.25 E F1<432d73>108 211.2 Q F0<5365
6e64202875706c6f6164292061208c6c652028736565202253656e64696e6720616e6420
5265636569>123 223.2 Q<76696e672046696c6573222062656c6f>-.25 E<7729>-.25
E F1<432d72>108 240 Q F0<5265636569>123 252 Q .3 -.15<76652028>-.25 H
<646f>.15 E<776e6c6f6164292061208c6c652028736565202253656e64696e6720616e
64205265636569>-.25 E<76696e672046696c6573222062656c6f>-.25 E<7729>-.25
E .054<416674657220706572666f726d696e67206f6e65206f66207468652061626f>
108 268.8 R .354 -.15<7665206f>-.15 H .054
<7065726174696f6e73207468652070726f6772616d206c6561>.15 F -.15<7665>-.2
G 2.554<7374>.15 G .054<686520636f6d6d616e64206d6f646520616e6420656e7465
7273207472616e73706172656e74>-2.554 F<6d6f64652e204578616d706c653a2054>
108 280.8 Q 2.5<6f69>-.8 G
<6e6372656173652074686520626175642d72617465206279207477>-2.5 E 2.5<6f73>
-.1 G<746570732c20796f75206861>-2.5 E .3 -.15<76652074>-.2 H 2.5<6f74>
.15 G<7970653a>-2.5 E<432d612c20432d752c20432d612c20432d75>108 300 Q<61
7373756d696e67206f662d636f7572736520746861742022432d61222069732074686520
65736361706520636861726163746572>108 319.2 Q<2e>-.55 E/F2 10.95
/Times-Bold@0 SF<53454e44494e4720414e4420524543454956494e472046494c4553>
72 343.2 Q F1<7069636f636f6d>108 355.2 Q F0 .427
<63616e2073656e6420616e64207265636569>2.926 F .727 -.15<7665208c>-.25 H
.427<6c6573206f>.15 F -.15<7665>-.15 G 2.927<7274>.15 G .427
<68652073657269616c20706f7274207573696e672065>-2.927 F .427<787465726e61
6c2070726f6772616d73207468617420696d706c656d656e742074686520726573706563
2d>-.15 F<7469>108 367.2 Q .3 -.15<76652070>-.25 H<726f746f636f6c732e20
496e204c696e7578207479706963616c2070726f6772616d7320666f7220746869732070
7572706f7365206172653a>.15 E<8a>108 384 Q F1<7278283129>5 E F0 2.5<2d72>
2.5 G<65636569>-2.5 E .3 -.15<76652075>-.25 H
<73696e672074686520582d4d4f44454d2070726f746f636f6c>.15 E<8a>108 400.8 Q
F1<7262283129>5 E F0 2.5<2d72>2.5 G<65636569>-2.5 E .3 -.15<76652075>
-.25 H<73696e67207468652059>.15 E<2d4d4f44454d2070726f746f636f6c>-1.11 E
<8a>108 417.6 Q F1<727a283129>5 E F0 2.5<2d72>2.5 G<65636569>-2.5 E .3
-.15<76652075>-.25 H<73696e6720746865205a2d4d4f44454d2070726f746f636f6c>
.15 E<8a>108 434.4 Q F1<7378283129>5 E F0 2.5<2d73>2.5 G
<656e64207573696e672074686520582d4d4f44454d2070726f746f636f6c>-2.5 E<8a>
108 451.2 Q F1<7362283129>5 E F0 2.5<2d73>2.5 G
<656e64207573696e67207468652059>-2.5 E<2d4d4f44454d2070726f746f636f6c>
-1.11 E<8a>108 468 Q F1<737a283129>5 E F0 2.5<2d73>2.5 G
<656e64207573696e6720746865205a2d4d4f44454d2070726f746f636f6c>-2.5 E<8a>
108 484.8 Q F1<61736369692d786672283129>5 E F0 2.5<2d72>2.5 G<65636569>
-2.5 E .3 -.15<7665206f>-.25 H 2.5<7274>.15 G
<72616e736d6974204153434949208c6c6573>-2.5 E .692<546865206e616d65206f66
2c20616e642074686520636f6d6d616e642d6c696e65206f7074696f6e7320746f2c2074
68652070726f6772616d20746f206265207573656420666f72207472616e736d69747469
6e67208c6c657320617265206769>108 501.6 R -.15<7665>-.25 G 3.191<6e62>.15
G<79>-3.191 E 2.843<74686520222d2d73656e642d636d6422206f7074696f6e2e2053
696d696c61726c79207468652070726f6772616d20746f207265636569>108 513.6 R
3.143 -.15<7665208c>-.25 H 2.843<6c65732c20616e6420697473206172>.15 F
2.844<67756d6574732c20617265206769>-.18 F -.15<7665>-.25 G 5.344<6e62>
.15 G 5.344<7974>-5.344 G<6865>-5.344 E<222d2d7265636569>108 525.6 Q
-.15<7665>-.25 G .118<2d636d6422206f7074696f6e2e2046>.15 F .117
<6f722065>-.15 F .117
<78616d706c652c20696e206f7264657220746f2073746172742061>-.15 F F1
<7069636f636f6d>2.617 E F0 .117<73657373696f6e20746861742075736573202273
7a2220746f207472616e736d6974208c6c65732c20616e64>2.617 F
<22727a2220746f207265636569>108 537.6 Q -.15<7665>-.25 G 2.5<2c79>.15 G
<6f75206861>-2.5 E .3 -.15<76652074>-.2 H 2.5<6f73>.15 G
<617920736f6d657468696e67206c696b>-2.5 E 2.5<6574>-.1 G<6869733a>-2.5 E
<7069636f636f6d202d2d73656e642d636d642022737a202d767622202d2d7265636569>
108 556.8 Q -.15<7665>-.25 G<2d636d642022727a202d767622>.15 E .309<4475
72696e6720746865207069636f636f6d2073657373696f6e2c20696620796f75206b>108
576 R .609 -.15<65792074>-.1 H .309
<6865202273656e6422206f7220227265636569>.15 F -.15<7665>-.25 G 2.809
<2263>.15 G .309<6f6d6d616e64732028652e672e206279207072657373696e672043
2d612c20432d732c206f7220432d>-2.809 F .431<612c20432d722920796f75207769
6c6c2062652070726f6d7074656420666f722061208c6c656e616d652e20417420746869
732070726f6d707420796f752063616e20656e746572206f6e65206f72206d6f7265208c
6c652d6e616d65732c20616e6420616e>108 588 R<79>-.15 E .487
<6164646974696f6e616c206172>108 600 R .487<67756d656e747320746f20746865
207472616e736d697373696f6e206f7220726563657074696f6e2070726f6772616d2e20
416674657220746861742c207069636f636f6d2077696c6c207374617274207468652074
68652065>-.18 F<78746572>-.15 E<2d>-.2 E .403<6e616c2070726f6772616d2061
732073706563698c65642062792074686520222d2d73656e642d636d64222c206f722022
2d2d7265636569>108 612 R -.15<7665>-.25 G .403
<2d636d6422206f7074696f6e2c20616e64207769746820616e>.15 F 2.902<798c>
-.15 G .402<6c656e616d657320616e6420616464692d>-2.902 F 1.195
<74696f6e616c206172>108 624 R 1.195
<67756d656e747320796f75206d6179206861>-.18 F 1.495 -.15<76652073>-.2 H
1.195<7570706c6965642e20546865207374616e6461726420696e70757420616e64206f
7574707574206f66207468652065>.15 F 1.195
<787465726e616c2070726f6772616d2077696c6c206265>-.15 F .851<636f6e6e6563
74656420746f207468652073657269616c20706f72742e20546865207374616e64617264
206572726f72206f66207468652065>108 636 R .851<787465726e616c2070726f6772
616d2077696c6c20626520636f6e6e656374656420746f20746865207465726d696e616c>
-.15 F 1.399<77686963682d2d2d7768696c65207468652070726f6772616d20697320
72756e6e696e672d2d2d77696c6c207265>108 648 R -.15<7665>-.25 G 1.399<7274
20746f2063616e6f6e6963616c206d6f64652e205072657373696e672027432d63272077
68696c65207468652065>.15 F<787465726e616c>-.15 E<70726f6772616d20697320
72756e6e696e672077696c6c207072656d61747572656c79207465726d696e6174652069
742c20616e642072657475726e20636f6e74726f6c20746f>108 660 Q F1
<7069636f636f6d>2.5 E F2<4f5054494f4e53>72 684 Q F1<7069636f636f6d>108
696 Q F0<616363657074732074686520666f6c6c6f>2.5 E
<77696e6720636f6d6d616e642d6c696e65206f7074696f6e73>-.25 E<32>535 768 Q
0 Cg EP
/F0 10/Times-Roman@0 SF 373.3(picocom\(8\) picocom\(8\))72 48 R/F1 10
/Times-Bold@0 SF(C-f)108 84 Q F0(Cycle through \215o)123 96 Q
(w-control settings \(R)-.25 E(TS/CTS, XON/XOFF)-.6 E 2.5(,n)-.8 G
(one\).)-2.5 E F1(C-y)108 112.8 Q F0(Cycle through parity settings \(e)
123 124.8 Q -.15(ve)-.25 G(n, odd, none\).).15 E F1(C-b)108 141.6 Q F0
(Cycle through databits-number settings \(5, 6, 7, 8\).)123 153.6 Q F1
(C-c)108 170.4 Q F0 -.8(To)123 182.4 S(ggle local-echo mode.).8 E F1
(C-v)108 199.2 Q F0(Sho)123 211.2 Q 4.02(wp)-.25 G 1.52
(rogram options \(lik)-4.02 F 4.02(eb)-.1 G 1.521(aud rate, data bits, \
etc\). Only the options that can be modi\214ed online)-4.02 F
(\(through commands\) are sho)123 223.2 Q
(wn, not those that can only be set at the command-line.)-.25 E F1(C-s)
108 240 Q F0(Send \(upload\) a \214le \(see "Sending and Recei)123 252 Q
(ving Files" belo)-.25 E(w\))-.25 E F1(C-r)108 268.8 Q F0(Recei)123
280.8 Q .3 -.15(ve \()-.25 H(do).15 E
(wnload\) a \214le \(see "Sending and Recei)-.25 E(ving Files" belo)-.25
E(w\))-.25 E .054(After performing one of the abo)108 297.6 R .354 -.15
(ve o)-.15 H .054(perations the program lea).15 F -.15(ve)-.2 G 2.554
(st).15 G .054(he command mode and enters transparent)-2.554 F
(mode. Example: T)108 309.6 Q 2.5(oi)-.8 G(ncrease the baud-rate by tw)
-2.5 E 2.5(os)-.1 G(teps, you ha)-2.5 E .3 -.15(ve t)-.2 H 2.5(ot).15 G
(ype:)-2.5 E(C-a, C-u, C-a, C-u)108 328.8 Q
(assuming of-course that "C-a" is the escape character)108 348 Q(.)-.55
E/F2 10.95/Times-Bold@0 SF(SENDING AND RECEIVING FILES)72 372 Q F1
(picocom)108 384 Q F0 .427(can send and recei)2.926 F .727 -.15(ve \214)
-.25 H .427(les o).15 F -.15(ve)-.15 G 2.927(rt).15 G .427
(he serial port using e)-2.927 F .427
(xternal programs that implement the respec-)-.15 F(ti)108 396 Q .3 -.15
(ve p)-.25 H(rotocols. In Linux typical programs for this purpose are:)
.15 E<8a>108 412.8 Q F1(rx\(1\))123 412.8 Q F0 2.5(-r)2.5 G(ecei)-2.5 E
.3 -.15(ve u)-.25 H(sing the X-MODEM protocol).15 E<8a>108 429.6 Q F1
(rb\(1\))123 429.6 Q F0 2.5(-r)2.5 G(ecei)-2.5 E .3 -.15(ve u)-.25 H
(sing the Y).15 E(-MODEM protocol)-1.11 E<8a>108 446.4 Q F1(rz\(1\))123
446.4 Q F0 2.5(-r)2.5 G(ecei)-2.5 E .3 -.15(ve u)-.25 H
(sing the Z-MODEM protocol).15 E<8a>108 463.2 Q F1(sx\(1\))123 463.2 Q
F0 2.5(-s)2.5 G(end using the X-MODEM protocol)-2.5 E<8a>108 480 Q F1
(sb\(1\))123 480 Q F0 2.5(-s)2.5 G(end using the Y)-2.5 E
(-MODEM protocol)-1.11 E<8a>108 496.8 Q F1(sz\(1\))123 496.8 Q F0 2.5
(-s)2.5 G(end using the Z-MODEM protocol)-2.5 E<8a>108 513.6 Q F1
(ascii-xfr\(1\))123 513.6 Q F0 2.5(-r)2.5 G(ecei)-2.5 E .3 -.15(ve o)
-.25 H 2.5(rt).15 G(ransmit ASCII \214les)-2.5 E .692(The name of, and \
the command-line options to, the program to be used for transmitting \
\214les are gi)108 530.4 R -.15(ve)-.25 G 3.191(nb).15 G(y)-3.191 E
2.843(the "--send-cmd" option. Similarly the program to recei)108 542.4
R 3.143 -.15(ve \214)-.25 H 2.843(les, and its ar).15 F 2.844
(gumets, are gi)-.18 F -.15(ve)-.25 G 5.344(nb).15 G 5.344(yt)-5.344 G
(he)-5.344 E("--recei)108 554.4 Q -.15(ve)-.25 G .118(-cmd" option. F)
.15 F .117(or e)-.15 F .117(xample, in order to start a)-.15 F F1
(picocom)2.617 E F0 .117
(session that uses "sz" to transmit \214les, and)2.617 F("rz" to recei)
108 566.4 Q -.15(ve)-.25 G 2.5(,y).15 G(ou ha)-2.5 E .3 -.15(ve t)-.2 H
2.5(os).15 G(ay something lik)-2.5 E 2.5(et)-.1 G(his:)-2.5 E
(picocom --send-cmd "sz -vv" --recei)108 585.6 Q -.15(ve)-.25 G
(-cmd "rz -vv").15 E .309(During the picocom session, if you k)108 604.8
R .609 -.15(ey t)-.1 H .309(he "send" or "recei).15 F -.15(ve)-.25 G
2.809("c).15 G .309(ommands \(e.g. by pressing C-a, C-s, or C-)-2.809 F
.431(a, C-r\) you will be prompted for a \214lename. At this prompt you\
can enter one or more \214le-names, and an)108 616.8 R(y)-.15 E .487
(additional ar)108 628.8 R .487(guments to the transmission or receptio\
n program. After that, picocom will start the the e)-.18 F(xter)-.15 E
(-)-.2 E .403
(nal program as speci\214ed by the "--send-cmd", or "--recei)108 640.8 R
-.15(ve)-.25 G .403(-cmd" option, and with an).15 F 2.902<798c>-.15 G
.402(lenames and addi-)-2.902 F 1.195(tional ar)108 652.8 R 1.195
(guments you may ha)-.18 F 1.495 -.15(ve s)-.2 H 1.195
(upplied. The standard input and output of the e).15 F 1.195
(xternal program will be)-.15 F .851
(connected to the serial port. The standard error of the e)108 664.8 R
.851(xternal program will be connected to the terminal)-.15 F 1.399
(which---while the program is running---will re)108 676.8 R -.15(ve)-.25
G 1.399(rt to canonical mode. Pressing 'C-c' while the e).15 F(xternal)
-.15 E(program is running will prematurely terminate it, and return con\
trol to)108 688.8 Q F1(picocom)2.5 E F0(2)535 768 Q 0 Cg EP
%%Page: 3 3
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 373.3
<7069636f636f6d283829207069636f636f6d283829>72 48 R/F1 10/Times-Bold@0
SF<2d2d62617564207c202d62>108 84 Q F0<44658c6e65732074686520626175642d72
61746520746f20736574207468652073657269616c2d706f727420287465726d696e616c
2920746f2e>123 96 Q F1<2d2d8d6f>108 112.8 Q 2.5<777c2d>-.1 G<66>-2.5 E
F0<44658c6e657320746865208d6f>123 124.8 Q<772d636f6e74726f6c206d6f646520
746f20736574207468652073657269616c2d706f727420746f2e204d757374206265206f
6e65206f663a>-.25 E 5<8ab4>123 141.6 S<782720666f7220786f6e2f786f66>-5 E
2.5<6628>-.25 G<736f667477>-2.5 E<61726529206d6f6465>-.1 E 5<8ab4>123
158.4 S<682720666f72206861726477>-5 E<617265208d6f>-.1 E 2.5<7763>-.25 G
<6f6e74726f6c202852>-2.5 E<54532f43545329>-.6 E 5<8ab4>123 175.2 S
<6e2720666f72206e6f208d6f>-5 E 2.5<7763>-.25 G<6f6e74726f6c>-2.5 E
<28446566>123 192 Q<61756c743a20276e2729>-.1 E F1
<2d2d706172697479207c202d70>108 208.8 Q F0<44658c6e65732074686520706172
697479206d6f646520746f20736574207468652073657269616c2d706f727420746f2e20
4d757374206265206f6e65206f663a>123 220.8 Q 5<8ab4>123 237.6 S
<6f2720666f72206f646420706172697479206d6f64652e>-5 E 5<8ab4>123 254.4 S
<652720666f722065>-5 E -.15<7665>-.25 G 2.5<6e70>.15 G
<6172697479206d6f64652e>-2.5 E 5<8ab4>123 271.2 S
<6e2720666f72206e6f20706172697479>-5 E 2.5<2c6d>-.65 G<6f64652e>-2.5 E
<28446566>123 288 Q<61756c743a20276e2729>-.1 E F1
<2d2d6461746162697473207c202d64>108 304.8 Q F0
<44658c6e657320746865206e756d626572206f662064617461206269747320696e2065>
123 316.8 Q -.15<7665>-.25 G<727920636861726163746572>.15 E 2.5<2e4d>
-.55 G<757374206265206f6e65206f663a20352c20362c20372c2038>-2.5 E
<28446566>123 336 Q<61756c743a203829>-.1 E F1
<2d2d657361637065207c202d65>108 352.8 Q F0 1.151
<44658c6e6573207468652063686172616374657220746861742077696c6c206d616b>
123 364.8 R 3.651<6570>-.1 G 1.151<69636f636f6d20656e74657220636f6d6d61
6e642d6d6f64652028736565206465736372697074696f6e2061626f>-3.651 F -.15
<7665>-.15 G 1.15<292e20496620277827206973>.15 F<6769>123 376.8 Q -.15
<7665>-.25 G<6e2c207468656e20432d782077696c6c206d616b>.15 E 2.5<6570>-.1
G<69636f636f6d20656e74657220636f6d6d616e64206d6f64652e>-2.5 E<28446566>
123 396 Q<61756c743a2027612729>-.1 E F1<2d2d6e6f696e6974207c202d69>108
412.8 Q F0 .846<4966206769>123 424.8 R -.15<7665>-.25 G<6e2c>.15 E F1
<7069636f636f6d>3.346 E F0 .847<77696c6c206e6f7420696e697469616c697a652c
2072657365742c206f72206f7468657277697365206d6564646c65207769746820746865
2073657269616c20706f72742061742073746172742d75702e2049742077696c6c>3.346
F 1.706
<6a757374206f70656e2069742e20546869732069732075736566756c2c20666f722065>
123 436.8 R 1.706<78616d706c652c20666f7220636f6e6e656374696e67>-.15 F F1
<7069636f636f6d>4.206 E F0 1.705
<746f20616c72656164792d636f6e6e6563746564206d6f64656d732c206f72>4.205 F
.864<616c726561647920636f6e8c677572656420706f72747320776974686f75742074
65726d696e6174696e672074686520636f6e6e656374696f6e2c206f7220616c74657269
6e67207468652073657474696e67732e2049662072657175697265642073657269616c>
123 448.8 R<706f727420706172616d65746572732063616e207468656e206265206164
6a75737465642061742072756e2d74696d6520627920636f6d6d616e64732e>123 460.8
Q F1<2d2d6e6f72>108 477.6 Q<65736574207c202d72>-.18 E F0 .18<4966206769>
123 489.6 R -.15<7665>-.25 G<6e2c>.15 E F1<7069636f636f6d>2.68 E F0 .18<
77696c6c206e6f74202a72657365742a207468652073657269616c20706f727420776865
6e2065>2.68 F .18<786974696e672e2049742077696c6c206a75737420636c6f736520
746865208c6c6564657320616e6420646f206e6f74682d>-.15 F .798
<696e67206d6f72652e20546869732069732075736566756c2c20666f722065>123
501.6 R .798<78616d706c652c20666f72206c6561>-.15 F .798
<76696e67206d6f64656d7320636f6e6e6563746564207768656e2065>-.2 F
<786974696e67>-.15 E F1 .798<7069636f636f6d207069636f636f6d>3.298 F F0
.42<7573696e67207468652022517569742220636f6d6d616e642028696e737465616420
6f6620224578697422292c207768696368206e65>123 513.6 R -.15<7665>-.25 G
2.92<7272>.15 G .42<6573657473207468652073657269616c20706f72742e20496620
222d2d6e6f726573657422206973206769>-2.92 F -.15<7665>-.25 G<6e>.15 E
<7468656e2022517569742220616e64202245786974222062656861>123 525.6 Q .3
-.15<76652065>-.2 H<7373656e7469616c6c79207468652073616d652e>.15 E F1
<2d2d6e6f6c6f636b207c202d6c>108 542.4 Q F0 2.07<4966206769>123 554.4 R
-.15<7665>-.25 G<6e2c>.15 E F1<7069636f636f6d>4.57 E F0 2.07<77696c6c20
2a6e6f742a20617474656d707420746f206c6f636b207468652073657269616c20706f72
74206265666f7265206f70656e696e672069742e204e6f726d616c6c79207069636f636f
6d>4.57 F .456<617474656d70747320746f20676574206120555543502d7374796c65
206c6f636b2d8c6c652028652e672e20222f76>123 566.4 R .456<61722f6c6f636b2f
4c434b2e2e74747953302229206265666f7265206f70656e696e672074686520706f7274
2e2046>-.25 F .456<61696c696e6720746f>-.15 F .913
<646f20736f2c20726573756c747320696e207468652070726f6772616d2065>123
578.4 R .914
<786974696e6720616674657220656d697474696e6720616e206572726f72>-.15 F
.914<2d6d6573736167652e20497420697320706f737369626c65207468617420796f75
72207069636f636f6d>-.2 F<62696e61727920697320636f6d70696c65642077697468
6f75742074686973206f7074696f6e2e>123 590.4 Q F1
<2d2d73656e642d636d64207c202d73>108 607.2 Q F0
<53706563698c6573207468652065>123 619.2 Q
<787465726e616c2070726f6772616d2028616e6420616e>-.15 E 2.5<7961>-.15 G
-.18<7267>-2.5 G<756d656e747320746f2069742920746861742077696c6c20626520
7573656420666f72207472616e736d697474696e67208c6c65732e>.18 E<446566>123
638.4 Q<61756c743a2022737a202d767622>-.1 E F1<2d2d72>108 655.2 Q
<65636569>-.18 E -.1<7665>-.1 G<2d636d64207c202d76>.1 E F0
<53706563698c6573207468652065>123 667.2 Q
<787465726e616c2070726f6772616d2028616e6420616e>-.15 E 2.5<7961>-.15 G
-.18<7267>-2.5 G<756d656e747320746f2069742920746861742077696c6c20626520
7573656420666f72207265636569>.18 E<76696e67208c6c65732e>-.25 E<28446566>
123 686.4 Q<61756c743a2022727a202d76762229>-.1 E F1
<2d2d68656c70207c202d68>108 703.2 Q F0<5072696e7420612073686f7274206865
6c70206d6573736167652064657363726962696e672074686520636f6d6d616e642d6c69
6e65206f7074696f6e732e>123 715.2 Q<33>535 768 Q 0 Cg EP
/F0 10/Times-Roman@0 SF 373.3(picocom\(8\) picocom\(8\))72 48 R/F1 10.95
/Times-Bold@0 SF(INPUT)72 84 Q 2.738(,O)-.81 G(UTPUT)-2.738 E 2.738(,A)
-.81 G(ND ECHO MAPPING)-2.738 E F0 .373
(Using the "--imap", "--omap", and "--emap" options you can mak)108 96 R
(e)-.1 E/F2 10/Times-Bold@0 SF(picocom)2.873 E F0 .372
(map \(tranlate, replace\) certain)2.873 F .214
(special characters after being read from the serial port \(with)108 108
R/F3 10/Times-Italic@0 SF(--imap)2.724 E F0 .215
(\), before being written to the serial port)2.905 F(\(with)108 120 Q F3
(--omap)3.34 E F0 .83(\), and before being locally echoed to the termin\
al \(standard output\) if local echo is enabled)3.52 F(\(with)108 132 Q
F3(--emap)3.495 E F0 .985(\). These mapping options tak)3.675 F .986
(e, each, a single ar)-.1 F .986
(gument which is a comma-separated list of)-.18 F
(one or more of the follo)108 144 Q(wing identi\214ers:)-.25 E<8a>108
160.8 Q(crlf: map CR to LF)123 160.8 Q<8a>108 177.6 Q
(crcrlf: map CR to CR + LF)123 177.6 Q<8a>108 194.4 Q(igncr: ignore CR)
123 194.4 Q<8a>108 211.2 Q(lfcr: map LF to CR)123 211.2 Q<8a>108 228 Q
(lfcrlf: map LF to CR + LF)123 228 Q<8a>108 244.8 Q(ignlf: ignore LF)123
244.8 Q<8a>108 261.6 Q(bsdel: map BS --> DEL)123 261.6 Q<8a>108 278.4 Q
(delbs: map DEL --> BS)123 278.4 Q -.15(Fo)108 295.2 S 2.5(re).15 G
(xample the command:)-2.65 E
(picocom --omap crlf,delbs --imap inglf,bsdel --emap crcrlf ...)108
314.4 Q .86(will: Replace e)108 333.6 R -.15(ve)-.25 G .86(ry CR \(carr\
iage return, 0x0d\) caracter with LF \(line feed, 0x0a\) and e).15 F
-.15(ve)-.25 G .86(ry DEL \(delete,).15 F .054(0x7f\) character with BS\
\(backspace, 0x08\) before writing it to the serial port. Ignore \(not\
write to the termi-)108 345.6 R .782(nal\) e)108 357.6 R -.15(ve)-.25 G
.781(ry LF character read from the serial port and replace e).15 F -.15
(ve)-.25 G .781(ry BS character read from the serial port).15 F 1.42
(with DEL. Replace e)108 369.6 R -.15(ve)-.25 G 1.42(ry CR character wi\
th CR and LF when echoing to the terminal \(if local-echo is).15 F
(enabled\).)108 381.6 Q F1(OPTIONS)72 405.6 Q F2(picocom)108 417.6 Q F0
(accepts the follo)2.5 E(wing command-line options)-.25 E F2
(--baud | -b)108 434.4 Q F0
(De\214nes the baud-rate to set the serial-port \(terminal\) to.)123
446.4 Q F2(--\215o)108 463.2 Q 2.5(w|-)-.1 G(f)-2.5 E F0
(De\214nes the \215o)123 475.2 Q
(w-control mode to set the serial-port to. Must be one of:)-.25 E<8a>123
492 Q(\264x' for xon/xof)138 492 Q 2.5(f\()-.25 G(softw)-2.5 E
(are\) mode)-.1 E<8a>123 508.8 Q(\264h' for hardw)138 508.8 Q(are \215o)
-.1 E 2.5(wc)-.25 G(ontrol \(R)-2.5 E(TS/CTS\))-.6 E<8a>123 525.6 Q
(\264n' for no \215o)138 525.6 Q 2.5(wc)-.25 G(ontrol)-2.5 E(\(Def)123
542.4 Q(ault: 'n'\))-.1 E F2(--parity | -p)108 559.2 Q F0
(De\214nes the parity mode to set the serial-port to. Must be one of:)
123 571.2 Q<8a>123 588 Q(\264o' for odd parity mode.)138 588 Q<8a>123
604.8 Q(\264e' for e)138 604.8 Q -.15(ve)-.25 G 2.5(np).15 G
(arity mode.)-2.5 E<8a>123 621.6 Q(\264n' for no parity)138 621.6 Q 2.5
(,m)-.65 G(ode.)-2.5 E(\(Def)123 638.4 Q(ault: 'n'\))-.1 E F2
(--databits | -d)108 655.2 Q F0(De\214nes the number of data bits in e)
123 667.2 Q -.15(ve)-.25 G(ry character).15 E 2.5(.M)-.55 G
(ust be one of: 5, 6, 7, 8)-2.5 E(\(Def)123 686.4 Q(ault: 8\))-.1 E F2
(--esacpe | -e)108 703.2 Q F0 1.151
(De\214nes the character that will mak)123 715.2 R 3.651(ep)-.1 G 1.151
(icocom enter command-mode \(see description abo)-3.651 F -.15(ve)-.15 G
1.15(\). If 'x' is).15 F(gi)123 727.2 Q -.15(ve)-.25 G
(n, then C-x will mak).15 E 2.5(ep)-.1 G(icocom enter command mode.)-2.5
E(3)535 768 Q 0 Cg EP
%%Page: 4 4
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 373.3
<7069636f636f6d283829207069636f636f6d283829>72 48 R/F1 10.95
/Times-Bold@0 SF -.548<4155>72 84 S<54484f52>.548 E F0
<7069636f636f6d2077>108 96 Q<6173207772697474656e206279204e69636b2050>
-.1 E<617461>-.15 E -.25<7661>-.2 G<6c697320286e706174406566>.25 E
<61756c742e6e657429>-.1 E F1 -1.04 -1.588<41562041>72 120 T
<494c4142494c495459>1.588 E F0<546865206c61746573742076>108 132 Q
<657273696f6e206f6620227069636f636f6d222063616e20626520646f>-.15 E
<776e6c6f616465642066726f6d3a>-.25 E/F2 10/Times-Bold@0 SF
<687474703a2f2f636f64652e676f6f676c652e636f6d2f702f7069636f636f6d2f>2.5
E F0<34>535 768 Q 0 Cg EP
/F0 10/Times-Roman@0 SF 373.3(picocom\(8\) picocom\(8\))72 48 R(\(Def)
123 84 Q(ault: 'a'\))-.1 E/F1 10/Times-Bold@0 SF(--echo | -c)108 100.8 Q
F0 .193(Enable local echo. Ev)123 112.8 R .193(ery character being read\
from the terminal \(standard input\) is echoed to the termi-)-.15 F(na\
l \(standard output\) subject to the echo-mapping con\214guration \(see)
123 124.8 Q/F2 10/Times-Italic@0 SF(--emap)2.51 E F0(option.)2.69 E
(\(Def)123 144 Q(ault: Disabled\))-.1 E F1(--noinit | -i)108 160.8 Q F0
.847(If gi)123 172.8 R -.15(ve)-.25 G(n,).15 E F1(picocom)3.347 E F0
.846(will not initialize, reset, or otherwise meddle with the serial po\
rt at start-up. It will)3.347 F 1.705
(just open it. This is useful, for e)123 184.8 R 1.706
(xample, for connecting)-.15 F F1(picocom)4.206 E F0 1.706
(to already-connected modems, or)4.206 F .864(already con\214gured port\
s without terminating the connection, or altering the settings. If requ\
ired serial)123 196.8 R
(port parameters can then be adjusted at run-time by commands.)123 208.8
Q F1(--nor)108 225.6 Q(eset | -r)-.18 E F0 .18(If gi)123 237.6 R -.15
(ve)-.25 G(n,).15 E F1(picocom)2.68 E F0 .18
(will not *reset* the serial port when e)2.68 F .18
(xiting. It will just close the \214ledes and do noth-)-.15 F .798
(ing more. This is useful, for e)123 249.6 R .798(xample, for lea)-.15 F
.798(ving modems connected when e)-.2 F(xiting)-.15 E F1 .797
(picocom picocom)3.297 F F0 .42
(using the "Quit" command \(instead of "Exit"\), which ne)123 261.6 R
-.15(ve)-.25 G 2.92(rr).15 G .42
(esets the serial port. If "--noreset" is gi)-2.92 F -.15(ve)-.25 G(n)
.15 E(then "Quit" and "Exit" beha)123 273.6 Q .3 -.15(ve e)-.2 H
(ssentially the same.).15 E F1(--nolock | -l)108 290.4 Q F0 2.07(If gi)
123 302.4 R -.15(ve)-.25 G(n,).15 E F1(picocom)4.57 E F0 2.07(will *not\
* attempt to lock the serial port before opening it. Normally picocom)
4.57 F .456(attempts to get a UUCP-style lock-\214le \(e.g. "/v)123
314.4 R .456(ar/lock/LCK..ttyS0"\) before opening the port. F)-.25 F
.457(ailing to)-.15 F .914(do so, results in the program e)123 326.4 R
.914(xiting after emitting an error)-.15 F .913
(-message. It is possible that your picocom)-.2 F
(binary is compiled without this option.)123 338.4 Q F1(--send-cmd | -s)
108 355.2 Q F0(Speci\214es the e)123 367.2 Q(xternal program \(and an)
-.15 E 2.5(ya)-.15 G -.18(rg)-2.5 G
(uments to it\) that will be used for transmitting \214les.).18 E(Def)
123 386.4 Q(ault: "sz -vv")-.1 E F1(--r)108 403.2 Q(ecei)-.18 E -.1(ve)
-.1 G(-cmd | -v).1 E F0(Speci\214es the e)123 415.2 Q
(xternal program \(and an)-.15 E 2.5(ya)-.15 G -.18(rg)-2.5 G
(uments to it\) that will be used for recei).18 E(ving \214les.)-.25 E
(\(Def)123 434.4 Q(ault: "rz -vv"\))-.1 E F1(--imap)108 451.2 Q F0 .324
(Speci\214es the input character map \(i.e. special characters to be re\
placed when read from the serial port\).)123 463.2 R
(Example: "--imap crlf,delbs")123 475.2 Q(\(Def)123 494.4 Q
(aul: Empty\))-.1 E F1(--omap)108 511.2 Q F0 .752(Speci\214es the outpu\
t character map \(i.e. special characters to be replaced before being w\
ritten to serial)123 523.2 R(port\). Example: "--omap crcrlf,bsdel")123
535.2 Q(\(Def)123 554.4 Q(aul: Empty\))-.1 E F1(--emap)108 571.2 Q F0
.572(Speci\214es the local-echo character map \(i.e. special characters\
to be replaced before being echoed-back)123 583.2 R(to the terminal, i\
f local-echo is enabled\). Example: "--emap crcrlf,bsdel")123 595.2 Q
(\(Def)123 614.4 Q(aul: delbs,crcrlf\))-.1 E F1(--help | -h)108 631.2 Q
F0(Print a short help message describing the command-line options.)123
643.2 Q/F3 10.95/Times-Bold@0 SF -.548(AU)72 660 S(THOR).548 E F0
(picocom w)108 672 Q(as written by Nick P)-.1 E(ata)-.15 E -.25(va)-.2 G
(lis \(npat@ef).25 E(ault.net\))-.1 E F3 -1.04 -1.588(AV A)72 696 T
(ILABILITY)1.588 E F0(The latest v)108 708 Q
(ersion of "picocom" can be do)-.15 E(wnloaded from:)-.25 E F1
(http://code.google.com/p/picocom/)2.5 E F0(4)535 768 Q 0 Cg EP
%%Trailer
end
%%EOF

View File

@ -108,7 +108,7 @@
</p>
</dd>
<dt>C-\e</dt>
<dt>C-backslash</dt>
<dd>
<p>
Generate a break sequence on the serial line. A break
@ -157,6 +157,13 @@
</p>
</dd>
<dt>C-c</dt>
<dd>
<p>
Toggle local-echo mode.
</p>
</dd>
<dt>C-v</dt>
<dd>
<p>
@ -255,6 +262,47 @@
</p>
</section>
<section name = "INPUT, OUTPUT, AND ECHO MAPPING">
<p>
Using the "--imap", "--omap", and "--emap" options you can make
<cmd>picocom</cmd> map (tranlate, replace) certain special
characters after being read from the serial port (with
<arg>--imap</arg>), before being written to the serial port
(with <arg>--omap</arg>), and before being locally echoed to the
terminal (standard output) if local echo is enabled (with
<arg>--emap</arg>). These mapping options take, each, a single
argument which is a comma-separated list of one or more of the
following identifiers:
</p>
<ul>
<li>crlf: map CR to LF</li>
<li>crcrlf: map CR to CR + LF</li>
<li>igncr: ignore CR</li>
<li>lfcr: map LF to CR</li>
<li>lfcrlf: map LF to CR + LF</li>
<li>ignlf: ignore LF</li>
<li>bsdel: map BS --> DEL</li>
<li>delbs: map DEL --> BS</li>
</ul>
<p>
For example the command:
</p>
<p>
picocom --omap crlf,delbs --imap inglf,bsdel --emap crcrlf ...
</p>
<p>
will: Replace every CR (carriage return, 0x0d) caracter with LF
(line feed, 0x0a) and every DEL (delete, 0x7f) character with BS
(backspace, 0x08) before writing it to the serial port. Ignore
(not write to the terminal) every LF character read from the
serial port and replace every BS character read from the serial
port with DEL. Replace every CR character with CR and LF when
echoing to the terminal (if local-echo is enabled).
</p>
</section>
<section name = "OPTIONS">
<p>
@ -318,6 +366,19 @@
</p>
</dd>
<dt>--echo | -c</dt>
<dd>
<p>
Enable local echo. Every character being read from the
terminal (standard input) is echoed to the terminal
(standard output) subject to the echo-mapping configuration
(see <arg>--emap</arg> option.
</p>
<p>
(Default: Disabled)
</p>
</dd>
<dt>--noinit | -i</dt>
<dd>
<p>
@ -380,6 +441,43 @@
</p>
</dd>
<dt>--imap</dt>
<dd>
<p>
Specifies the input character map (i.e. special characters
to be replaced when read from the serial port). Example:
"--imap crlf,delbs"
</p>
<p>
(Defaul: Empty)
</p>
</dd>
<dt>--omap</dt>
<dd>
<p>
Specifies the output character map (i.e. special characters
to be replaced before being written to serial
port). Example: "--omap crcrlf,bsdel"
</p>
<p>
(Defaul: Empty)
</p>
</dd>
<dt>--emap</dt>
<dd>
<p>
Specifies the local-echo character map (i.e. special
characters to be replaced before being echoed-back to the
terminal, if local-echo is enabled). Example: "--emap
crcrlf,bsdel"
</p>
<p>
(Defaul: delbs,crcrlf)
</p>
</dd>
<dt>--help | -h</dt>
<dd>
<p>