[Top][All Lists]

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

Re: bash complete.c

From: Vincent Leduc
Subject: Re: bash complete.c
Date: Sat, 27 Dec 2014 14:57:21 +0000 (UTC)

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.


De : Bob Proulx <address@hidden>
À : Vincent Leduc <address@hidden>
Cc : "address@hidden" <address@hidden>
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
> address@hidden'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


reply via email to

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