home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga Shareware Floppies / ma07.dms / ma07.adf / modans / ModAns.doc < prev    next >
Text File  |  1991-10-25  |  6KB  |  141 lines

  1.               ModAns v1.1     Copyright © 1990 Niklas Lindholm
  2.  
  3. ModAns is a Freeware program. Permition is given to copy ModAns as long as
  4. no files are changed and nobody makes any money on it. An exception is a
  5. REASONABLE copying fee in a PD-library. If you intend to use any routins in
  6. ModAns in a commercial product, please contact me first.
  7.  
  8. ModAns is an answering machine for modems. Shortly it makes the modem
  9. answer when somebody calls. Then it displays a login-text. Then the user is
  10. supposed to write a little letter which will be seved on disk. Then the
  11. user logs out, a logou-text will apear and the modem hangs up. Now the
  12. program waits for a new caller.
  13.  
  14. In the archive you are supposed to find these files:
  15.  
  16. ModAns        - The executable.
  17.  
  18. ModAns.doc    - This file.
  19.  
  20. Swedish.doc   - The documentation in swedish.
  21.  
  22. Changes       - What has happened since the last version?
  23.  
  24. Login.txt     - A sample login-text.
  25.  
  26. Logout.txt    - A sample logout-text.
  27.  
  28. ModAns.cfg    - A config-file.
  29.  
  30. ModAns.c      - The sourcecode in C. (SAS/C 5.10)
  31.  
  32.  
  33. Installation.
  34.  
  35. ModAns needs a directory with the logical namn 'ModAns:' assigned to it.
  36. Here ModAns will search for the config-file, the login-text and the
  37. logout.txt. Also all the messages will be saved here. The will be given have
  38. the names 'Message0', 'Message1', 'Message2' etc. 
  39. An example: If you want the files to be in the directory 'Mydir' on df1:
  40. then type the following at the dos-prompt.
  41.  
  42.         1 > Assign ModAns: df1:Mydir
  43.  
  44.  
  45. The config-file.
  46.  
  47. In this file you define certian things which affects the communication
  48. between the computer and the modem. It is inmportant that the keywords
  49. before the '=' character are in capitals. Important is also that there
  50. should be no spaces before and after the '=' character. Empty lines and
  51. lines that begin with a non-letter are ignored.
  52.  
  53. INITSTRING    These characters are sent to the modem when the program
  54.               starts and after every login. The modem should NOT echo any
  55.               character back to the computer. This can be done by giving the
  56.               command 'ATE'. Also, the modem should NOT be in autoanswer-
  57.               mode. This can be done by giving the command 'ATS0=0'. 
  58.  
  59. ANSWERSTRING  These characters are sent to the modem when somebody calls.
  60.               (When a 'RING' is detected) Typically this shold be 'ATA'.
  61.  
  62. HANGUPSTRING  These characters are sent to the modem when the modem is
  63.               supposed to hang up. Typically this should be 'ATH'.
  64.  
  65. HIGHBAUDRATE  This is the highest baud-rate that your modem can make. The
  66.               modem will be made to answer at this speed. Must be one of
  67.               the following: 300,600,1200,2400,4800,9600,14400,19200.
  68.  
  69. FIXED         If this is set to 'YES' the modem will operate at fixed speed.
  70.               (The speed will be the one given i HIGHBAUDRATE). Else this
  71.               skould be set to 'NO'.
  72.  
  73. PASSWORD      The password that must be given to see all the messages from
  74.               distance. 
  75.  
  76. DEVICE        The device that ModAns will open to the modem. Typically this
  77.               is 'serial.device'.
  78.  
  79.  
  80. When all this is done all you have to do is to start ModAns. Then a window
  81. will be opened where you can watch anybody who is online. If you want to
  82. spare som ememory when you don't use the program you can make the window as
  83. small as posible.
  84.    Now the program will send the init-string to the modem and then wait for
  85. someone to call. When that happens it sends the answerstring and waits for
  86. a 'CONNECT xxxx' When this happens the login-text is displayed. If the user
  87. gets bored of wathing this procedure every time he can just press <Ctrl-C>
  88. to break it.
  89.    Now the user is in the editor. At the very beginning of the line you can
  90. always see which line you are typing. When you get to the end of the line
  91. the word you are currently writing is wrapped over to the next line.
  92. In the editor there are a few commands which are given by typing a '!' and
  93. then a letter at the beginning of a line. The commands are:
  94.  
  95. !d x     Deletes line number x.
  96.  
  97. !i x     Inserts a new line before line number x. When inserting a line
  98.          word-wrap is disabled and you must end the line by pressing return.
  99.  
  100. !r       To read the whole text.
  101.  
  102. !m       Asks for a password and then (if the password was correct)
  103.          displays all the message-files.
  104.  
  105. !q       Logs out without saving the text.
  106.  
  107. !l       Displays the login-text again.
  108.  
  109.  
  110. When you are finished typing you log out by pressing <Ctrl-Z>. Then the
  111. text will be saved, the logou-text will shoe up and then the modem hangs up.
  112.  
  113. If you would like to have a word with the user online you press <Ctrl-A>.
  114. Then you get into chat-mode. From here you log out as normal by pressing
  115. <Ctrl-Z>. If you want to see the login-text one more time when in chat-mode
  116. you press <Ctrl-B>.
  117.  
  118. If you are curios and wish to see how it looks like when somebody calls you
  119. can fool the program by typing 'RING'. Then yoy press <Ctrl-RETURN> twice.
  120. Type 'CONNECT 2400' (or any other speed) and press <Ctrl-RETURN> again.
  121.  
  122.  
  123. Bugs:          I can't find any.
  124.  
  125. Misbehaviours: There might be some problems if somebody drops the carrier
  126.                instead of loging out the normal way. Especially if the
  127.                carrier is dropped by typing '+++' and then 'ATH'. These
  128.                night fix itself when someone calls the next time. This is
  129.                untested.
  130.  
  131.  
  132. If you have any bugreports, suggestions or any other comment. Feel fre to
  133. contact me.
  134.  
  135. Niklas Lindholm
  136. Marknadsvägen 203 2tr
  137. S-183 34 Täby
  138. SWEDEN
  139.  
  140. +46-87684037
  141.