I think the easiest approach here would be to use a shell command to
read /dev/random.

The problem is that it's a device, but J file read commands read files
(J asks for how much there is to read and then reads that much, but
/dev/random does not have a meaningful answer to the question about
size).

You could also build up a read mechanism using the 15!: mechanisms,
either calling a library you built yourself or building a sequence of
commands using libc (or some other library).  But that's not worth the
effort in a first pass (this approach might or might not be
worthwhile, though, if you are planning to release your code to a wide
audience).

FYI,

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to