HP3000-L Archives

August 1999, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Joseph Norris <[log in to unmask]>
Reply To:
Joseph Norris <[log in to unmask]>
Date:
Mon, 16 Aug 1999 09:22:00 -0700
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (52 lines)
From another email to the list, I find that I have know what the aoptions
are on the file in question. Do you know of a method of finding how Perl
is opening this fifo file?

Thanks for your help.

#Joseph Norris (Perl - what else is there?/HP3000/Linux/CGI/Msql)
print @c=map chr $_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,
-68,4,-3,-1,7,1,14,-68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);


On Mon, 16 Aug 1999, Newman, Kevin: wrote:

Joseph,

Be sure and tell Perl to NOT use its default buffering.   Have it write
to the file as soon as it can instead of buffering the output to the
file.

ie: $| = 1;

Kevin

> -----Original Message-----
> From: Joseph Norris [SMTP:[log in to unmask]]
> Sent: Monday, August 16, 1999 6:53 AM
> To:   [log in to unmask]
> Subject:      Trouble with fread after open of fifo
>
> Hello group,
>
> I have a Perl process opening a fifo file for write access in the
> Posix
> file space and a Cobol program opening a fifo file for read in the
> MPEix
> file space. The perl open is successful but it appears the the write
> to
> the file does not happen (i have those little debugging messages that
> tell
> me where I am). The Cobol program successfully opens the fifo file (no
> errors in the hpfopen call) and then returns a greater than condition
> code. I am not sure what is happening here. Can anyone suggest some
> paths
> to debugging this problem?
>
> Thanks.
>
> #Joseph Norris (Perl - what else is there?/HP3000/Linux/CGI/Msql)
> print @c=map chr
> $_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,
> -68,4,-3,-1,7,1,14,-68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);

ATOM RSS1 RSS2