Add in (but do not use) PTY functions to abstract ptys from shell