[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

%read and %write



Is there a way of directly doing read and write to fd's? It would be sort
of nice to be able to open an fd and access it directly.
I want to be able to control things like dbx from the shell. I had
something like 

>mknod fifo p
>dbx bin/es <fifo
>fifofd=<={%openfd fifo}
>fn d: {
%write $fifofd $*
}
>d: run

in mind.

Am I mad? Or am I just missing something?

Colman

-------
Colman Reilly ,School Of Mathematics, Trinity College, Dublin 2, Ireland.
creilly@maths.tcd.ie
(Home)+353-(0)1-8204643 (College)+353-(0)1-7022280 PGP Public Key on Request