         cmdObj.variables[name] = value
       [line, strBuffer] = readLine strBuffer
       return false unless line?
-
-    console.error "foo8"
-
-    console.error "== debug =="
-    console.error cmdObj.cmd
-    console.dir cmdObj.variables
 
     switch cmdObj.cmd
       when "save" then handleSave(cmdObj.variables, cmdObj.data)



  handleClose = (variables, data) ->
    console.error "handleClose"
    file = variables.token
    console.error "Closed #{file}" if options.verbose


    return true

  tcp.on 'data', (data) ->
    handleData = () ->
      return unless strBuffer.length > 0
      if firstLine
