pterm.c now relies on backend `exitcode' functions returning <0 when