Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!spool2.mu.edu!uunet!mcsun!ukc!axion!vision!ukpoit!ian From: ian@ukpoit.co.uk (Ian Spare) Newsgroups: comp.unix.questions Subject: cat , lp.cat and streams Message-ID: <1991Jan29.092003.4822@ukpoit.co.uk> Date: 29 Jan 91 09:20:03 GMT Organization: iT - The Information Technology Business Of The Post Office Lines: 29 I'm not very up on streams , I understand all the general principles ( I think :-) ) but I have a question. Will the allocation of a stream for cat and lp.cat depend on the buffer size I assume the write call in these programs use ??? Is it then likely that cat and lp.cat make use of different size streams ??? We have some printer interfaces , some I based on the standard script , from AT&T I think ( the long one !! ) which make use of lp.cat and some a colleague mistakenly used based on a Rel 5.2 script using cat. When using the cat based script we see many stream failures ie not enough allocated. Can anyone explain these things ??? ( replies via e-mail ) PS This occurs on an NCR32/500 running 1.01.01 ( 5.3 ). -- Ian Spare , iT , Barker Lane , CHESTERFIELD , DERBYS , S40 1DY , GREAT BRITAIN E-mail : ian@ukpoit.uucp - VOICE : +44 246 214296 - FAX : +44 246 214353 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iT - The Information Technology Business Of The Post Office ~~~~~~~~~~~~~~~~~~~~~~~ In Tune With Technology ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- Ian Spare , iT , Barker Lane , CHESTERFIELD , DERBYS , S40 1DY , GREAT BRITAIN E-mail : ian@ukpoit.uucp - VOICE : +44 246 214296 - FAX : +44 246 214353