summaryrefslogtreecommitdiffstats
path: root/microcom.1
blob: 04eac823ba8aa554a679a9fb32eecfa5951846c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
'\"
'\" Copyright (C) 2009 Alexander Reichle-Schmehl <tolimar@debian.org>
'\" Copyright (C) 2013 Uwe Kleine-König <uwe@kleine-koenig.org>
.TH "MICROCOM" "1"
.SH "NAME"
microcom \- A minimalistic terminal program
.SH "SYNOPSIS"
.PP
.B microcom
.RB [ -d ]
.RB [ -f ]
.RB [\| \-p
.IR devfile |\| \fB\-t
.IR host : port ]
.RB [\| \-s
.IR speed \|]
.br
.B microcom -c
.IB interface : rx_id : tx_id
.br
.B microcom -h

.SH "DESCRIPTION"
.PP
This manual page documents briefly the
\fBmicrocom\fR command.
.PP
\fBmicrocom\fR is a is a minimalistic terminal
program for accessing devices (e.g. switches) via a serial connection.
It features connection via RS232 serial interfaces (including setting of
transferrates) as well as in `telnetmode' as specified in
rfc2217 and a (Linux specific) can mode.
.PP
The escape character to enter the program menu is crtl-\e. There are several
commands available, among them
.B quit
(to exit microcom),
.B exit
(to return to normal mode) and
.B speed
(to set terminal speed)

.SH "OPTIONS"
.PP
.B microcom
follows the usual GNU command line syntax, with long options starting with two
dashes (`\-'). A summary of options is included below.
.TP
.B \-d
output debugging info to stdout.
.TP
.B \-f
ignore an already existing lock file.
.TP
.BI \-p\  devfile \fR,\ \fB\-\-port= devfile
use the specified serial port device (default
.BR /dev/ttyS0 ).
.TP
.BI \-s\  speed \fR,\ \fB\-\-speed= speed
use specified baudrate (default \fB115200\fR).
.TP
.BI \-t\  host\fB:\fIport \fR,\ \fB\-\-telnet= host\fB:\fIport
work in telnet (rfc2217) mode.
.TP
.BI \-c\  interface\fB:\fIrx_id\fB:\fItx_id\fR,\ \fI \-\-can= interface\fB:\fIrx_id\fB:\fItx_id
work in CAN mode (default: \fBcan0:200:200\fR)
.TP
.BR -h ", " \-\-help
Show help.

.SH "AUTHOR"
.PP
This manual page was written by Uwe Kleine-K\(:onig based on work initially
done by Alexander Reichle-Schmehl.