PR: 22713 Submitted by: Bernd Walter <ticso@cicely5.cicely.de>
Obtained from: SRM console magic from NetBSD