MODEM.1
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:

OS Develop

Development Platform:

WINDOWS

  1. MODEM(1)                  Minix Programmer's Manual                   MODEM(1)
  2. NAME
  3.      modem - switch the modem and getty state
  4. SYNOPSIS
  5.      modem [-o] [-i num] ttyn
  6. OPTIONS
  7.      -o   Turn getty off and set modem to dialout
  8.      -i   Set line to dialin
  9. EXAMPLES
  10.      modem -o tty00      # Set tty00 to dialout
  11.      modem -i2 tty00     # Set tty00 to dialin (2 rings)
  12. DESCRIPTION
  13.      The getty program allows a terminal port to be used for both  dialin  and
  14.      dialout.  This  little  program  switches the getty state, and also sends
  15.      some commands to the modem attached to the specified  line.   If  the  -o
  16.      flag  is  presnt,  modem will put the getty process (if any) connected to
  17.      the specified line into SUSPEND state, which means that it will  not  pay
  18.      attention  to  that line until it is reset to RESTART state.  Also, modem
  19.      will send some (Hayes) commands to the  attached  modem  to  disable  the
  20.      auto-nanswer  mode.  The  -i  flag  specifies  the  number  of  times the
  21.      telephone has to ring before the modem may answer the call (to  give  the
  22.      operator a chance).
  23. SEE ALSO
  24.      term(1), getty(8).
  25.                                                                              1