Re: bash complete.c

2014-12-29 Thread Vincent Leduc
voyé le : Lundi 29 décembre 2014 17h22 Objet : Re: bash complete.c I still have differents results, depending on the input. Is this a bug ? [foo@test ~]$ /bin/bin/uname Display all 1066 possibilities? (y or n) [foo@test ~]$ /bin/uname Linux [foo@test ~]$

Re: bash complete.c

2014-12-29 Thread Vincent Leduc
le : Lundi 29 décembre 2014 15h59 Objet : Re: bash complete.c Looking threw bash 4.3, it seems that readline/complete.c is forking a child too. Maybe i'm wrong, but why the static int get_y_or_n could execute something ? # ssh foo@test "strace -Ff -e execve /bin/bash_4.3 -i&q

Re: bash complete.c

2014-12-29 Thread Vincent Leduc
$ [ Display all 1066 possibilities? (y or n) a b c d;id;ls; (nothing) exit (control-D) Vincent. De : Bob Proulx À : Vincent Leduc Cc : "bug-bash@gnu.org" Envoyé le : Samedi 27 décembre 2014 12h08 Objet : Re: bash complete.c Vincent Leduc wrote: > The null redirect was

Re: bash complete.c

2014-12-27 Thread Bob Proulx
Vincent Leduc wrote: > The null redirect was used for the /etc/issue to not be shown > here. I mean although we dont have any tty attached, i assume the > builtin should not do this. I only tested it with an older release, > as you said, it seems to be corrected. If I don't include -t then I get t

Re: bash complete.c

2014-12-27 Thread Vincent Leduc
 : "bug-bash@gnu.org" Envoyé le : Vendredi 26 décembre 2014 19h36 Objet : Re: bash complete.c Vincent Leduc wrote: > sh-3.2# ssh localhost bash -i 2>/dev/null > root@localhost's password: > [tab][tab][enter] > Display all 1797 possibilities? (y or n)[enter] Al

Re: bash complete.c

2014-12-26 Thread Bob Proulx
Vincent Leduc wrote: > sh-3.2# ssh localhost bash -i 2>/dev/null > root@localhost's password: > [tab][tab][enter] > Display all 1797 possibilities? (y or n)[enter] Although I can reproduce this in bash 4.2 it is not reproducible for me in bash 4.3. I assume that it was improved there. One proble

Re: bash complete.c

2014-12-26 Thread Vincent Leduc
Another way to do it.  printf "\x9\x9sssh \$ENid" | ssh localhost bash -i Regards. De : Vincent Leduc À : "bug-bash@gnu.org" Envoyé le : Vendredi 26 décembre 2014 15h08 Objet : bash complete.c Hi, Dont know if it's the right place to post, just saw this threw bash -i. # grep "Di