bdconfig [startup] [off] [on] [term] [status] [verbose]
SUNWdialh
bdconfig is responsible for configuring the autopush facility and defining to the system what serial device to use for the bd stream.
Root privilege is required to change the configuration. The status option does not require root privilege. bdconfig can be installed as a setuid root program.
The non-interactive options below can be given in any order.
bdconfig returns 0 on success, 1 on general error, and 2 on argument error.
All bdconfig does is configure the AUTOPUSH facility. bdconfig does not actually manipulate the serial port or stream in any way. Only the first open of a dismantled stream will see the effects of a previously run bdconfig.
bdconfig is silent except for error messages unless:
a) invoked with no args: status / usage line emitted
b) interactive modes are invoked as described above
c) the verbose option is used
The interface does not support more than one dialbox and one buttonbox, both of which must be on the same serial device.
There should be a library routine to read, parse, and validate records in the iu.ap file, so that bdconfig could return to the appropriate record in iu.ap as the default configuration.