home *** CD-ROM | disk | FTP | other *** search
-
- NAME: STATUS
-
- SYNTAX: STATUS
-
- STATUS reports back to the script a number of parameter settings.
- The status report is simply a number of uppercase words in a string
- that tell the following (in order of position within status string):
-
- baudrate -- a number representing actual baud rate
- Valid rates are 300, 1200, 2400, 4800
- 9600, 19200, and 31250 (MIDI)
- Echo status -- If ECHO, we are echoing characters
- received back out the transmitter.
- (useful for a BBS or remote shell)
- XON/off status -- Shows if Xon/off is enabled or disabled.
- Valid are XENABLED, XDISABLED
- TXD status -- Are we transmitting? TALKON, TALKOFF
- RXD status -- Are we receiving? LISTENON, LISTENOFF
- SCAN status -- Are we checking for matches?
- SCANON, SCANOFF
- Port name for rcv data -- The port to which we are sending rcv data.
- Set by the CONNECT command.
- Portname for CTRL -- The port to which we are sending other data,
- such as MATCH info.
- * Serial read IO struct -- The address of the serial read IO struct.
- * Serial write IO struct -- The address of the serial write IO struct.
-
- Notes:
-
- * These two are given in hexadecimal.
- Use these at your own risk, and as an experiment only. I have not
- tested these yet, and they may or may not work at all, let alone
- predictably.
-
- EXAMPLE:
-
- To get/use the STATUS, the minimum requirement from a script is:
-
- options results
- address 'ROBBS_ser'
- status
- say result
-
- This will print something like this to the CLI:
-
- 2400 NOECHO XDISABLED TRANSLATE TALKON LISTENON SCANOFF NONE CCS_ctrl 242800 242880
-