[erlang-questions] input too fast

Bengt Kleberg bengt.kleberg@REDACTED
Wed Aug 1 10:14:09 CEST 2007


On 2007-07-13 21:35, Michael FIG wrote:
> Fredrik Svahn <fredrik.svahn@REDACTED> writes:
> 
>> While I agree that "<stdin>" seems to be a perfectly valid (although not >recommended) filename in all(?) unix systems I do not think that using an atom will >help.
> 
> Why not use a Unix convention, "/dev/stdin" and "/dev/stdout"?

in case you missed it i think my latest suggestion(*) sidesteps the 
problem neatly.

(*) add the possibility to handle the atom standard_io as an IoDevice in 
file:read/2, write/2, pread/2-3, pwrite/2-3.

1 this is backwards compatible since nobody can have used an atom here.
2 it is consistent since the io module has this possibility already.

it might be a good idea to add a access stderr, too.


bengt
-- 
Those were the days...
    EPO guidelines 1978: "If the contribution to the known art resides
    solely in a computer program then the subject matter is not
    patentable in whatever manner it may be presented in the claims."



More information about the erlang-questions mailing list