home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2 / Openstep-4.2-Intel-User.iso / NextLibrary / PrivateFrameworks / Uucp.framework / Versions / A / Resources / sample / port < prev    next >
Text File  |  1993-01-14  |  2KB  |  42 lines

  1. # This is an example of port, the port configuration file for Taylor
  2. # UUCP.  To use it, you must compile the package with
  3. # HAVE_TAYLOR_CONFIG set to 1 in policy.h (that is the default), copy
  4. # this file to newconfigdir as set in Makefile.in (the default is
  5. # /usr/local/conf/uucp), and edit it as appropriate for your system.
  6.  
  7. # Everything after a '#' character is a comment.  To uncomment any of
  8. # the sample lines below, just delete the '#'.
  9.  
  10. # All ports named in the sys file must be described in a port file.
  11. # It is also possible to describe the port directly in the sys file.
  12.  
  13. # Commands that appears before the first ``port'' command are defaults
  14. # for all ports that appear later in the file.  In this case all ports
  15. # will default to being modems (other possible types are direct, tcp
  16. # and tli).
  17. type modem
  18.  
  19. # Now we describe two ports.
  20.  
  21. # This is the name of the port.  This name may be used in the sys file
  22. # to select the port, or the sys file may just specify a baud rate in
  23. # which case the first matching unlocked port will be used.
  24. port port1
  25.  
  26. # This is the device name to open to dial out.
  27. device /dev/ttyd0
  28.  
  29. # This is the dialer to use, as described in the dialer file.
  30. dialer hayes
  31.  
  32. # This is the baud rate to dial out at.
  33. speed 2400
  34.  
  35. # Here is a second port.  This is like the first, except that it uses
  36. # a different device.  It also permits a range of speeds, which is
  37. # mainly useful if the system specifies a particular baud rate.
  38. port port2
  39. device /dev/ttyd1
  40. dialer hayes
  41. speed-range 2400 9600
  42.