File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mpd / doc / mpd50.html
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 22 08:44:30 2013 UTC (10 years, 11 months ago) by misho
Branches: mpd, MAIN
CVS tags: v5_7p0, v5_7, HEAD
5.7

    1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    2: <HTML>
    3: <HEAD>
    4: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    5: <TITLE>Chat Scripting</TITLE>
    6: </HEAD>
    7: <BODY text="#000000" bgcolor="#ffffff">
    8: 
    9: <A HREF="mpd.html"><EM>Mpd 5.7 User Manual</EM></A>
   10:  <b>:</b> <EM>Chat Scripting</EM><BR>
   11: <b>Previous:</b> <A HREF="mpd49.html"><EM>PPPoE device type commands</EM></A><BR>
   12: <b>Next:</b> <A HREF="mpd51.html"><EM>Script file format and execution</EM></A>
   13: 
   14: 
   15: <HR NOSHADE>
   16:   <H2><A NAME="50"></A>6. Chat Scripting<A NAME="chat"></A></H2>
   17: <p>Mpd includes a powerful chat scripting language for use with
   18: links of type <b>modem</b>, i.e., asynchronous serial ports.
   19: The language is interpreted and executed dynamically
   20: and supports fully event driven processing with timeouts and
   21: regular expression pattern matching.</p>
   22: <p>Much of what is described below is more readily understood by
   23: looking at the <code>mpd.script</code> file that is included with mpd.</p>
   24: 
   25: <H3>6.1. <A HREF="mpd51.html#51">Script file format and execution</A></H3>
   26: <H3>6.2. <A HREF="mpd52.html#52">Events</A></H3>
   27: <DL>
   28: <DD>6.2.1. <A HREF="mpd53.html#53">Timer events</A></DD>
   29: <DD>6.2.2. <A HREF="mpd54.html#54">Match events</A></DD>
   30: </DL>
   31: <H3>6.3. <A HREF="mpd55.html#55">Sets</A></H3>
   32: <DL>
   33: <DD>6.3.1. <A HREF="mpd56.html#56">Special sets and targets</A></DD>
   34: </DL>
   35: <H3>6.4. <A HREF="mpd57.html#57">Variables</A></H3>
   36: <DL>
   37: <DD>6.4.1. <A HREF="mpd58.html#58">Special variables</A></DD>
   38: </DL>
   39: <H3>6.5. <A HREF="mpd59.html#59">Script commands</A></H3>
   40: <H3>6.6. <A HREF="mpd60.html#60">Errors</A></H3>
   41: <H3>6.7. <A HREF="mpd61.html#61">The included <code>mpd.script</code></A></H3>
   42:  <HR NOSHADE>
   43: <A HREF="mpd.html"><EM>Mpd 5.7 User Manual</EM></A>
   44:  <b>:</b> <EM>Chat Scripting</EM><BR>
   45: <b>Previous:</b> <A HREF="mpd49.html"><EM>PPPoE device type commands</EM></A><BR>
   46: <b>Next:</b> <A HREF="mpd51.html"><EM>Script file format and execution</EM></A>
   47: 
   48: 
   49: 
   50: </BODY>
   51: </HTML>

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