home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / WWIV2.ZIP / MODEMS.MDM < prev    next >
Text File  |  1993-01-15  |  12KB  |  216 lines

  1. ##############################################################################
  2. #
  3. #                               WWIV Version 4
  4. #                   Copyright (C) 1988-1993 by Wayne Bell
  5. #
  6. # This modem definition file may not be distributed except as a part of
  7. # the complete WWIV v4 system.  This file may not be distributed in modified
  8. # form at all.  If you wish, you may distribute a separate, modified modem
  9. # configuration file, with the configuration information for one modem.
  10. # See the 'wwivmodm.doc' file for a description on how to do this.
  11. #
  12. ##############################################################################
  13.  
  14.  
  15. ##############################################################################
  16. #
  17. # Can someone plese tell me why so many modems nowdays don't have brand
  18. # names, or even model names?  It really makes it hard to list them here,
  19. # when all you can see on the manual cover is "2400 BPS MNP modem".
  20. #
  21. ##############################################################################
  22.  
  23.  
  24. ##############################################################################
  25. #
  26. # Line types:
  27. #
  28. # FILE:         Name of file for modem info to follow
  29. # NAME:         Name/description of modem
  30. # NOTE:         Notes on modem configuration
  31. # CONF:         String to configure modem (sent from INIT, not BBS)
  32. # SETU:         Setup string sent once to the modem
  33. # INIT:         Initialization string sent often to the modem
  34. # ANSR:         String sent to the modem to answer phone
  35. # PICK:         String sent to the modem to pick up the phone
  36. # HANG:         String sent to the modem to hang up the phone
  37. # DIAL:         Dialing prefix
  38. # SEPR:         Separator characters for result codes (passed to strtok)
  39. # DEFL:         Default modem switches
  40. # RESL:         Result code info.
  41. #                       First, result code (full or partial) from modem
  42. #                       Optional description - single quotes means append
  43. #                       Lastly, switch settings
  44. # AUTO:         Information for modem auto-selection
  45. #
  46. # Switches:
  47. #
  48. # NORM          normal state of modem
  49. # RING          phone is ringing
  50. # RINGING       remote phone is ringing
  51. # ERR           error encountered
  52. # DIS           disconnected (No connection)
  53. # NDT           no dial tone (same as DIS)
  54. # CON           connection established
  55. # MS=           modem speed
  56. # CS=           com port speed
  57. # AS=           asymmetrical baud rates (Y/N)
  58. # EC=           error correcting (Y/N)
  59. # DC=           data compression (Y/N)
  60. # FC=           flow control (Y/N)
  61. #
  62. ##############################################################################
  63.  
  64. ##############################################################################
  65. #
  66. # Information for modem auto-selection
  67. #
  68. # 0 - modem type found
  69. # 1 - initial state
  70. # 2 - a USR Courier
  71. # 3 - a USR Courier that responds to AT&A3
  72. #
  73.  
  74. AUTO:   1       0       "USRCV42"  "ATI4{"      "USROBOTICS COURIER 2400"
  75. AUTO:   1       2       "USRC1"    "ATI4{"      "USROBOTICS COURIER"
  76. AUTO:   2       3       "USRC31"   "AT&A3{"     "0"
  77. AUTO:   3       0       "USRC3"    "ATI{"       "1442"
  78. AUTO:   2       0       "USRC2"    "AT&A2{"     "0"
  79. AUTO:   1       0       "USRS9600" "ATI4{"      "USROBOTICS SPORTSTER 9600"
  80. AUTO:   1       0       "COMPUCOM" "ATI3{"      "(C) COPYRIGHT COMPUCOM"
  81. AUTO:   1       0       "PP9600SA" "ATI3{"      "PM9600SA"
  82. AUTO:   1       0       "PP2400V4" "ATI3{"      "PM2400SA"
  83. AUTO:   1       0       "TB3000"   "ATI3{"      "T3000"
  84. AUTO:   1       0       "USRSMNP"  "ATU{"       "USROBOTICS SPORTSTER"
  85. AUTO:   1       0       "C964I"    "ATI{"       "964I"
  86.  
  87.  
  88. ##############################################################################
  89. ##############################################################################
  90. ###
  91. ### First, generic 2400 and less (non-MNP) modems.
  92. ###
  93. ##############################################################################
  94. ##############################################################################
  95.  
  96.  
  97. ##############≡≡≡α└Ç Ç`   ß° ° ° ° ° ° ° °                 °   ° ° ⁿⁿⁿⁿⁿ°  ⁿⁿⁿⁿⁿⁿⁿⁿⁿ° ° ⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿ°  ⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿ° ° ⁿⁿⁿⁿⁿⁿⁿⁿⁿ°  ⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿ° ° ⁿⁿⁿⁿⁿⁿⁿⁿ°  °  °°°°°°°°°°°°°° °                 °°°°°°°°°°°°°°°°°°°°°°°°°°°°          °°°··                      °           °           °°°°°╫H ÇzDåDEADODfDBatch Builderc:\ndw\deskedit.exe /bC:\NDW\DESKEDIT.EXE     ⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿⁿ   °°°° °°°°°°°°°°°°°°°°°°°°°°°°°°°°° ° ° ° ²° ²²°ⁿⁿⁿⁿⁿ° ² ∙∙°ⁿ■ⁿ°°° ²²∙∙∙ⁿⁿ°°° ∙∙∙°ⁿⁿ°°° ∙°°°°°°°ⁿ°°° °°°°°°°°° °°°°°°°°°°°°° °°°°°°°°°°°° °°° ° ° °°° ·°° °°° °°°°° °°°°°°° °°°°° °°°°° °°°°°°° °°°°° °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°"H ÇTI`IαII,I@IMacro Builderc:\ndw\ndwmacro.exeC:\NDW\NDWMACRO.EXE        ┐ °≡?≡£α8└╨ÇαÇα└└└Çα└≡α°≡ⁿ°|~ⁿx?▀≡√Åα√╧└∙╟└∙╧Ç┘ßÇà∩Ç═≡└├ α∩ ≡  °  ⁿ  ■?            °       °°°°°°°           °                    °     °    °°°   °°°  °°°°  °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°   °°°           °      °°°    °°°    °°°°  °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°É Ç3N?N┐N°MN NFinancial Calculatorc:\ndw\fincalc.exeC:\NDW\FINCALC.EXE                                                                                                     dial_prefix[21];
  98.         float           post_call_ratio;
  99.         char            upload_c[51];
  100.         char            dszbatchdl[81];
  101.         char            modem_type[9];
  102.         char            batchdir[81];
  103.         int             sysstatusoffset;
  104.         char            network_type;
  105.         short           fuoffset,
  106.                         fsoffset,
  107.                         fnoffset;
  108.         unsigned short  max_subs,
  109.                         max_dirs,
  110.                         qscn_len;
  111.         unsigned char   email_storage_type;
  112.         char            res[23];               /* RESERVED */
  113. } configrec;
  114.  
  115.  
  116.  
  117. /* DYNAMIC SYSTEM STATUS */
  118. typedef struct {
  119.     char        date1[9],        /* last date active */
  120.             date2[9],        /* date before now */
  121.             date3[9],        /* two days ago */
  122.             log1[13],        /* yesterday's log */
  123.             log2[13],        /* two days ago log */
  124.             gfiledate[9],        /* date gfiles last updated */
  125.             resx[9];        /* reserved for nothing */
  126.     unsigned short    users,            /* Current number of users */
  127.             callernum,        /* Current caller number */
  128.             callstoday,        /* Number of calls today */
  129.             msgposttoday,        /* Messages posted today*/
  130.             emailtoday,        /* Email sent today */
  131.             fbacktoday,        /* Feedback sent today */
  132.             uptoday,        /* files uploaded today */
  133.             activetoday;        /* Minutes active today */
  134.     unsigned long    qscanptr;        /* Q-scan pointer value */
  135.     char        amsganon;        /* auto-message anony stat */
  136.     unsigned short    amsguser;        /* user who wrote a-msg */
  137.     unsigned long    callernum1;        /* caller number */
  138.         unsigned int    net_edit_stuff;         /* word for net editor */
  139.         unsigned int    wwiv_version;           /* tell what version it is */
  140.         unsigned int    net_version;            /* tell what version of net */
  141.         float           net_bias;               /* network bias factor */
  142.         long            last_connect,           /* date last connect.net */
  143.                         last_bbslist;           /* date last bbslist.net */
  144.         float           net_req_free;           /* net free factor def 3 */
  145.         char            res[31];                /* RESERVED */
  146. } statusrec;
  147.  
  148.  
  149.  
  150. /* MESSAGE BASE INFORMATION */
  151. typedef struct {
  152.     char        name[41],        /* board name */
  153.             filename[9],        /* board database filename */
  154.             key;            /* board special key */
  155.     unsigned char    readsl,            /* sl required to read */
  156.             postsl,            /* sl required to post */
  157.             anony,            /* anonymous board? */
  158.             age;            /* minimum age for sub */
  159.     unsigned short    maxmsgs,        /* max # of msgs */
  160.             ar,            /* AR for sub-board */
  161.             storage_type,        /* how messages are stored */
  162.             type;            /* 4 digit board type */
  163. } subboardrec;
  164.  
  165.  
  166.  
  167. /* UPLOAD DIRECTORY INFORMATION */
  168. typedef struct {
  169.     char        name[41],        /* directory name */
  170.             filename[9],        /* direct database filename */
  171.             path[81];        /* filename path */
  172.     unsigned char    dsl,            /* DSL for directory */
  173.             age;            /* minimum age for directory */
  174.     unsigned short    dar,            /* DAR for directory */
  175.             maxfiles,        /* max files for directory */
  176.             mask,            /* file type mask */
  177.             type;            /* 4 digit directory type */
  178. } directoryrec;
  179.         
  180.  
  181.  
  182. /* QUICK REFERNCE TO FIND USER NUMBER FROM NAME */
  183. typedef struct {
  184.     char        name[31];
  185.     unsigned short    number;
  186. } smalrec;
  187.  
  188.  
  189.  
  190. /* TYPE TO TELL WHERE A MESSAGE IS STORED */
  191. typedef struct {
  192.     unsigned char    storage_type;        /* how it is stored */
  193.     unsigned long    stored_as;        /* where it is stored */
  194. } messagerec;
  195.  
  196.  
  197.  
  198. /* DATA HELD FOR EVERY POST */
  199. typedef struct {
  200.     char        title[81];        /* title of post */
  201.     unsigned char    anony,            /* anony-stat of message */
  202.             status;            /* bit-mapped status */
  203.     unsigned short    ownersys,owneruser;    /* who posted it */
  204.     unsigned long    qscan,            /* qscan pointer */
  205.             daten;            /* numerical date posted */
  206.     messagerec    msg;            /* where to find it */
  207. } postrec;
  208.  
  209.  
  210.  
  211. /* DATA HELD FOR EVERY E-MAIL OR F-BACK */
  212. typedef struct {
  213.     char        title[81];        /* E-mail title */
  214.     unsigned char    anony,            /* anonymous mail? */
  215.             status;            /* status for e-mail */
  216.     unsigned short    fromsys,fromuser,    /* originating system,use