home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.30 / text0039.txt < prev    next >
Encoding:
Text File  |  1993-03-11  |  843 b   |  22 lines

  1. Submitted-by: gwyn@smoke.brl.mil (Doug Gwyn)
  2.  
  3. In article <1js17fINNenp@ftp.UU.NET> davecb@nexus.yorku.ca (David Collier-Brown) writes:
  4. >  I'd like to follow the implied RFC model a bit closer and define a
  5. >protocol.  You know, like ``first you open the file, then read or write
  6. >for a while, then close''.
  7.  
  8. Well, gee, once you look at it that way, the spooler interface ought to
  9. be something like:
  10.     cp print_me /dev/spool
  11. where the /dev/spool filesystem takes care of assigning unique queue names,
  12. etc. and for example
  13.     ls /dev/spool/status | grep "^$MY_UID"
  14. would show how your jobs are doing.
  15. Of course that's a bit simplistic, but why should we even THINK about
  16. introducing a new, different protocol for some set of open/read/write/close
  17. actions when we already have a general one?  (Or should have.)
  18.  
  19.  
  20. Volume-Number: Volume 30, Number 39
  21.  
  22.