refines %sunk discontinuity notifications

still not completely correct ...
This commit is contained in:
Joe Bryan 2018-10-18 12:38:43 -04:00
parent 13ada085b6
commit a29a40b0d9
2 changed files with 17 additions and 8 deletions

View File

@ -1466,15 +1466,21 @@
fox(bad (~(put in bad.fox) p.kyz)) fox(bad (~(put in bad.fox) p.kyz))
:: ::
%sunk %sunk
=/ con=corn (~(got by zac.fox) p.kyz) :: XX single-home properly
=. con con(wab (~(del by wab.con) p.kyz))
=/ suf=sufi (~(got by urb.ton.fox) p.kyz)
=. suf suf(hoc (~(del by hoc.suf) p.kyz))
:: ::
:- ~ =/ our=ship
=/ key ~(key by urb.ton.fox)
?>(?=([@ ~ ~] key) n.key)
=* who p.kyz
=/ con=corn (~(got by zac.fox) our)
=. con con(wab (~(del by wab.con) who))
=/ suf=sufi (~(got by urb.ton.fox) our)
=. suf suf(hoc (~(del by hoc.suf) who))
::
:- [%wine [our who] " has sunk"]~
%= fox %= fox
zac (~(put by zac.fox) p.kyz con) zac (~(put by zac.fox) our con)
urb.ton (~(put by urb.ton.fox) p.kyz suf) urb.ton (~(put by urb.ton.fox) our suf)
== ==
:: ::
%wake %wake

View File

@ -158,7 +158,6 @@
(crud p.kyz q.kyz) (crud p.kyz q.kyz)
$blew (send %rez p.p.kyz q.p.kyz) $blew (send %rez p.p.kyz q.p.kyz)
$heft heft $heft heft
$sunk +>
$veer (dump kyz) $veer (dump kyz)
$vega (dump kyz) $vega (dump kyz)
$velo (dump kyz) $velo (dump kyz)
@ -540,6 +539,10 @@
=/ not=note-dill =/ not=note-dill
?:(?=([%crud %hax-heft ~] p.q.hic) [%heft ~] p.q.hic) ?:(?=([%crud %hax-heft ~] p.q.hic) [%heft ~] p.q.hic)
[[u.hey.all %slip %d not]~ ..^$] [[u.hey.all %slip %d not]~ ..^$]
:: a %sunk notification from %jail comes in on an unfamiliar duct
::
?: ?=(%sunk -.q.hic)
[~ ..^$]
:: ::
=/ nus (ax hen) =/ nus (ax hen)
?~ nus ?~ nus