disable legacy ptys