Re: slattach shrinkage? [was: Re: svn commit: trunk/busybox: include networking]

2007-06-21 Thread Denis Vlasenko
On Wednesday 20 June 2007 18:24, Bernhard Fischer wrote: On Wed, Jun 20, 2007 at 06:02:22PM +0200, Bernhard Fischer wrote: On Wed, Jun 20, 2007 at 08:23:04AM -0700, [EMAIL PROTECTED] wrote: Author: vda Date: 2007-06-20 08:23:03 -0700 (Wed, 20 Jun 2007) New Revision: 18873 Log: slattach:

Re: wget support for no_proxy env var

2007-06-21 Thread walter harms
hi Dan, gnu libc supports argz (GNU extension) for mapping lists line a,b,c,d into arrays and back unfortunately there is no official man page but you can use my from http://www.freiburg.linux.de/projekte/manpages/man/argz/ when you have problems getting it to work i have some examples around

Re: ctrl-c doesn't work but ctrl-z is ok in telnet

2007-06-21 Thread Bernhard Fischer
On Thu, Jun 21, 2007 at 10:51:21AM +0800, Bin Chen wrote: I am using busybox-1.1 and I found the ctrl-c can't work when I telnet into the board, but ctrl-z can work. Any idea? Does it work with current trunk or at least 1.6.0? Did you read the FAQ (there

[PATCH] Fix another httpd breakage on no-MMU

2007-06-21 Thread Alex Landau
Hi, Another round of fixes to httpd for no-MMU. httpd can't work in non-inetd mode since it is required to fork for each connection. There are 2 approaches I can think of: 1. The correct one: on connection, the parent vforks and the child reexecs itself to serve the connection. 2. The easy one:

Re: ctrl-c doesn't work but ctrl-z is ok in telnet

2007-06-21 Thread Bin Chen
在 2007-06-21四的 10:31 +0200,Bernhard Fischer写道: On Thu, Jun 21, 2007 at 10:51:21AM +0800, Bin Chen wrote: I am using busybox-1.1 and I found the ctrl-c can't work when I telnet into the board, but ctrl-z can work. Any idea? Does it work with

Re: [PATCH] tar: enhanced compatibility to old versions

2007-06-21 Thread Denis Vlasenko
On Wednesday 20 June 2007 22:41, Harald KЭthe wrote: Hello list, bb-1.6.0 is not able to unpack the attached file (ENABLE_FEATURE_TAR_OLDGNU_COMPATIBILITY is set) Following patch adds support for e.g. checksums with spaces as delimiter. Best regards Harald Applied. But: patch: ---

Re: correct searchpath for configdata

2007-06-21 Thread Denis Vlasenko
On Wednesday 20 June 2007 14:29, walter harms wrote: ups, this should be the correct file ... re, walter Bernhard Fischer wrote: On Wed, Jun 20, 2007 at 01:40:33PM +0200, walter harms wrote: hi list, i was wondering why bb-1.6 produced a whole bunch of warnings for my .config

Re: bb-1.6: test.c ‘i’ may be used uninitialized

2007-06-21 Thread Denis Vlasenko
On Wednesday 20 June 2007 14:09, walter harms wrote: hi list, i do not know if it is are real problem ... but it should be fixed perhaps i=0 ? btw: this happends also with latest snapshot When I see that gcc simply doesn't realize it is okay, for space reasons I use int i = i - no code is

Re: udhcpc problem

2007-06-21 Thread Denis Vlasenko
On Tuesday 19 June 2007 04:17, Bin Chen wrote: Hi, When the udhcpc is started, it begins to broadcast the DHCP discover message. Can I pass some arguments to udhcpc to let it just reside in memory but not do any action until I tell

Re: Question about syslogd and TAB characters?

2007-06-21 Thread Denis Vlasenko
On Monday 18 June 2007 19:10, Dennis Smith wrote: Hello, I am using busybox ver. 1.00 I send a log message via syslog that includes \t (horizontal tab) in the message. When I look a the log file (\var\log\messages), instead of the expected tab, I see ^I in the logged message. Granted,

ARRAY_SIZE

2007-06-21 Thread walter harms
Hi list, the kernel janitor were removing different versions of ARRAY_SIZE() from the kernel tree. i used the check to look for the same phenomena in busybox. Since this is not exactly about saving space more about maintaining, will such a patch accepted ? re, wh use to check: grep -Er sizeof

telnetd gives problems

2007-06-21 Thread Chandrasekhar Nagaraj
Hi, I am using busybox-1.4.2 for a PPC440GX based board. I intend to run the telnetd daemon on the board. The telnetd has been compiled with the Support standalone telnetd (not inetd only) option. Also the LOGIN and FEATURE_SUID features have been enabled in Busybox. But when I try to

Re: how can I determine the root device?

2007-06-21 Thread Dallas Clement
Hi Mike, Thanks for the reply. I guess what I am really trying to determine is which device I booted Linux from. Do you know of any way to do that? I am booting into initramfs and I would like to determine the boot device major/minor numbers while running my init script. On 6/20/07, Mike

Re: wget support for no_proxy env var

2007-06-21 Thread walter harms
Bernhard Fischer wrote: On Thu, Jun 21, 2007 at 09:08:58AM +0200, walter harms wrote: hi Dan, gnu libc supports argz (GNU extension) for mapping lists line a,b,c,d into arrays and back unfortunately there is no official man page but you can use my from

task/process managment does not work

2007-06-21 Thread Miroslaw Dach
Hi Hamish, Thank you for your answer. On Wed, Jun 20, 2007 at 11:00:33AM +0200, Miroslaw Dach wrote: I have recompiled several times the busybox and each time when I boot my embedded linux ppc405 board with busy box I have difficulties to manage tasks. My observation is as

RE: Busybox memory

2007-06-21 Thread Martinb_ARM_NOMMU_KISSDVD
I can only tell about my personal experience (as a user) if I compile 1 busybox with telnetd,crond,httpd,lash,hush,free and I will type free I will get less mem then if I create separated httpd,lash,telnetd,inetd etc etc the difference is so big that i split (almost) all the busybox applets in

syslogd question

2007-06-21 Thread Dennis Smith
Hello, I am using busybox ver. 1.00 I am using syslogd with some logging code I wrote for my project. Currently I can configure the logging level... to say 4, then all log messages at levels higher then that, 5, 6, and 7 do not show up in my /var/log/messages file. What I want to be able to

Re: [PATCH] tar: enhanced compatibility to old versions

2007-06-21 Thread Harald Kuthe
Hello Denis, Do you use uuencode just because it's cool? It's also harder to use (most newer mail readers won't have tools to unpack it, need to do it by hand). no I'm using Outlook Express and had just attached the file and included the patch inline in the mail. ... I saw that uuencode was set

Re: task/process managment does not work

2007-06-21 Thread Tito
On Thursday 21 June 2007 17:23:18 Miroslaw Dach wrote: Hi Hamish, Thank you for your answer. On Wed, Jun 20, 2007 at 11:00:33AM +0200, Miroslaw Dach wrote: I have recompiled several times the busybox and each time when I boot my embedded linux ppc405 board with busy box I have

Re: ARRAY_SIZE

2007-06-21 Thread Denis Vlasenko
On Thursday 21 June 2007 15:50, walter harms wrote: Hi list, the kernel janitor were removing different versions of ARRAY_SIZE() from the kernel tree. i used the check to look for the same phenomena in busybox. Since this is not exactly about saving space more about maintaining, will such a

Re: task/process managment does not work

2007-06-21 Thread Denis Vlasenko
On Thursday 21 June 2007 17:23, Miroslaw Dach wrote: My observation is as following: top: can't find process info in /proc The /proc directory is simply empty Is it somehow possible to enable process managing? Mount /proc? mount -t proc none /proc I have mounted proc manually

Is it a bug of killall/pidof?

2007-06-21 Thread john bigZ
Hi, I was wondering why my kill script didn't work. the reason I found that the 'killall' failed with 'no process killed', was 'killall' called 'pidof', 'pidof' didn't return a process id for the given process name. After through investigation of the busybox sourcecode, I found out, that

Re: ctrl-c doesn't work but ctrl-z is ok in telnet

2007-06-21 Thread Bin Chen
A little update for this problem, I wrote a propram to test the CTRL-C signal, I found if I call: signal(SIGINT, handler); in main(), then the program can get the SIGINT when I press CTRL-C, but if I comment out this line, the SIGINT can't cause the program exit. I think this is caused by the