ocdebug.1m (2010 09)

o
ocdebug(1M) ocdebug(1M)
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.
If it is omitted, the logging level is set to 1.
-nnode_name Specify the IP address of the terminal server or the port.
-pport_no Specify a DTC port number or, if the
-b option is omitted, the TCP port service
address that will be used by the software to access the port. If the value is omitted,
the value
23 (Telnet) is used by default.
In order to shutdown every
ocd running without restarting them, the following command can be exe-
cuted:
kill -15 ‘ps -e | grep ocd | awk ’{print $1}’‘
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.
Also, in order to reliably handle timing mark negotiations (and ensure that files printing on a printer
attached to a terminal server have been completely flushed to that printer), the following line must be
added near the end of each printer interface script for printers attached to a terminal server:
stty exta <&1 2>/dev/null
The printer interface scripts reside in the directory /etc/lp/interface
. The line must be added just
prior to the final ’exit’ command in each printer interface script.
If this line is not added as specified, the printing reliability of printers attached to a terminal server is not
guaranteed.
FILES
/usr/examples/ddfa/dp
/usr/examples/ddfa/pcf
/usr/sbin/dpp
/usr/sbin/ocd
/usr/sbin/ocdebug
/var/adm/dpp_login.bin
/var/adm/ocdpid
/var/adm/syslog
/var/adm/utmp.dfa
SEE ALSO
dpp(1M), ocd(1M), syslog(3C), dp(4), pcf(4), ddfa(7).
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010