-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsersniff.8
More file actions
74 lines (74 loc) · 2.44 KB
/
sersniff.8
File metadata and controls
74 lines (74 loc) · 2.44 KB
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
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH SERSNIFF 8 "July 9, 2001"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
sersniff \- a program to tunnel/sniff between 2 serial ports
.SH SYNOPSIS
.B sersniff
.RI [-h] [-i DEVICE ] [-o DEVICE] [-b BAUD] [-s] [-n] [-w USECS] [-z]
.SH DESCRIPTION
This manual page explains how to use the
.B sersniff
command.
This manual page was written for the Debian GNU/Linux distribution
because the original program does not have a manual page.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBsersniff\fP is a program that...
.SH OPTIONS
A summary of options is included below.
.TP
.B \-h
Show summary of options.
.TP
.B \-i \fP\fUfile
Set the device to use for Port1. Default of /dev/ttyS0. If you want
to listen on a TCP port then use the format :port. If there's a / in
the string then it will always be treated as a device rather than a
port to listen on.
.TP
.B \-o \fP\fUfile
Set the device to use for Port2. Default of /dev/ttyS1. If you want
to connect to a TCP port then use the format host:port. Again if
there's a / in the string then it will always be treated as a device.
.TP
.B \-b \fP\fUbaud
Specify baud rate for serial connections. Defaults to 19200.
.TP
.B \-s
Make sersniff not copy data between the two ports - useful if a
Y cable is being used for serial port sniffing for example.
.TP
.B \-n
Don't do any port configuration.
.TP
.B \-w \fP\fUusecs
How many microsecs to wait before reporting a delay
.TP
.B \-x
Show hex characters instead of normal ASCII characters.
.TP
.B \-z
Don't quit when an EOF character is received.
.TP
.B \-f
Specify the format string that should be used to print hex characters.
.SH AUTHOR
This manual page was written by Jeremy Lunn <jeremy@austux.net>,
for the Debian GNU/Linux system (but may be used by others).