passwd - no stty echo after Ctrl-C

Denys Vlasenko vda.linux at googlemail.com
Sat Oct 20 19:02:22 UTC 2007


On Thursday 18 October 2007 04:56, Alexander Kriegisch wrote:
> Platform: mipsel
> BB version: 1.7.2 or i386
> 
> When issuing Ctrl-C during password entry, I still have invisible
> characters at the ash prompt. The output is okay, though. As soon as I
> call "stty echo" manually, the shell prompt is okay again.
> 
> Reproduce like this on i386:
> bash $ ./busybox ash
> ash $ ./busybox passwd
> Changing password for root
> New password: [Ctrl-C]
> ash $ <now type something>
> ash $ stty echo  # repair
> 
> Can this be fixed?

Try attached patches.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8.patch
Type: text/x-diff
Size: 2198 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20071020/8b99b1af/attachment-0004.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7.patch
Type: text/x-diff
Size: 986 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20071020/8b99b1af/attachment-0005.bin 


More information about the busybox mailing list