[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

busybox init: very limited line editing functions



busybox does reset terminal settings via set_term() to some defaults that are
not so reasonnable:  in effect, it disables erasing characters with backspace.
Instead I get a \ displayed followed by the removed char.  For example, when I
type 3 chars then 3 backspace I get something like that displayed: abc\cba

I disabled set_term() in my local copy of busybox because boot-floppies fully
support linux terminal quite well.  Btw, TERM=linux is passed by the kernel
itself.
Erik, could only call set_term() when the TERM env variable is not set?

Regards.

-- 
 Eric Delaunay                 | "La guerre justifie l'existence des militaires.
 delaunay@lix.polytechnique.fr | En les supprimant." Henri Jeanson (1900-1970)


Reply to: