 
   onResize: (callback) ->
     @emitter.on 'resize', callback
-
-  forkPtyProcess: (sh, args=[])->
-
 
   input: (data) ->
     try


  attachEvents: ->
    @resizeToPane = @resizeToPane.bind this
    @attachResizeEvents()
    atom.commands.add "atom-workspace", "term2:paste", => @paste()
    atom.commands.add "atom-workspace", "term2:copy", => @copy()


    catch error
      console.error error
    @resizeToPane()
    @focusTerm()

  attached: () ->
    {cols, rows, cwd, shell, shellArguments, shellOverride, runCommand, colors, cursorBlink, scrollback} = @opts
