ddfa.7 (2010 09)
d
ddfa(7) ddfa(7)
Configuring the Port Configuration Files
A port configuration file is used to configure individual terminal server ports. A master port configuration
file is /usr/examples/ddfa/pcf
. In practice, it is renamed for each port that needs different
configuration values and the values are altered appropriately for the device attached to the port. It is
recommended that a directory be created to hold the port configuration files and the
dp file.
Each line of a port configuration file must consist of a name of a variable and its value. The variable-
value pairs contain information on how to open a connection to a terminal server port, how to close a con-
nection to a terminal server port, and how to manage the data transfer to a terminal server port.
Configuring a System Initialization Script
DDFA can be run at boot time by including a reference to
dpp in a system initialization script. It is
recommended that the
-k option be used when running
dpp in this environment.
KILLING DAEMONS
Note that
ocd should be killed using
kill -15. Do not use kill -9 for this purpose as it does not
remove the device file.
ocd verifies the validity of an existing pseudonym before trying to use it.
dpp
and ocd use data stored in the file
/var/adm/utmp.dfa
to verify whether a process still owns a pseu-
donym before taking it over. If
ocd finds an unowned pseudonym, it uses it.
ERROR HANDLING
When
ocd receives a serious error condition, such as when the LAN goes down, it transmits the error
condition to the application by closing the pty. Any open(), close(), read(),or
write() to the
pseudonym returns the error condition
0 bytes read. If the pseudonym is the controlling terminal for
the group to which the application belongs, SIGHUP is sent to all the processes in the group, including
the application.
ioctl() LIMITATIONS
Not all
ioctl() functionality is available, due to the lack of a protocol that allows the transmission of
such commands over the LAN to the remote port.
termio Attribute Limitations
The main restrictions on
termio attributes (see termio(7)) include modem signal control and parity
checking. The following are not available:
CBAUD IGNPAR INPCK IXANY IXOFF PARMRK
ioctl() Request Limitations
The following ioctl() request limitations apply:
CSTOPB flag DTC only supports one stop bit.
CSIZE DTC only supports 8 bits per character. Value cannot be modified.
PARODD flag DTC offers static configuration to handle even or odd parity. It also handles
auto parity detection for even or odd parity.
PARENB flags Enabling/disabling done via static configuration. No programmatic interface
supplied.
INPCK flag No way to separate input from output parity features.
IGNPAR flag Cannot be configured on DTC.
PARMRK Bad characters are forwarded to the system without marking them with OFFH
or OH.
CBAUD Speed is part of static configuration.
IXOFF flag Flow control is enabled if the DTC static configuration specifies an ASCII
access mode. If binary is selected, no flow control is provided.
IXON flags Pacing of output to a terminal via a programmatic interface is enabled when
ASCII mode is selected in static port configuration and disabled when binary
mode is selected.
IXANY flag DTC does not offer the ability to restart output on any character received if
XOFF was previously received.
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010