read_line_input: fix it to not do any fancy editing if echoing is disabled.
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 20 Oct 2007 18:30:38 +0000 (18:30 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 20 Oct 2007 18:30:38 +0000 (18:30 -0000)
commit037576d77b62186551ad07b10eb46a73144b9f84
treee862c15849181373d5ea3a0820d75393d3054240
parent99014e89656594ce9beec06f2605f6f7126907b9
read_line_input: fix it to not do any fancy editing if echoing is disabled.
ash: make read handling both more correct and smaller

read_line_input                                     4037    4101     +64
input_backward                                       140     139      -1
readcmd                                             1079    1070      -9
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 65/-10)             Total: 54 bytes
   text    data     bss     dec     hex filename
 777575    1000    9532  788107   c068b busybox_old
 777629    1000    9532  788161   c06c1 busybox_unstripped
libbb/lineedit.c
shell/ash.c