MODEM.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .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).