bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash complete.c


From: Bob Proulx
Subject: Re: bash complete.c
Date: Fri, 26 Dec 2014 18:36:32 -0700
User-agent: Mutt/1.5.23 (2014-03-12)

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 problem in your example is that your bash does not have a tty
attached to it.  Add -t to ssh and you will then get a tty and you
won't need to redirect 2>/dev/null anymore.

  ssh -t localhost bash

Bob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]