MODEM.1
上传用户:jnzhq888
上传日期:2007-01-18
资源大小:51694k
文件大小:1k
- .TH MODEM 1
- .SH NAME
- modem - switch the modem and getty state
- .SH SYNOPSIS
- fBmodem fR[fB-ofR] [fB-i fInumfR] fBttyfInfRfR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- .FL "-o" "Turn getty off and set modem to dialout"
- .FL "-i" "Set line to dialin"
- .SH EXAMPLES
- .EX "modem -o tty00" "Set tty00 to dialout"
- .EX "modem -i2 tty00" "Set tty00 to dialin (2 rings)"
- .SH DESCRIPTION
- .PP
- The fIgettyfR program allows a terminal port to be used for both dialin and
- dialout.
- This little program switches the getty state, and also sends
- some commands to the modem attached to the specified line.
- If the fB-ofR flag is presnt, fImodemfR will put the
- getty process (if any) connected to the specified line into
- SUSPEND state, which means that it
- will not pay attention to that line until it is reset to RESTART state.
- Also, fImodemfR will send some (Hayes)
- commands to the attached modem to disable the auto-nanswer mode.
- The fB-ifR flag specifies the number of times the telephone has to
- ring before the modem may answer the call (to give the operator a chance).
- .SH "SEE ALSO"
- .BR term (1),
- .BR getty (8).