anchor.diff:    ?LOG([{bored,State}, {state,St}, {msgs,process_info(self(),messages)}]),
     St.
   
  --spec die(term()) -> no_return().
  -die(quitting) -> ok;
  -die(Reason) ->
  -  process_flag(trap_exit,false),
  -  error({dying,Reason}).
  +-spec die() -> no_return().
  +die() ->
  +  exit(dying).
   
   log(ProcInfo,Term) when not is_list(Term) -> log(ProcInfo,[Term]);
   log(ProcInfo,List) ->
  
positive.code:     {Port,{data,PortData}} ->           %from the port
        waiting(handle_portdata(St, PortData),CmdArgs,OldReps);
      {'EXIT',Port,Reason} ->                 %port died, us too
        die({port_died,{Reason,CmdArgs}});
      quit ->
        die(quitting)
    after
      ?BORED -> waiting(bored(waiting,St),CmdArgs,OldReps)
    end.
  
negative.code:     {Port,PortData} ->                  %from the port
        waiting_handshake(handle_portdata(St, PortData));
      {'EXIT',Port,Reason} ->                 %port died, us too
        ?LOG({port_died,Reason});
      quit ->
        die()
    after
      ?BORED -> waiting_handshake(bored(waiting_handshake,St))
    end.
  