Xref: utzoo unix-pc.general:1151 comp.sys.att:3850 Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!rutgers!uwvax!umn-d-ub!rhealey From: rhealey@umn-d-ub.D.UMN.EDU (Rob Healey) Newsgroups: unix-pc.general,comp.sys.att Subject: Re: Still problems with my line printer Summary: Use the file command on FIFO Keywords: 3b1 line printer spooler problems Message-ID: <419@umn-d-ub.D.UMN.EDU> Date: 23 Jul 88 20:36:01 GMT References: <1054@rphroy.UUCP> <207@tarkus.UUCP> Reply-To: rhealey@ub.d.umn.edu.UUCP (Rob Healey) Organization: University of Minnesota, Duluth Lines: 23 In article <207@tarkus.UUCP> jcs@tarkus.UUCP (John C. Sucilla) writes: >Well, it looks like a regular file to me.. When I -l that file I don't >see any major and minor numbers, just a size of 0. >Here is what it looks like on tarkus. >-rw------- 1 lp other 0 Jul 17 23:06 /usr/spool/lp/FIFO The trick is to use file on /usr/spool/lp/FIFO. Some things to do when there's nothing better to do: mknod /tmp/xx p cat /tmp/xx & echo I'm a little FIFO, little FIFO, little FIFO >/tmp/xx Notice how a named pipe hangs around till you specifically remove it, i.e. rm. One can putts for hours thinking of new and improved ways to waste your time.... You can even change it's mode so EVERYONE can play! -Rob -- -Rob