Delete setpgid() in pty