home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / COMM / MISC / EMMA22.ZIP / MNP.CSF < prev    next >
Encoding:
Text File  |  1990-09-27  |  2.4 KB  |  65 lines

  1. * Use this script with EMMA if you have an MNP modem.  This script was
  2. * created for use with a Microcom AX/2400c; for a different modem, some of
  3. * the AT commands are likely to require modification.
  4. *
  5. * To prepare this script, copy it to a file called EMMA.CSF and then edit
  6. * it as follows:
  7. *
  8. * (1)    Change the port parameters on the line marked *1*.  With an MNP
  9. *    modem it is wise to set a high bps rate since that speed is effective
  10. *    only between the PC and the modem.
  11. *
  12. * (2)   Edit the script so that the appropriate commands are sent to the modem
  13. *       to:
  14. *              Turn off bps-rate adjustment.
  15. *              Force the modem into MNP mode.
  16. *              Select local, bidirectional XON/OFF flow control.
  17. *              Enable compression during MNP connections (usually a default).
  18. *
  19. * (3)    Adjust the dialing string on the line marked *2*.  You might, for
  20. *    example, need to change "ATDT" to "ATDP" to accomodate pulse dialing,
  21. *    or change the number from "1-800-333-1818" to "9,800-333-1818" if
  22. *    you are dialing through a PBX.  Please note that, at the time this
  23. *    script is being created, the number used is the only tollfree number
  24. *    on which MCI Mail supports MNP.
  25. *
  26. * (4)    Replace "username" in the line marked *3* with your MCI Mail
  27. *    username in double quotes.
  28. *
  29. * (5)    Replace "password" in the line marked *4* with your MCI Mail
  30. *    password in double quotes.
  31. *
  32. * (6)    Remove these comments.  That is, delete all lines from the top
  33. *    of the file down to and including the line of asterisks.
  34. *******************************************************************************
  35. C    "Calling MCI Mail using MNP^M^J"
  36. C    "(Press the Escape key if you need to abort the session.)^M^J"
  37. P  1    "9600"        *1*    Your COM port number and speed go in this line
  38. T    "ATZ^M"
  39. R  5    "OK^M^J"
  40. D  1
  41. T    "ATE1 S7=45^M"        Echo commands.  Wait 45 secs for carrier.
  42. R  5    "OK^M^J"
  43. T    "AT\J0^M"        Turn off bps-rate adjust
  44. R  5    "OK^M^J"
  45. T    "AT\N2^M"        Turn on MNP mode
  46. R  5    "OK^M^J"
  47. T    "AT\Q1^M"        Turn on Control-S/Control-Q flow control
  48. R  5    "OK^M^J"
  49. T    "AT\V1^M"        Turn on MNP result codes
  50. R  5    "OK^M^J"
  51. T    "ATDT1-800-333-1818^M"    *3*    Adjust this command if necessary
  52. R 40    "CONNECT"
  53. D  2
  54. T    "^M"
  55. R 20    "Port:"
  56. R  5    "name:"
  57. T    "username"    *4*    Put your username in this line
  58. T    "/batch:1ST/"
  59. T    "password"    *5*    And your password in this line
  60. T    "^M"
  61. R 20    "COM^M^J"
  62. M
  63. R 10    "CLR DTE^M^J"
  64. C    "You will find any new mail in file MAIL.IN"
  65.