Picon

setterm, without settleds

                                 ,,,,,
                                (o  o)
*******************oOO**(_)**OOo***************

Finnaly, it's working, it doesn't have the setleds thing because it
didn't worked,
the terminal ended really weird and only reset turn it back to normal.

does anyonem has problems if I use ioctl's ? because that's what the
real setleds use. spite the man page sais ioctl's can change witout
warning.

but is not a real issue for me, maybe I just use gnu setleds because
it doesn't use ncurses like setterm, (that was the reason I coded this
setterm in the first place).

ok, opinions will be apreciated.
come on, critics to, don't be shy.

                        .oooO    Oooo.
*******************(      )****(      )****************
                         \   (         )   /
                          \_)         (_/

No corrijas al necio no sea cosa que te odie, corrije al sabio y te lo
agradecera.
Al que a buen árbol se arrima buena sombra lo cobija.
Lo mejor que podemos hacer por otro no es sólo compartir con él
nuestras riquezas, sino mostrarle las suyas.

(Continue reading)

Rob Sullivan | 1 Oct 2005 13:47
Picon

[PATCH] Add -exec option to find

Hi,
a patch to add the -exec option to the find applet is attached.

Rob

Attachment (find.patch): application/octet-stream, 3114 bytes
_______________________________________________
busybox mailing list
busybox <at> busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
Rob Landley | 3 Oct 2005 03:33

Re: setterm, without settleds

On Friday 30 September 2005 18:07, Alastor "CrazyEyes" Santamaria wrote:
> Finnaly, it's working, it doesn't have the setleds thing because it
> didn't worked,
> the terminal ended really weird and only reset turn it back to normal.
>
> does anyonem has problems if I use ioctl's ? because that's what the
> real setleds use. spite the man page sais ioctl's can change witout
> warning.
>
> but is not a real issue for me, maybe I just use gnu setleds because
> it doesn't use ncurses like setterm, (that was the reason I coded this
> setterm in the first place).
>
> ok, opinions will be apreciated.
> come on, critics to, don't be shy.

Using ioctl is fine, but if the busybox setterm implementation doesn't do 
setleds we'll live. :)

Rob
Tito | 3 Oct 2005 09:40
Picon
Favicon

[PATCH] fix e2fsprogs broken compilation

Hi,
this patch fixes the compilation of e2fsprogs
when you select just one applet at a time.
This is tested please apply.

Ciao,
Tito
_______________________________________________
busybox mailing list
busybox <at> busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
Vladimir N. Oleynik | 3 Oct 2005 10:15
Picon
Favicon

Re: [BusyBox 0000455]: inetd may leak sockets

bugs <at> busybox.net wrote:

> The following issue has been SUBMITTED. 
> ====================================================================== 
> http://busybox.net/bugs/view.php?id=455 
> Summary:                    inetd may leak sockets
> Description: 
> If inetd decides that a service is 'looping' its temorarly (10min)
> disabled. This happens (default) if the service has been started 40 times
> within 60 seconds. 

Last inetd version applied.
New features:

1) IPV6 services supported (global busybox networking configurable)
2) restore RPC services support (configurable)
3) destroy old bug with vfork_daemon() usage
4) 455 bug have destoyed from double place

--w
vodz
Yann E. MORIN | 3 Oct 2005 14:50
Picon

Re: [PATCH] modprobe and multiple options to modules

Hello!

To Rob's demand, here is the patch I did against 1.01 for modprobe to support
multiple options to modules.

This patch adds a HUGE amount of code, but hopefully should allow to
have a common ground to pasre arguments with a single function, whether
it is called from a shell interpreter, or from any other application needing
argument parsing. Rob, was it what you wanted?

Silly me, in the previous patch (the one that dumped core), I made a error
of one in the size of the array containing argv. Bahh. That was the end of
last week, I guess I was tired...

Anyway, any comments (positive or negative!) are most welcome!

For Intel x86 (P4), it adds 562 bytes:
   text    data     bss     dec     hex filename
   3728      20      28    3776     ec0 modprobe.o-orig
   4290      20      28    4338    10f2 modprobe.o

For ARM Xscale (IXP425), it adds 684:
   text    data     bss     dec     hex filename
   4676      20      28    4724    1274 modprobe.o-orig
   5360      20      28    5408    1520 modprobe.o

Regards,
Yann E. MORIN.

--
Yann E. MORIN
Roaming in the world...
Yann E. MORIN | 3 Oct 2005 17:11
Picon

Re: [PATCH] modprobe and multiple options to modules

Hello!

(Re-post, as my previous message doesn't seem to have made it to the ML).

To Rob's demand, here is the patch I did against 1.01 for modprobe to support
multiple options to modules.

This patch adds a HUGE amount of code, but hopefully should allow to
have a common ground to parse arguments with a single function, whether
it is called from a shell interpreter, or from any other application needing
argument parsing. Rob, was it what you wanted?

Silly me, in the previous patch (the one that dumped core), I made a error
of one in the size of the array containing argv. Bahh. That was the end of
last week, I guess I was tired...

Anyway, any comments (positive or negative!) are most welcome!

For Intel x86 (P4), it adds 562 bytes:
   text    data     bss     dec     hex filename
   3728      20      28    3776     ec0 modprobe.o-orig
   4290      20      28    4338    10f2 modprobe.o

For ARM Xscale (IXP425), it adds 684:
   text    data     bss     dec     hex filename
   4676      20      28    4724    1274 modprobe.o-orig
   5360      20      28    5408    1520 modprobe.o

Regards,
Yann E. MORIN.

--
Yann E. MORIN
Roaming in the world...
Attachment (busybox-1.01-modprobe.patch.bz2): application/x-bzip, 2630 bytes
_______________________________________________
busybox mailing list
busybox <at> busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
Andreas Banze | 3 Oct 2005 17:25
Picon

Re: [PATCH] modprobe and multiple options to modules

On Mon Oct 03, 2005 - 05:11:43PM, Yann E. MORIN wrote:

> (Re-post, as my previous message doesn't seem to have made it to the ML).

it did...

MfG
Andreas Banze
Rob Sullivan | 3 Oct 2005 21:21
Picon

[PATCH] Add character and equivalence classes to tr

The attached patch adds character and equivalence classes to tr. For instance, the following command now outputs ABC:
echo abc | tr [:lower:] [:upper:]

Both additions are created as separate options, so that the user may have the basic tr if desired. This is probably useful in the case of equivalence classes, as unless you've got some really sticky expression that you want to give to tr, they're simply redundant.
The patch adds some for loops to create the various sets of characters corresponding to the classes. These result in the same size tr.o compared with something like:
strcat(buffer, "ABCDEFGHIJKLMNOPQRSTUVWXYZ");
for example, and in my opinion look somewhat cleaner.

Rob

Attachment (tr.patch): application/octet-stream, 3728 bytes
_______________________________________________
busybox mailing list
busybox <at> busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
Manju Mahajan | 3 Oct 2005 23:46

buildroot

 I have
host pc :386, Linux,
Target ppc405. linux.
Kernel version : 2.4.31
Bootom: u-boot

I got buildroot snapshot, and picked up the
kernel header as 2.4.31
binutils ->2.15
gcc->3.3.5

When I load the ramdisk for kernel, I see following  while init executing
inttab, just spinning trying to
execute the /bin files

[.. I enabled some messages for debugging for console ]

RAMDISK: Compressed image found at block 0

Freeing initrd memory: 801k freed

VFS: Mounted root (ext2 filesystem).

Freeing unused kernel memory: 80k init

 '/bin/mount': Bad file descriptor
 '/bin/mount': Bad file descriptor
'/bin/mount': Bad file descriptor
/bin/hostname': Bad file descriptor
'/sbin/ifconfig': Bad file descriptor
'/sbin/route': Bad file descriptor
'/bin/touch': Bad file descriptor
 '/sbin/sys
'/sbin/klogd': Bad file descriptor
   Please press Enter to activate this console. IAMHERE.......
'/sbin/getty': Bad file descriptor
'/sbin/syslogd': Bad file descriptor

keeps on spining here.

Please help me.

thanks

Gmane