ref: 4e18dc77f2ab9257b363ccb480a69cb9def901ba dir: /bin/sio/
#!/bin/rc rfork e fn sigexit {rm -f $data} fn iscons {grep -s ' /dev/cons$' /fd/^$1^ctl} data=/tmp/sio.$pid >$data if(! iscons 0) cat >$data editor $data cat $data