busybox stty -echo

Paul Albrecht albrecht at rdi1.com
Fri Jan 12 13:46:33 PST 2007


I typedef'ed int to smallint at the start of stty_main and the applet
compiled cleanly.

I tested "busybox stty -echo" with the updated busybox and it worked,
that is, echoing was turned off, so your fix works for me.

Thanks!

On Fri, 2007-01-12 at 23:03 +0100, Denis Vlasenko wrote:
> On Friday 12 January 2007 21:32, Paul Albrecht wrote:
> > 
> > Doesn't compile. Is there a typedef missing? What's smallint?
> 
> Yes. Replace by int.
> 
> > On Fri, 2007-01-12 at 21:48 +0100, Denis Vlasenko wrote:
> > > On Friday 12 January 2007 16:33, Paul Albrecht wrote:
> > > > 
> > > > I tried "busybox stty -echo" on busybox-1.30 and it doesn't work, that
> > > > is, I didn't get echoing turned off. I think this is a regression of
> > > > some sort because I can turn off echoing with the same applet using
> > > > busybox-1.2.2.
> > > 
> > > Thanks for the report. I think I found the problem.
> > > Please replace stty.c by attached file, recompile, and try again.
> > > 
> > > Does it work?
> > > --
> > > vda
> > 


More information about the busybox mailing list