Re: CONFIG

2008-07-21 Thread Bernhard Fischer
On Sat, Jul 19, 2008 at 11:31:45AM +0200, Denys Vlasenko wrote: On Saturday 19 July 2008 08:58, [EMAIL PROTECTED] wrote: Added verbose comments on config_read(). Added testsuite (runtest parse). Let us collect interesting cases and thoroughly test them. Fixed inittab parsing. Bernhard, please

Re: CONFIG

2008-07-21 Thread Vladimir Dronnikov
Hi! I'm sceptical about this new interface. How can i state that i -) accept _no_ comment chars but e.g. ;, as delimiter? pass \0;, as delims We can go farther and pass comment-chars-if-any\0delimiter-chars as delims; this will require a trivial change in config_read() -) accept

new applets lpr,lpq (update)

2008-07-21 Thread Klaus . Hachmeister
Hello Walter, hello Denys, i just tried your busybox/printutils/lpr on my Blackfin/uClinux board. I want to print via network on an external lpd. Printing small files ( a few bytes) works. Printing longer files ( some kBytes) doesnt. /var/log/syslog on the serverside says: Jul 21 09:41:00

Re: new applets lpr,lpq (update)

2008-07-21 Thread walter harms
hello klaus, thanks for you bug report, i am very busy this week; Short: no chance for a quick fix but you may check at what size lpr stops working (my guess 4096 bytes) that may give us a hint where the problem is. perhaps vladimir ([EMAIL PROTECTED]) has some ideas. re, wh [EMAIL

Re: new applets lpr,lpq (update)

2008-07-21 Thread Vladimir Dronnikov
Klaus, can you send log of strace -f -v -s 1024 lpr your-parameters-here ? -- Vladimir ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

Re: new applets lpr,lpq (update)

2008-07-21 Thread Klaus . Hachmeister
Another example. (another postscriptfile) -- /etc/syslog Jul 21 13:44:29 PC535li cups-lpd[11476]: Connection from blackfin (IPv4 192.168.70.120) Jul 21 13:44:29 PC535li cups-lpd[11476]: Receive print job for psprint Jul 21

Re: new applets lpr,lpq (update)

2008-07-21 Thread Klaus . Hachmeister
successful printing - /var/log/syslog Jul 21 13:57:20 PC535li cups-lpd[11552]: Receive print job for psprint Jul 21 13:57:20 PC535li cups-lpd[11552]: Print file - job ID = 94 Jul 21 13:57:20 PC535li cups-lpd[11552]: Closing

Re: CONFIG

2008-07-21 Thread Bernhard Fischer
On Mon, Jul 21, 2008 at 02:09:59PM +0400, Vladimir Dronnikov wrote: Among the few remaining applets there are inetd, httpd, something in ip (rt_table_*?) and vanilla modprobe.*/modules.dep. Can you enumerate more? Let's build a list (perhaps in TODO) so we can check if all potential users are

Re: CONFIG

2008-07-21 Thread Vladimir Dronnikov
+ check_securetty() + do_sethostname() /* if benefical */ These I attacked yesterday. Pending... -- Vladimir ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

Re: 'test' behavior.

2008-07-21 Thread Chris Larson
Denys Vlasenko wrote: On Friday 18 July 2008 22:30, Chris Larson wrote: It occurs with current busybox svn. Original test case: -f = a -o b Minimal test case: -f = a w/ explicit 3 argument handling disabled in the code Try attached patch. That fixed it, thanks a lot :) --

Fun w/ test :)

2008-07-21 Thread Chris Larson
[EMAIL PROTECTED] busybox% ./busybox test -f = [EMAIL PROTECTED] busybox% ./busybox test \( -f = \) test: closing paren expected Hehe. I highly doubt anyone would actually name a file =, but what the heck, figured you'd want to know about any cases that confuse the parser. It's interesting to

Re: new applets lpr,lpq (update)

2008-07-21 Thread Denys Vlasenko
On Monday 21 July 2008 12:57, [EMAIL PROTECTED] wrote: Shure, now the output of /etc/syslog (serverside) is differrent. (but still no printing) -- /etc/syslog Jul 21 12:44:36 PC535li cups-lpd[11071]: Connection from

Re: CONFIG

2008-07-21 Thread Denys Vlasenko
On Sunday 20 July 2008 22:00, [EMAIL PROTECTED] wrote: *_for_{read,write} introduced and used. Wonder what is the size change? Please consider applying. - fp = fopen(/etc/securetty, r); - if (!fp) { - /* A missing securetty file is not an error. */ -

Re: Fun w/ test :)

2008-07-21 Thread Chris Larson
Denys Vlasenko wrote: Paul, hi. :) On Monday 21 July 2008 20:35, Chris Larson wrote: [EMAIL PROTECTED] busybox% ./busybox test -f = [EMAIL PROTECTED] busybox% ./busybox test \( -f = \) test: closing paren expected Hehe. I highly doubt anyone would actually name a file =, but what the