make UPCAST_NO_PTY turn off pty sampling