On Sun, Feb 10, 2008 at 09:16:59PM +0100, Yoshinori K. Okuji wrote: > On Sunday 10 February 2008 14:16, Robert Millan wrote: > > Adds a parameter to define echoing behaviour in read. Then one can use > > --echo=no or --echo=wildcard to make it suitable for reading passwords. > > Can you describe how you are planning to use it?
This doesn't work yet, because of the lexer bug I mentioned in the other thread, but roughly: menuentry "LOCK" { set menu_lock=1 } menuentry "UNLOCK" { echo -n "Password: " read --echo=wildcard password if test $password=grubrocks ; then unset menu_lock fi } -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call… if you are unable to speak? (as seen on /.) _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel