> When I open a window in rio, run 9fat:, and then exit, the window gets
> 'stuck'. That is, it just sits there, I can't type anything in it
> anymore.
> Apparently, it is waiting for dossrv to exit (which gets started by
> 9fat:): when I open a second window, and run 'kill dossrv | rc', the
> first window disappears.
It is not waiting for dossrv to exit,
so much as it is waiting for all the open
file descriptors referring to that window's
/dev/cons to be closed. Dossrv just happens
to be the one holding them.
The window is reference-counted, and
there are still references. Try this in a window:
{sleep 2; echo hello world; sleep 2}& exit
Probably the various dossrv'ing scripts should run
dossrv </dev/null >/dev/null >[2=1]
but then you do lose any errors from dossrv.
On the other hand, if dossrv does error out
you'd still get an error from mount about #s/dos
not existing, so you would get *some* output.
> Am I doing something wrong (is there a way I can actually exit said
> window without killing dossrv)?
No, and no. Well, except for starting dossrv
differently.
> Has it always been this way
I think it has.
Russ