svn commit: trunk/busybox/coreutils

Bernhard Fischer rep.dot.nop at gmail.com
Sat Jan 13 19:35:35 UTC 2007


On Fri, Jan 12, 2007 at 01:03:07PM -0800, vda at busybox.net wrote:
>Author: vda
>Date: 2007-01-12 13:03:07 -0800 (Fri, 12 Jan 2007)
>New Revision: 17262
>
>Log:
>stty: fix bug reported by Paul Albrecht <albrecht at rdi1.com> -
>stty -echo didn't work. Introduced by me :( 
>
>
>Modified:
>   trunk/busybox/coreutils/stty.c

I'm currently looking at debloating stty a little bit.

$ size coreutils/stty.o.01a coreutils/stty.o
   text	   data	    bss	    dec	    hex	filename
   6714	      8	     14	   6736	   1a50	coreutils/stty.o.01a
   6529	      8	     14	   6551	   1997	stty.o.01b
   6526	      8	     14	   6548	   1994	stty.o.01c
   6523	      8	     14	   6545	   1991	stty.o.01d
   6499	      8	     14	   6521	   1979	stty.o.not_yet_finished


stty_orig__to__01b.diff:
- redo state-handling in main to peruse option_mask32
stty_01b__to__01c.diff:
- misc cleanup
stty_01c__to__01d.diff:
- remove string_to_baud_or_die and use tty_value_to_baud directly
stty_01d__to__01e.diff:
- remove duplicated TIOGCWINSZ handling WRT get_terminal_width_height
  (not yet finished)

Eventual further plans with stty:
* unify catv.c guts and stty's visible()
* unify display_all() and display_changed()

I'll send my proposals to the list.

Is there a testsuite for stty somewhere that could be used to check if
our applet behaves as expected? Pointers to this would be very welcome.





More information about the busybox mailing list