home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 339.lha / SerMod / Docs / STATUS.doc < prev    next >
Text File  |  1990-02-08  |  2KB  |  48 lines

  1.  
  2. NAME:        STATUS
  3.  
  4. SYNTAX:    STATUS
  5.  
  6.      STATUS reports back to the script a number of parameter settings.
  7.      The status report is simply a number of uppercase words in a string
  8.      that tell the following (in order of position within status string):
  9.  
  10.      baudrate               --  a number representing actual baud rate
  11.                                 Valid rates are 300, 1200, 2400, 4800
  12.                                 9600, 19200, and 31250 (MIDI)
  13.      Echo status            --  If ECHO, we are echoing characters
  14.                                 received back out the transmitter.
  15.                                 (useful for a BBS or remote shell)
  16.      XON/off status         --  Shows if Xon/off is enabled or disabled.
  17.                                 Valid are XENABLED, XDISABLED
  18.      TXD status             --  Are we transmitting? TALKON, TALKOFF
  19.      RXD status             --  Are we receiving?    LISTENON, LISTENOFF
  20.      SCAN status            --  Are we checking for matches?
  21.                                 SCANON, SCANOFF
  22.      Port name for rcv data --  The port to which we are sending rcv data.
  23.                                 Set by the CONNECT command.
  24.      Portname for CTRL      --  The port to which we are sending other data,
  25.                                 such as MATCH info.
  26. *    Serial read IO struct  --  The address of the serial read IO struct.
  27. *    Serial write IO struct --  The address of the serial write IO struct.
  28.  
  29. Notes:
  30.  
  31. *  These two are given in hexadecimal.
  32.    Use these at your own risk, and as an experiment only.  I have not
  33.    tested these yet, and they may or may not work at all, let alone
  34.    predictably.
  35.  
  36. EXAMPLE:
  37.  
  38.     To get/use the STATUS, the minimum requirement from a script is:
  39.  
  40.     options results
  41.     address 'ROBBS_ser'
  42.     status
  43.     say result
  44.  
  45. This will print something like this to the CLI:
  46.  
  47. 2400 NOECHO XDISABLED TRANSLATE TALKON LISTENON SCANOFF NONE CCS_ctrl 242800 242880
  48.