Re: boot from softraid, backspace in passphrase prompt

2015-10-30 Thread Miod Vallat
> I want correct typing mistakes when booting from softraid crypto disks. > Can we handle at least the backspace key, plz^Hease? :) This calls for a libsa gets() replacement, which will honour bounds. What about the plumbing diff below, so that softraid-capable bootblocks can use the new getln() r

Re: boot from softraid, backspace in passphrase prompt

2015-10-28 Thread Theo de Raadt
> Theo de Raadt wrote: > > Since people are typing blind, can you add support for ^U as well? > > > > > I want correct typing mistakes when booting from softraid crypto disks. > > > Can we handle at least the backspace key, plz^Hease? :) > > Yes, and yes. ^U should be 0x15 and we'll just hope the

Re: boot from softraid, backspace in passphrase prompt

2015-10-28 Thread Ted Unangst
Theo de Raadt wrote: > Since people are typing blind, can you add support for ^U as well? > > > I want correct typing mistakes when booting from softraid crypto disks. > > Can we handle at least the backspace key, plz^Hease? :) Yes, and yes. ^U should be 0x15 and we'll just hope the terminal work

Re: boot from softraid, backspace in passphrase prompt

2015-10-28 Thread Theo de Raadt
Since people are typing blind, can you add support for ^U as well? > I want correct typing mistakes when booting from softraid crypto disks. > Can we handle at least the backspace key, plz^Hease? :) > > diff --git sys/arch/amd64/stand/libsa/softraid.c > sys/arch/amd64/stand/libsa/softraid.c > in

boot from softraid, backspace in passphrase prompt

2015-10-28 Thread Uwe Stuehler
I want correct typing mistakes when booting from softraid crypto disks. Can we handle at least the backspace key, plz^Hease? :) diff --git sys/arch/amd64/stand/libsa/softraid.c sys/arch/amd64/stand/libsa/softraid.c index 336865a..801cec4 100644 --- sys/arch/amd64/stand/libsa/softraid.c +++ sys/ar