dp.4 (2010 09)
d
dp(4) dp(4)
If the dtc_name field explicitly defines the node name or the IP address of the termi-
nal server port, the value in the board
/port field must be xx/xx (use X or x).
If the field is of the form
xx/n where n is a decimal number, n is assumed to be the
TCP port service address and it is used when the connection is established.
pseudonym This field is the absolute path of the device file known to the system and the end-user
application. The device file name portion of the path name is limited to 14 characters.
pc_file_path This field is the path to a port configuration file which contains the configuration
information for the terminal server port. This field is mandatory for outbound connec-
tions as
dpp uses the presence of this field as its flag to spawn a daemon for the
entry.
log_level This field is the logging level for the particular
ocd and it determines the severity of
messages sent to
/var/adm/syslog
. The logging levels (and how they relate to
system logging levels) are as follows:
0 Log only LOG_CRIT messages.
1 Log only LOG_CRIT and LOG_ERR messages.
2 Log only LOG_CRIT, LOG_ERR, and LOG_WARNING messages.
3 Log all messages.
It is optional and may only be specified for outbound connections. If it is omitted, the
logging level is set to 1.
EXAMPLES
The following examples illustrate file entry syntax.
A printer is connected to port 1 of board 3 of a DTC with the IP address 11.234.87.123. The device
attached to the port can be accessed with the HP-UX spooler by using the device file
/dev/telnet/lp1_ocd
.
11.234.87.123 03/01 /dev/telnet/lp1_ocd /usr/examples/ddfa/pcf
A printer is connected to a terminal server port with IP address 11.234.87.124. The board
/port field con-
tains
xx/xx. The device attached to the port can be accessed with the HP-UX spooler by using the dev-
ice file /dev/telnet/lp2_ocd
.
11.234.87.124 xx/xx /dev/telnet/lp2_ocd /usr/examples/ddfa/pcf
A printer is connected to a port accessed with TCP port service address 5001 of a terminal server with the
IP address 11.234.87.215. The device attached to the port can be accessed with the HP-UX spooler by
using the device file /dev/telnet/lp3_ocd
.
11.234.87.215 xx/5001 /dev/telnet/lp3_ocd /usr/examples/ddfa/pcf
A terminal is connected to port 1 of board 2 of a DTC with the IP address 11.234.87.215 and wishes to use
Telnet port identification.
11.234.87.215 02/01 /dev/telnet/tm02
WARNINGS
In order to ensure that commands (such as ps) display the correct device file name (that is, the pseu-
donym), all pseudonyms should be placed into the directory /dev/telnet. If pseudonyms are not
specified for placement in this directory, the correct display of device file names with many commands is
not guaranteed.
In addition, in order to ensure that commands (such as
w, passwd, finger, and wall) work correctly,
each pseudonym must be unique in its first 17 characters (including the directory prefix
/dev/telnet/). If pseudonyms are not unique in their first 17 characters, the correct functioning of
many commands is not guaranteed.
FILES
/usr/sbin/dpp
/usr/sbin/ocd
/usr/sbin/ocdebug
/var/adm/dpp_login.bin
/var/adm/utmp.dfa
/usr/examples/ddfa/dp
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010