Re: [PATCH] ash: add built-in $ASH_VERSION variable

2021-03-10 Thread Kang-Che Sung
On Thu, Mar 11, 2021 at 2:55 PM Ariadne Conill wrote: > > This is helpful for detecting if the shell is busybox ash or not, > which is necessary for enabling ash-specific features in /etc/profile > and Alpine's default $ENV. > > https://gitlab.alpinelinux.org/alpine/aports/-/issues/12398 outlines

[PATCH] ash: add built-in $ASH_VERSION variable

2021-03-10 Thread Ariadne Conill
This is helpful for detecting if the shell is busybox ash or not, which is necessary for enabling ash-specific features in /etc/profile and Alpine's default $ENV. https://gitlab.alpinelinux.org/alpine/aports/-/issues/12398 outlines the rationale for detecting what shell is running in /etc/profile

Re: Issues with reading ncurses man pages

2021-03-10 Thread Denys Vlasenko
On Sun, Feb 7, 2021 at 3:49 AM depsterr wrote: > > Hi, I'm trying to open some ncurses man pages in busybox man, however it's > not possible as these files are suffixed .3x instead of .3 (even though > they're in section 3). > > Currently busybox man assumes the man page will have the same "titl

Re: HUSH_LINENO_VAR without HUSH_BASH_COMPAT

2021-03-10 Thread Denys Vlasenko
Applied, thanks On Fri, Feb 5, 2021 at 5:28 PM wrote: > > Hi, > > It turns out that HUSH_LINENO_VAR works fine without HUSH_BASH_COMPAT. > Maybe we could allow configuring such a build? > > -- > ___ > busybox mailing list > busybox@busybox.net > http://

[PATCH] Fix typo in ping help

2021-03-10 Thread Thomas Calvet
Hello, here is a typo fix: diff --git a/networking/ping.c b/networking/ping.c index 86d8088de..9805695a1 100644 --- a/networking/ping.c +++ b/networking/ping.c @@ -74,7 +74,7 @@ //usage: "\n -c CNT Send only CNT pings" //usage: "\n -s SIZE Send SIZE data byte

[PATCH] zcip: add support for DoIP/ISO 13400 timings

2021-03-10 Thread Ricardo Leite
DoIP requires fast IP assignment, faster than what RFC 3927 can guarantee, and so it defines its' own AutoIP timing parameters Add a compile-time option to use DoIP timing parameters instead of default RFC 3927 parameters. This option is useful for use of zcip in automotive use-cases. In pratice,

[PATCH] shuf: speed up when limited output is requested

2021-03-10 Thread Ron Yorston
A user noted that the following command was slower than they expected: busybox shuf -i "15-$(date +%s)" -n 5 At time of writing the range contains 115 million values. On my system this takes 6.9s whereas 'shuf' from coreutils takes a handful of milliseconds. Optimise BusyBox 'shuf' f