[PATCH v2] less: Add -R

2014-01-22 Thread Bernhard Reutner-Fischer
Let ANSI escape sequences for color go through verbatim. git diff HEAD^ --color=always | ./busybox_unstripped less -R v2: Also handle NNN;NNN; Signed-off-by: Bernhard Reutner-Fischer rep.dot@gmail.com --- miscutils/less.c | 56 +++- 1 file

Re: [PATCH] Make networking/libiproute/iplink.c compile with kernel versions prior to 2.6.23

2014-01-22 Thread Denys Vlasenko
Applied, thanks! On Sun, Jan 19, 2014 at 11:35 PM, Eugene Rudoy gene.de...@gmail.com wrote: Without this patch it fails with: CC networking/libiproute/iplink.o networking/libiproute/iplink.c: In function 'vlan_parse_opt': networking/libiproute/iplink.c:331:9: error: variable 'flags'

Re: [PATCH] man: use less as default pager and parse DEFINE lines defining pager

2014-01-22 Thread Denys Vlasenko
Applied, thanks! On Mon, Jul 15, 2013 at 3:40 PM, John Spencer maillist-busy...@barfooze.de wrote: ping Original Message From: - Sun Jun 2 13:23:00 2013 man.config can define lines such as DEFINE pager less -s this patch parses them, additionally it always

[PATCH] sendmail: automatically determine sender if not specified

2014-01-22 Thread Kaarle Ritvanen
Make the -f option optional. If not given, construct the sender address from the username and fully qualified hostname. This is required to interoperate with the cron applet. --- mailutils/sendmail.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git

Re: Interworking of cron and sendmail applets

2014-01-22 Thread Kaarle Ritvanen
On Tue, 21 Jan 2014, Harald Becker wrote: Beside modifying the Busybox binary, you can create a script file for sendmail: #!/bin/sh exec /bin/busybox sendmail -f ... $@ install this script as your sendmail and make it executable (chmod +x). Then cron shall pickup this script for sendmail and

Re: [PATCH] sendmail: automatically determine sender if not specified

2014-01-22 Thread Tito
On Wednesday 22 January 2014 17:38:52 Kaarle Ritvanen wrote: opt_from = xasprintf(%s@%s, G.user, xgethostbyname(host)-h_name); Hi, the () in this line look suspicious to me. Ciao, Tito ___ busybox mailing list busybox@busybox.net

Re: [PATCH v2] less: Add -R

2014-01-22 Thread Bernhard Reutner-Fischer
On 22 January 2014 10:52:48 Bernhard Reutner-Fischer rep.dot@gmail.com wrote: Ping. I See you just look at less. Having both print_ASCII and print_found is pretty wastefull but beyond the time I have right now. OK to push as-is or do you want to do the -R below yourself? Cheers, Let

Re: Interworking of cron and sendmail applets

2014-01-22 Thread Harald Becker
Hi Kaarle ! I would like to understand why the sendmail applet requires the use of the -f option. It used to be optional, but it was made mandatory in commit 88b8f0a, which has an informative commit log message: sendmail: update by Vladimir. I suggest the -f option be made optional again unless

Re: 1.22.1 is released

2014-01-22 Thread Eugene Rudoy
Hi Denys, just wanted to point out that the patch currently available under http://busybox.net/downloads/fixes-1.22.1/busybox-1.22.1-ash.patch is not the SHLVL related one but some other one (it seems it's 2de232da53da6a79880defc5693242383af58764). Best, Gene On Mon, Jan 20, 2014 at 2:01 PM,

Re: Interworking of cron and sendmail applets

2014-01-22 Thread Aaro Koskinen
Hi, On Wed, Jan 22, 2014 at 11:29:14PM +0100, Harald Becker wrote: I do not know, why this option has made mandatory, but as far as i know does BB sendmail always need some extra options to know where to send the mail (mail relay), and will not work without this information. So it is of no