74 lines
1.7 KiB
HTML
74 lines
1.7 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>modem(1)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>modem(1)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
modem - switch the modem and getty state
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>modem</STRONG> [<STRONG>-o</STRONG>] [<STRONG>-i</STRONG> <EM>num</EM>] <STRONG>tty</STRONG><EM>n</EM>
|
|
|
|
|
|
</PRE>
|
|
<H2>OPTIONS</H2><PRE>
|
|
|
|
<STRONG>-o</STRONG> Turn getty off and set modem to dialout
|
|
|
|
<STRONG>-i</STRONG> Set line to dialin
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>modem</STRONG> <STRONG>-o</STRONG> <STRONG>tty00</STRONG> # Set tty00 to dialout
|
|
|
|
<STRONG>modem</STRONG> <STRONG>-i2</STRONG> <STRONG>tty00</STRONG> # Set tty00 to dialin (2 rings)
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
The <EM>getty</EM> 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 <STRONG>-o</STRONG>
|
|
flag is presnt, <EM>modem</EM> 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, <EM>modem</EM>
|
|
will send some (Hayes) commands to the attached modem to disable the
|
|
auto-nanswer mode. The <STRONG>-i</STRONG> flag specifies the number of times the
|
|
telephone has to ring before the modem may answer the call (to give the
|
|
operator a chance).
|
|
|
|
|
|
</PRE>
|
|
<H2>SEE ALSO</H2><PRE>
|
|
<STRONG><A HREF="../man1/term.1.html">term(1)</A></STRONG>, <STRONG><A HREF="../man8/getty.8.html">getty(8)</A></STRONG>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|