Re: [PATCH] ash: perform autocompletion on builtin commands

2014-10-24 Thread Matteo Croce
Have you tried enabling FEATURE_USERNAME_COMPLETION? Il 25/ott/2014 01:48 "Matteo Croce" ha scritto: > Have you tried enabling FEATURE_USERNAME_COMPLETION? > Il 24/ott/2014 22:48 "Isaac Dunham" ha scritto: > >> On Fri, Oct 24, 2014 at 09:40:59PM +0200, John Spencer wrote: >> > Sven-Göran Bergh w

Re: [PATCH] ash: perform autocompletion on builtin commands

2014-10-24 Thread Isaac Dunham
On Fri, Oct 24, 2014 at 09:40:59PM +0200, John Spencer wrote: > Sven-Göran Bergh wrote: > >Just source /etc/bash_completion in either .bashrc or .profile. > > what would be the contents of this file, that make expansion of the tilde > work ? /etc/bash_completion is not installed on my box. > > (

Re: [PATCH] ash: perform autocompletion on builtin commands

2014-10-24 Thread John Spencer
Sven-Göran Bergh wrote: Just source /etc/bash_completion in either .bashrc or .profile. what would be the contents of this file, that make expansion of the tilde work ? /etc/bash_completion is not installed on my box. (just to make sure we're talking about the same thing: $ ls ~/.s should e

Re: [PATCH] ash: perform autocompletion on builtin commands

2014-10-24 Thread Sven-Göran Bergh
Just source /etc/bash_completion in either .bashrc or .profile. ash will pick it up and use it in the same way as bash. Have never had any problem with this. Works like a charm. Brgds /S-G On 10/24/2014 05:20 PM, John Spencer wrote: Matteo Croce wrote: Refactor read_line_input to accept a list

Re: [PATCH] ash: perform autocompletion on builtin commands

2014-10-24 Thread Matteo Croce
it should be implemented in lineedit.c, by replacing ~ to /home/whatever 2014-10-24 17:20 GMT+02:00 John Spencer : > Matteo Croce wrote: >> >> Refactor read_line_input to accept a list of strings which are >> added byt the autocompletion suggestions. >> Let ash pass the builtin command list to rea

Re: [PATCH] ash: perform autocompletion on builtin commands

2014-10-24 Thread John Spencer
Matteo Croce wrote: Refactor read_line_input to accept a list of strings which are added byt the autocompletion suggestions. Let ash pass the builtin command list to read_line_input to enable completion of builtin commands as echo, printf, history, exec, etc. nice. could this mechanism be used

[PATCH] ash: perform autocompletion on builtin commands

2014-10-24 Thread Matteo Croce
Refactor read_line_input to accept a list of strings which are added by the autocompletion suggestions. Let ash pass the builtin command list to read_line_input to enable completion of builtin commands as echo, printf, history, exec, etc. --- editors/ed.c | 6 +++--- include/libbb.h| 2

[PATCH] gitignore: add testsuite/echo-ne

2014-10-24 Thread Bartosz Golaszewski
It shows up in git status as untracked. Signed-off-by: Bartosz Golaszewski --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 8d6d176..73e88fb 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ core # /busybox.links /runtest-tempdir-links

[PATCH] ash: perform autocompletion on builtin commands

2014-10-24 Thread Matteo Croce
Refactor read_line_input to accept a list of strings which are added byt the autocompletion suggestions. Let ash pass the builtin command list to read_line_input to enable completion of builtin commands as echo, printf, history, exec, etc. --- editors/ed.c | 6 +++--- include/libbb.h|

Re: stime in date.c

2014-10-24 Thread Steven Honeyman
On 24 October 2014 07:30, hardik gohil wrote: > > > > On Fri, Oct 24, 2014 at 12:49 PM, Baruch Siach wrote: >> >> Hi Hardik, >> >> On Fri, Oct 24, 2014 at 12:42:39PM +0800, hardik gohil wrote: >> > I am trying to understand busybox/coreutils/date.c file. >> > >> > what I understood is whenever i

Re: nslookup's Server: 0.0.0.0 but resolves correctly

2014-10-24 Thread Steven Honeyman
On 24 October 2014 11:51, wrote: > Hi everybody, > as per the FAQ I am posting this here before submitting a formal bug report. > > On Cyanogenmod android 4.4, busybox' nslookup resolution seemingly > works correctly but always displays Server: 0.0.0.0, same for Address > 1: 0.0.0.0 Hi, I get t

nslookup's Server: 0.0.0.0 but resolves correctly

2014-10-24 Thread stroblsw
Hi everybody, as per the FAQ I am posting this here before submitting a formal bug report. On Cyanogenmod android 4.4, busybox' nslookup resolution seemingly works correctly but always displays Server: 0.0.0.0, same for Address 1: 0.0.0.0 This issue also exists on earlier android versions, definit