'Bind keyboard and file events.'

def bindEvents(self):

    self.text.bind('<Return>', self.handleReturn)
    self.text.bind('<Control-c>', self.handleInt)
    self.text.bind('<KeyPress>', self.handleKey)
    self.tk.createfilehandler(self.node.stdout, READABLE, self.handleReadable)
