'If the terminal is \'bad\', fail.  Otherwise, store the information in
the ptyRequest variable.'

def getPty(self, terminal, window, modes):

    if (terminal != 'bad'):
        self.ptyRequest = (terminal, window, modes)
    else:
        raise RuntimeError('not    getting    a    pty')
