On Monday 02 of September 2013 14:13:56 Alexander Sychev wrote:or use 9p rdwr:
> The problem is the "addr" file is closed between your calls. When you open
> the "addr" file next time, an internal address is set to 0,0.
> But after the writing the address is actual and if you read "data" file you
> will see the text according to your address.
>
> I you write the code on C or Go without a closing a descriptor of "addr"
> file, everything will be ok :-)
echo 'dot=addr' | 9p rdwr acme/2/ctl
echo -n , | 9p write acme/2/addr
--
dexen deVries
[[[↓][→]]]
Take care of the luxuries and the necessities will take care of themselves.
-- L. Long