Use require('tty') to access this module.
Spawns a new process with the executable pointed to by path as the session
leader to a new pseudo terminal.
Returns an array [slaveFD, childProcess]. slaveFD is the file descriptor
of the slave end of the pseudo terminal. childProcess is a child process
object.
Returns true or false depending on if the fd is associated with a
terminal.
mode should be true or false. This sets the properies of the current
process's stdin fd to act either as a raw device or default.
ioctls the window size settings to the file descriptor.
Returns [row, col] for the TTY associated with the file descriptor.