*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> acucap (4)              
Title
Content
Arch
Section
 

acucap(4)

Contents


NAME    [Toc]    [Back]

       acucap - Automatic call unit capabilities file

SYNOPSIS    [Toc]    [Back]

       /etc/acucap

DESCRIPTION    [Toc]    [Back]

       The  /etc/acucap  file  lists the types of autodial modems
       and describes their attributes.  Whenever  tip  encounters
       an  at  field in /etc/remote file description, it searches
       /etc/acucap file description.

       If the at string there matches a name entry  in  /etc/acucap,
  the  tip  generic dialing routine places an outgoing
       call according to the attributes specified for  the  modem
       in the acucap file.

       Each  line  in the file describes how to dial a given type
       of modem.  This  description  consists  of  strings,  time
       delays, and flags used to control the action of any modem.
       Fields are separated by a colon (:).  Entries that end  in
       a  backslash  character (\) followed by a newline are continued
 on the next line.

       The first entry is the name or names  of  the  modem.   If
       there is more than one name for a modem, each is separated
       by a vertical bar (|).  There cannot be any  blank  spaces
       or other characters between the first column and the modem
       name.

       The fields of the description follow the  name.   A  field
       name followed by an equal sign (=) indicates that a string
       value follows.  A field name followed by a pound sign  (#)
       indicates that a numeric value follows.  A field name followed
 by the separating colon (:) represents a Boolean.

CAPABILITIES    [Toc]    [Back]

       The fields following the name  of  the  modem  define  the
       capabilities   of  the  modem.   Capabilities  are  either
       strings (str), numbers (num), or Boolean flags (bool).   A
       string capability is of the form: capability=value

       An example is: ss=^A^B

       A numeric capability is of the form: capability#value

       An example is: sd#1

       A  Boolean  capability  is specified simply by listing it.
       Strings that are not specified cause nothing to be issued.
       The  following  are  available  capabilities:  (str) Abort
       string.  This string is  sent  to  the  modem  if  tip  is
       aborted.   (num)  Completion delay.  This number gives the
       time to wait between completion string characters (in seconds,
 unless the ls Boolean is specified).  (bool) Setting
       this Boolean causes the program to  wait  in  the  generic
       dial  routine  until  the modem senses a carrier.  (str) A
       modem command string which instructs the modem  to  change
       from  the  default  speed to the speed specified by the xs
       field.  (str) Completion string.  The  modem  issues  this
       string  after  receiving and responding to synchronization
       and dial strings.  (num) Dial  acknowledge.   This  number
       gives  the time to wait before looking for a dial response
       (in seconds).  (bool) Debug mode.   Setting  this  Boolean
       causes  the  generic dialer to give more information as it
       dials.  (num) Dial delay.   This  number  gives  the  time
       between dial characters (in seconds) unless the ls Boolean
       is specified.  (str) Dial initialization.  This string  is
       used  to  start a dialing sequence (placed just before the
       number to dial.)  (str) Dial response.   The  modem  sends
       this  string if a dialing sequence that was just issued is
       successful.  (str) Disconnect string.  This string is sent
       to the modem when tip is finally disconnected.  (str) Dial
       termination.  This string is used to terminate  a  dialing
       sequence  (placed  just  after the number to dial.)  (num)
       Full delay.  This number is the time to wait for a carrier
       to be detected (in seconds).  If the call is not completed
       in this time, an error is returned.  (bool)  This  Boolean
       causes  the  modem  to  hang up the phone if the line goes
       away.  (num) This number specifies the speed at which  the
       modem  must  be  initialized.  The conversation speed will
       later be set as specified by the xs field.  (bool) Use  an
       internal  sleep  routine  rather than sleep(3) for delays.
       Thus, all delays are given  in  microseconds  rather  than
       seconds.   (str)  Online  string.   The  modem  sends this
       string after carrier has been detected.  (bool)  Causes  a
       1-second  delay  after toggling dtr (data terminal ready).
       This action will only be taken if re is also set.   (bool)
       This Boolean causes the modem to toggle dtr (data terminal
       ready) before beginning synchronization.  It  is  used  to
       reset  the present condition of the modem.  (str) Replacement
 string.  This string is a single character that  will
       be  substituted  for  an equal sign (=) or dash (-) in the
       number to be dialed; used so that delay characters can  be
       represented  uniformly,  but  allowing  the  correct delay
       character to be passed to a given modem.   (num)  Synchronization
  delay.   This number gives the time between synchronization
 characters (in seconds unless the ls  Boolean
       is specified.)  (bool) This modem is attached to an interface
 that cannot return any characters  until  carrier  is
       detected.   The  DMF32  interface acts in this way.  (str)
       Synchronization  response.   What  the  modem   sends   in
       response  to a synchronization string.  (str) Synchronization
 string.   The  first  string  the  modem  expects  to
       receive;  a check to see if the modem is operating.  (num)
       Specifies the speed the modem will operate at  after  initialization
 at the default speed in the is field.

EXAMPLES    [Toc]    [Back]

       The  following  example  shows  an entry for a DF03 modem:
       df03|DF03|dec                                       df03:\
            :cr:hu:re:di=^A^B:dd#1:os=A:ds=^A:fd#40:

RELATED INFORMATION    [Toc]    [Back]

       Commands: tip(1), sleep(3).

       Files: remote(4).  delim off



                                                        acucap(4)
[ Back ]
 Similar pages
Name OS Title
pxffileno IRIX Returns the file descriptor for a specified unit
fseek IRIX reposition a file on a logical unit
cap_get_fd IRIX get or set the capabilities for an open file
asnqfile IRIX Returns the assign options currently in effect for a file name or unit number
maplun IRIX returns the integer file descriptor for a Fortran logical unit number
cap_from_text IRIX convert a POSIX capabilities string to internal form, convert capabilities to a POSIX capabilities string, or
cap_acquire IRIX make permitted set capabilities effective or remove effective capabilities
XmConvertUnits Tru64 A function that converts a value in one unit type to another unit type
XmConvertUnits IRIX A function that converts a value in one unit type to another unit type
XmConvertUnits HP-UX A function that converts a value in one unit type to another unit type
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service