3 modem \- switch the modem and getty state
5 \fBmodem \fR[\fB\-o\fR] [\fB\-i \fInum\fR] \fBtty\fIn\fR\fR
18 .FL "\-o" "Turn getty off and set modem to dialout"
19 .FL "\-i" "Set line to dialin"
21 .EX "modem \-o tty00" "Set tty00 to dialout"
22 .EX "modem \-i2 tty00" "Set tty00 to dialin (2 rings)"
25 The \fIgetty\fR program allows a terminal port to be used for both dialin and
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).