home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / A / GETTY / _GETTY.TAR / usr / doc / getty_ps / Examples / uugetty.ringback < prev    next >
Encoding:
Text File  |  1994-05-18  |  1.5 KB  |  44 lines

  1. # [ put this file in /etc/default/uugetty.<line> ]
  2. #
  3. # sample uugetty configuration file for a Hayes compatible modem to allow
  4. # incoming modem connections
  5. #
  6. # this config file sets up uugetty to use the RINGBACK feature for
  7. # answering calls.
  8.  
  9. # ringback enable.  The defaults are trusted here (and are pretty sane).
  10. # first, one to three rings, then hangup and call back within 6 and 60
  11. # seconds.
  12. RINGBACK=YES
  13.  
  14. # line to use to do initialization.  All INIT, OFF, and WAITFOR functions
  15. # are handled on this line.  If this line is not specified, any other
  16. # program that wants to share the line (like kermit, uucp, seyon) will 
  17. # fail.  This line will also be checked for lockfiles.
  18. #
  19. # format: <line> (without the /dev/)
  20. INITLINE=cua2
  21.  
  22. # timeout to disconnect if idle...
  23. TIMEOUT=60
  24.  
  25. # modem initialization string... Sets the modem not to auto-answer
  26. #
  27. # format: <expect> <send> ... (chat sequence)
  28. INIT="" \d+++\dAT\r OK\r\n ATH0\r OK\r\n AT\sM0\sE1\sQ0\sV1\sX4\sS0=0\r OK\r\n
  29.  
  30. # waitfor string... if this sequence of characters is received over the line,
  31. # a call is detected.
  32. WAITFOR=RING
  33.  
  34. # this line is the connect chat sequence.  This chat sequence is performed
  35. # after the WAITFOR string is found.  The \A character automatically sets
  36. # the baudrate to the characters that are found, so if you get the message
  37. # CONNECT 2400, the baud rate is set to 2400 baud.
  38. #
  39. # format: <expect> <send> ... (chat sequence)
  40. CONNECT="" ATA\r CONNECT\s\A
  41.  
  42. # this line sets the time to delay before sending the login banner
  43. DELAY=1
  44.