mgetty already has utmpx support for SVR4; we can borrow it with a few changes to make utmpx work. Feature safe: yes