anchor.diff:  -define(ERRLINES_MAX, 100).
   -define(OOB_MAX, 1000).
   
  -start_link_remote(Master, Host, NodeMon, Task) ->
  -    Debug = disco:get_setting("DISCO_DEBUG") =/= "off",
  -    Node  = disco:node(Host),
  +start_link_remote(Host, NodeMon, Task) ->
  +    Node = disco:slave_node(Host),
       wait_until_node_ready(NodeMon),
  -    spawn_link(Node, disco_worker, start_link, [{self(), Master, Task}]),
  +    spawn_link(Node, disco_worker, start_link, [{self(), node(), Task}]),
       process_flag(trap_exit, true),
       receive
           ok -> ok;
  
positive.code:                {env, dict:to_list(JobEnvs)}],
      {noreply, State#state{port = open_port({spawn, Command}, Options)}}.
  
  handle_cast(kill_worker, State) ->
      {stop, {shutdown, {fatal, "Worker killed"}}, State}.
  
  
negative.code:     {stop, {shutdown, {fatal, Reason}}, State};
  
  handle_info({'DOWN', _, _, _, Info}, State) ->
      {stop, {shutdown, {fatal, Info}}, State};
  
  handle_info({work, JobHome}, #state{task = Task, port = none} = State) ->
      Worker = filename:join(JobHome, binary_to_list(Task#task.worker)),
      file:change_mode(Worker, 8#755),
      Command = "nice -n 19 " ++ Worker,
  