File: ttysrv.8

package info (click to toggle)
remote-tty 4.0-13.1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 216 kB
  • sloc: ansic: 2,100; sh: 340; makefile: 131
file content (62 lines) | stat: -rw-r--r-- 1,952 bytes parent folder | download | duplicates (4)
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
.\"                                      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 TTYSRV 8 "May 23, 2006"
.\" 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
ttysrv \- connect to a serial port and log output
.SH SYNOPSIS
.BR ttysrv " [\-o option] [\-s sock] [\-l log] \-t tty [\-b baud] [\-p parity] [\-w wordsize] [\-i pidfile]"
.SH DESCRIPTION
.B ttysrv
is the backend for
.B rconsole.
It connects to the serial port, handles the log file and waits for connections
from rconsole to view what's happening on the serial console.
.SH OPTIONS
.TP
.B \-t tty
Specify which device to connect to.
.TP
.B \-s sock
The name of the socket to listen for connections from rconsole on.
.TP
.B \-o option
Specify any ttyios options to open the port with. Currently only
.I nolocal
is supported.
.TP
.B \-l log
The logfile to write to. If not set then no log is kept.
.TP
.B \-b baud
Set the baud rate to talk to the port at. Defaults to 9600.
.TP
.B \-p parity
Set the parity for the serial port. Defaults to none.
.TP
.B \-w wordsize
Set the word size for the serial port. Defaults to 8 bits.
.TP
.B \-i pidfile
The file to write the pid of ttysrv to. If not specified no such file is
written.
.SH SEE ALSO
.BR rconsole (1),
.BR remote-tty (1).
.SH AUTHOR
rtty was written by Paul Vixie <vixie@isc.org>. This manual page was written
by Jonathan McDowell <noodles@earth.li> for the Debian project (but may be
used by others).