Rev | Line | |
---|
[9] | 1 | .TH MODEM 1
|
---|
| 2 | .SH NAME
|
---|
| 3 | modem \- switch the modem and getty state
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | \fBmodem \fR[\fB\-o\fR] [\fB\-i \fInum\fR] \fBtty\fIn\fR\fR
|
---|
| 6 | .br
|
---|
| 7 | .de FL
|
---|
| 8 | .TP
|
---|
| 9 | \\fB\\$1\\fR
|
---|
| 10 | \\$2
|
---|
| 11 | ..
|
---|
| 12 | .de EX
|
---|
| 13 | .TP 20
|
---|
| 14 | \\fB\\$1\\fR
|
---|
| 15 | # \\$2
|
---|
| 16 | ..
|
---|
| 17 | .SH OPTIONS
|
---|
| 18 | .FL "\-o" "Turn getty off and set modem to dialout"
|
---|
| 19 | .FL "\-i" "Set line to dialin"
|
---|
| 20 | .SH EXAMPLES
|
---|
| 21 | .EX "modem \-o tty00" "Set tty00 to dialout"
|
---|
| 22 | .EX "modem \-i2 tty00" "Set tty00 to dialin (2 rings)"
|
---|
| 23 | .SH DESCRIPTION
|
---|
| 24 | .PP
|
---|
| 25 | The \fIgetty\fR program allows a terminal port to be used for both dialin and
|
---|
| 26 | dialout.
|
---|
| 27 | This little program switches the getty state, and also sends
|
---|
| 28 | some commands to the modem attached to the specified line.
|
---|
| 29 | If the \fB\-o\fR flag is presnt, \fImodem\fR will put the
|
---|
| 30 | getty process (if any) connected to the specified line into
|
---|
| 31 | SUSPEND state, which means that it
|
---|
| 32 | will not pay attention to that line until it is reset to RESTART state.
|
---|
| 33 | Also, \fImodem\fR will send some (Hayes)
|
---|
| 34 | commands to the attached modem to disable the auto-nanswer mode.
|
---|
| 35 | The \fB\-i\fR flag specifies the number of times the telephone has to
|
---|
| 36 | ring before the modem may answer the call (to give the operator a chance).
|
---|
| 37 | .SH "SEE ALSO"
|
---|
| 38 | .BR term (1),
|
---|
| 39 | .BR getty (8).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.