Reading from named pipes

Koen Dejonghe
Wed, 12 Aug 1998 09:25:15 -0000

Dear all,

Some time ago there was a discussion here on using named pipes as a
means of transferring data from the PC to UNIX.

The following example from Brett Worth works very well.
$ mknod pipe p
$ cat pipe
Meanwhile over on the PC...
D:\tmp>echo hello > pipe
Then back at the Unix machine:
$ cat pipe
hello
$

However it does not seem to work in the opposite direction. I am not
able to do a thing like:
On UNIX:
$ echo "hello" > pipe
On the PC:
d:\tmp>type pipe
The last command releases the pipe on UNIX all right but it invariably
returns an empty string.

Any ideas somebody ?


_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com