Fix Alt+numberpad in pterm. For a start, there was a bug whereby if