Path: utzoo!utgpu!news-server.csri.toronto.edu!csri.toronto.edu!dw Newsgroups: comp.unix.ultrix From: dw@csri.toronto.edu (Dave Wortman) Subject: /usr/lib/lpd broken in Ultrix 4.0 (RISC) Message-ID: <1990Dec18.123735.7656@jarvis.csri.toronto.edu> Organization: CSRI, University of Toronto Date: 18 Dec 90 17:37:35 GMT Lines: 16 I've been trying to use the expanded facilities of /usr/lib/lpd to do remote printing from a distant workstation. On the workstation, /etc/printcap for the remote printer includes: ct=network:uv=psv1.0:of=MYFILTER plus the usual entries. MYFILTER is installed in /usr/local/lib/lpdfilters. By adding db#10 to the printcap entry I can monitor attempts at remote printing (very useful debug output BTW). MYFILTER gets called by /usr/lib/lpd with the expected arguments. The problem is that NO standard input is attached to MYFILTER when it gets called. i.e. if I replace MYFILTER with /bin/cat > /tmp/foo nothing goes into the file /tmp/foo. If anyone has a workaround for this bug, I'd be interested Dave Wortman, Computer Systems Research Institute, University of Toronto