read_line_input: fix it to not do any fancy editing if echoing is disabled.
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Sat, 20 Oct 2007 18:30:38 +0000 (18:30 +0000)
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Sat, 20 Oct 2007 18:30:38 +0000 (18:30 +0000)
commit274db06be6711033cdd540118aef19757b7a978b
treee862c15849181373d5ea3a0820d75393d3054240
parent3903e213dd6d7613814461c01bd98829d5e6052e
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

git-svn-id: svn://busybox.net/trunk/busybox@20308 69ca8d6d-28ef-0310-b511-8ec308f3f277
libbb/lineedit.c
shell/ash.c