This is xprt-0.9.002, a program that allows the transparent use of 
attached auxiliary printers on terminals. It uses mandatory file
locking, so you need a kernel that has the support for mandatory 
locking compiled in. 

This program was written under Linux-2.0.27. Any recent Linux-version
should do. In fact, xprt could run on other Uni*es that support manda-
tory locking on character devices, too. That obviously does not include
AIX 3.4 and SCO 3.2v4.2.

Installation is pretty straight-forward: type 'make install' and find
out if I overlooked something :-).

Examples:

/etc/rc.d/rc.xprt
-----------------

#!/bin/sh

case "$1" in
start )
	mknod /dev/ttyS0_p p
	mknod /dev/ttyS1_p p
	xprt -i /dev/ttyS0_p -o /dev/ttyS0 -t vt100
	xprt -i /dev/ttyS1_p -o /dev/ttyS1 -t vt100
	;;

stop )
	killall xprt
	;;
esac


$HOME/.profile
--------------

  .
  .
  .
  mknod /tmp/my_printer p
  /usr/sbin/xprt -i /tmp/my_printer


Also take a look at the samples/ directory.

I hope its useful.

Christian Lademann <cal@zls.de>
03/12/1997

