[comp.sys.amiga] Dnet NFS - Print spooler

kent@swrinde.nde.swri.edu (Kent D. Polk) (05/31/89)

As as already been mentioned, Matt has done it again with Dnet-NFS.  At
9600 baud, it's quite reasonable for many operations.

Thanks again, Matt.
(almost everything I use is or evolved from Matt's work - sigh).

Anyway, back to Dnet-NFS:

One tremendous benefit is its use in implementing a general-purpose
print (or whatever) spooler connected to your local Unix machine in
conjunction with Cmd on Fish Disk #95 (couldn't figure out how to get
1.3 Cmd to work as I wanted - what's 'opt i' - not in the 1.3 manual).

I've put together a couple of things to implement such:

1) A csh script which looks at the first line of the file sent to a
spool directory (as in ~/.spool) to see if it is a Bourne shell 'Here'
document that can be sh'ed (like a shar file). If not, it just cats it
to 'lpr'. The advantage is that one can specify what is to be done with
the file when get to the Unix machine (as in "expand -3 | enscript -2r").

2) A short 'C' program which constructs a Bourne shell 'Here' document
from stdin or a specified file, given the command string to be executed
when it gets to its destination (for the Amiga end).

Questions:

1) Would these be of use to anyone? (I need a little help getting the
csh script to be quiet when there are no files).

2) I can't seem to find an Amiga printer driver which doesn't create
control/M's on output. Any recommendations?

Thanks,

=======================================================
       Kent Polk - Southwest Research Institute
 {cs.utexas.edu, gatech!petro sun!texsun}!swrinde!kent
              kent@swrinde.nde.swri.edu
-------------------------------------------------------
       "Anything worth doing is worth overdoing"
=======================================================