It accesses the X25 virtual circuit using the X.25 API. This allows it to read packets instead of a data stream. Only printable characters are sent to the file.
When invoked the first argument to this routine is the name of the minor device that the incoming call is on. The daemon does not accept the incoming call, as this program must examine the incoming call to determine the packet size.
stdin, stderr, and stdout are not open when this program is invoked by the X25daemon.
To get this program invoked specify it as entry in the /etc/x25incalls file, a possible entry is:
CUD=\1\0\0\0PR:PASS:API:YES:/usr/lib/x25/utils/printx25 $dev -dprinterThis will route all incoming calls containing ITI call user data followed by ASCII PR to this program.
Copyright © 1997-2002 The Software Group Limited.
All Rights Reserved.
® Netcom is a registered trademark of The Software Group Limited.