Re: Interworking of cron and sendmail applets

2014-01-21 Thread Harald Becker
Hi Kaarle ! >I think it would be reasonable to make the cron and sendmail >applets interoperate. Any opinions on which applet this should >be fixed in? Beside modifying the Busybox binary, you can create a script file for sendmail: #!/bin/sh exec /bin/busybox sendmail -f ... "$@" install this s

Re: [PATCH] ifupdown: support 'link' address family

2014-01-21 Thread Kaarle Ritvanen
On Sun, 29 Dec 2013, Kaarle Ritvanen wrote: Does not configure anything. L2 configuration hook scripts should do their job on receiving ADDRFAM=link. Configuration will be done only once, irrespective of L3 protocols used. Using the 'link' family in the interfaces file conforms to the Debian im

[PATCH 3/3] less: Clear search-highlight if no matches

2014-01-21 Thread Bernhard Reutner-Fischer
When looking at a file containing a word "foo", searching for foo highlights the word. Now search for "asddsa" (no match), we are supposed to clear the highlight of the previous foo, not key it off the validity of the regex. This makes the highlight disappear at least on the next redraw.. Signed-o

[PATCH 1/3] less: use esc positive instead of esc normal

2014-01-21 Thread Bernhard Reutner-Fischer
.. to toggle esc negative off. Simplify escape printing in m_status_print while at it. function old new delta m_status_print 200 212 +12 getch_nowait 308 312

[PATCH 0/3] less: display ANSI colors with option -R

2014-01-21 Thread Bernhard Reutner-Fischer
I am not really convinced about the size of the "Add -R" hunk as it costs ~300b which is a bit too much for my taste. Anyone up to rephrase/redo this? This sounds more like it should fit into <150b ;) The whole thing was provoked by some systemd ctrl script outputting color sequences, btw. Bernh

[PATCH 2/3] less: Add -R

2014-01-21 Thread Bernhard Reutner-Fischer
Let ANSI escape sequences for color go through verbatim. git diff HEAD^ --color=always | ./busybox_unstripped less -R Signed-off-by: Bernhard Reutner-Fischer --- miscutils/less.c | 48 +++- 1 file changed, 39 insertions(+), 9 deletions(-) diff --git a

Interworking of cron and sendmail applets

2014-01-21 Thread Kaarle Ritvanen
Hello, I am using the busybox cron applet and would like to receive the output of the jobs by email. I would not like to install an MTA on the host, but rather have the busybox sendmail applet handle the sending. Currently, such a setup does not work. Apparently, this is due to the sendmail ap

Re: set_loop tries to create 1048575 loop devices

2014-01-21 Thread Ralf Friedl
Denys Vlasenko schrieb: Yes, good idea. Please try current git, I pushed a fix there. Works very well, thank you. Ralf ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: set_loop tries to create 1048575 loop devices

2014-01-21 Thread Denys Vlasenko
Yes, good idea. Please try current git, I pushed a fix there. On Mon, Jan 20, 2014 at 5:52 PM, Ralf Friedl wrote: > Hi > > I just had mount create a large number of loop devices before I interrupted > it. > The reason is that the loop module is not loaded in the kernel, but it would > be better

Re: set_loop tries to create 1048575 loop devices

2014-01-21 Thread Ralf Friedl
Lauri Kasanen wrote: On Mon, Jan 20, 2014, at 18:52, Ralf Friedl wrote: Hi I just had mount create a large number of loop devices before I interrupted it. The reason is that the loop module is not loaded in the kernel, but it would be better to have an error message instead. ... I don't know w