shrub/pkg/arvo/imp/ph/breach-hi.hoon
2019-11-13 20:45:12 -08:00

19 lines
518 B
Plaintext

/- spider
/+ *ph-io
=, thread=thread:spider
^- imp:spider
|= [=bowl:spider vase]
=/ m (thread ,vase)
;< ~ bind:m start-azimuth
;< ~ bind:m (spawn ~bud)
;< ~ bind:m (spawn ~dev)
;< ~ bind:m (real-ship ~bud)
;< ~ bind:m (real-ship ~dev)
;< ~ bind:m (send-hi ~bud ~dev)
;< ~ bind:m (breach-and-hear ~dev ~bud)
;< ~ bind:m (send-hi-not-responding ~bud ~dev)
;< ~ bind:m (real-ship ~dev)
;< ~ bind:m (wait-for-output ~bud "hi ~dev successful")
;< ~ bind:m end-azimuth
(pure:m *vase)