Re: busybox init: very limited line editing functions
Erik Andersen wrote:
> On Fri Nov 12, 1999 at 01:02:11AM +0100, Eric Delaunay wrote:
> >
> > 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?
> >
>
> Hmm. It seems to work for me (with set_term() being called) on both x86 and
> the PPC boxes I have here at work... Anybody else seeing this problem? Eric
> what arch are you using? Are using using serial console?
sparc32 (old SparcClassic) and latest kernel 2.2.13 compiled by Ben Collins.
Regards.
PS: I don't run a serial boot just now but I'm remembering that boxes are
drawn using alphanum characters unless I set TERM=vt100 or the like.
--
Eric Delaunay | "La guerre justifie l'existence des militaires.
delaunay@lix.polytechnique.fr | En les supprimant." Henri Jeanson (1900-1970)
Reply to: