File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mpd / doc / mpd50.html
Revision 1.1.1.4 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:39:23 2021 UTC (3 years, 9 months ago) by misho
Branches: mpd, MAIN
CVS tags: v5_9p16, v5_9, HEAD
mpd 5.9

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Chat Scripting</TITLE>
</HEAD>
<BODY text="#000000" bgcolor="#ffffff">

<A HREF="mpd.html"><EM>Mpd 5.9 User Manual</EM></A>
 <b>:</b> <EM>Chat Scripting</EM><BR>
<b>Previous:</b> <A HREF="mpd49.html"><EM>PPPoE device type commands</EM></A><BR>
<b>Next:</b> <A HREF="mpd51.html"><EM>Script file format and execution</EM></A>


<HR NOSHADE>
  <H2><A NAME="50"></A>6. Chat Scripting<A NAME="chat"></A></H2>
<p>Mpd includes a powerful chat scripting language for use with
links of type <b>modem</b>, i.e., asynchronous serial ports.
The language is interpreted and executed dynamically
and supports fully event driven processing with timeouts and
regular expression pattern matching.</p>
<p>Much of what is described below is more readily understood by
looking at the <code>mpd.script</code> file that is included with mpd.</p>

<H3>6.1. <A HREF="mpd51.html#51">Script file format and execution</A></H3>
<H3>6.2. <A HREF="mpd52.html#52">Events</A></H3>
<DL>
<DD>6.2.1. <A HREF="mpd53.html#53">Timer events</A></DD>
<DD>6.2.2. <A HREF="mpd54.html#54">Match events</A></DD>
</DL>
<H3>6.3. <A HREF="mpd55.html#55">Sets</A></H3>
<DL>
<DD>6.3.1. <A HREF="mpd56.html#56">Special sets and targets</A></DD>
</DL>
<H3>6.4. <A HREF="mpd57.html#57">Variables</A></H3>
<DL>
<DD>6.4.1. <A HREF="mpd58.html#58">Special variables</A></DD>
</DL>
<H3>6.5. <A HREF="mpd59.html#59">Script commands</A></H3>
<H3>6.6. <A HREF="mpd60.html#60">Errors</A></H3>
<H3>6.7. <A HREF="mpd61.html#61">The included <code>mpd.script</code></A></H3>
 <HR NOSHADE>
<A HREF="mpd.html"><EM>Mpd 5.9 User Manual</EM></A>
 <b>:</b> <EM>Chat Scripting</EM><BR>
<b>Previous:</b> <A HREF="mpd49.html"><EM>PPPoE device type commands</EM></A><BR>
<b>Next:</b> <A HREF="mpd51.html"><EM>Script file format and execution</EM></A>



</BODY>
</HTML>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>