Increase max input for password/bootlock_password from 16 to 255.
authordteske <dteske@FreeBSD.org>
Mon, 23 Mar 2015 16:43:46 +0000 (16:43 +0000)
committerdteske <dteske@FreeBSD.org>
Mon, 23 Mar 2015 16:43:46 +0000 (16:43 +0000)
commitd0ed14379ed8c3c3af22e44fc43063d3e677a44c
tree59ba51f9bfaddd9c53fec6fe1b6752e859097e8e
parentee7d1686fafa6ed98220a303e333ef6beaaad804
Increase max input for password/bootlock_password from 16 to 255.
When taking user input, don't show asterisks as the user types
but instead spin a twiddle. Implement Ctrl-U to clear user input.
If the buffer is empty, either because the user has yet to type
anything, presses Ctrl-U at any time, or presses backspace enough
to end in an empty buffer, the twiddle is erased to provide feed-
back to the user.

MFC after: 3 days
X-MFC-to: stable/10 stable/9
sys/boot/forth/check-password.4th