anchor.diff:  	     error_status = Err, 
   	     error_index  = EI,
   	     varbinds     = VBs} = PDU when is_list(Idx) ->
  -	    io:format("EXPECT received pdu (14): "
  -		      "~n   [exp] Type:         ~p"
  -		      "~n   ReqId:              ~p"
  -		      "~n   [exp] Error Status: ~p"
  -		      "~n   [exp] Error Index:  ~p"
  -		      "~n   VBs:                ~p"
  -		      "~nwhen"
  -		      "~n   ExpVBs:             ~p"
  -		      "~n", [Type, ReqId, Err, EI, VBs, ExpVBs]),
  +	    io_format_expect("received pdu (14): "
  +                             "~n   [exp] Type:         ~p"
  +                             "~n   ReqId:              ~p"
  +                             "~n   [exp] Error Status: ~p"
  +                             "~n   [exp] Error Index:  ~p"
  +                             "~n   VBs:                ~p"
  +                             "~nwhen"
  +                             "~n   ExpVBs:             ~p",
  +                             [Type, ReqId, Err, EI, VBs, ExpVBs]),
   	    PureVBs = purify_oids(ExpVBs), 
   	    case lists:member(EI, Idx) of
   		true ->
  
positive.code:   when is_atom(Err) andalso 
         (is_integer(Idx) orelse is_list(Idx) orelse (Idx == any)) ->
      Check = fun(_, R) -> R end,
      io:format("EXPECT 'get-response'"
  	      "~n   with"
  	      "~n      Error:    ~p"
  	      "~n      Index:    ~p"
  	      "~n      Varbinds: ~p"
  	      "~n   within ~w~n", [Err, Idx, ExpVBs, To]),
      do_expect2(Check, 'get-response', Err, Idx, ExpVBs, To).
  
  
  do_expect(Type, Enterp, Generic, Specific, ExpVBs) ->
      do_expect(Type, Enterp, Generic, Specific, ExpVBs, 3500).
  
  do_expect(trap, Enterp, Generic, Specific, ExpVBs, To) ->
      io:format("EXPECT trap"
  	      "~n   with"
  	      "~n      Enterp:   ~w"
  	      "~n      Generic:  ~w"
  	      "~n      Specific: ~w"
  	      "~n      Varbinds: ~w"
  	      "~n   within ~w~n", [Enterp, Generic, Specific, ExpVBs, To]),
      PureE = purify_oid(Enterp),
      case receive_trap(To) of
  	#trappdu{enterprise    = PureE, 
  
negative.code: 
  do_expect({inform, false}, ExpVBs) ->
      Check = fun(_, R) -> R end,
      io_format_expect("'inform-request' (false) with"
                       "~n      Varbinds: ~p", [ExpVBs]),
      do_expect2(Check, 'inform-request', noError, 0, ExpVBs, get_timeout());
  
  do_expect({inform, true}, ExpVBs) ->
  