[Bash-completion-devel] [bash-completion-Bugs][312691] ArchLinux and ssh config
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Thu Sep 9 06:18:55 UTC 2010
Bugs item #312691, was changed at 2010-09-02 14:50 by Ville Skyttä
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312691&group_id=100114
Status: Open
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: ArchLinux and ssh config
Distribution: None
Originally reported in: None
Milestone: 1.2
Status: None
Original bug number:
Initial Comment:
Hello, my friend and I we have a problem with ssh and bash-completion. Both are using ArchLinux (updated) and bash-completion 1.2
We use ".ssh/config" with a lot of hosts, like this:
host domain-fw
hostname domain.com.br
user felipeng
If we typed 'ssh domain-fw' the connection are established, but if we typed 'ssh domai(TAB-TAB)'
the prompt just stop to respond and only with a 'Ctrl+c' to get back to work.
----------------------------------------------------------------------
>Comment By: Ville Skyttä (scop-guest)
Date: 2010-09-09 09:18
Message:
(To the submitter of previous comment: the submit button in Alioth is strangely placed at top of the page, labeled "Save Changes", maybe you didn't notice it there?)
FWIW, I don't experience any meaningful slowness when invoking avahi-browse when avahi-daemon is not running. This is on my Fedora 13 box:
$ ps ax | grep avahi | grep -v grep
(no output)
$ avahi-browse --version
avahi-browse 0.6.25
$ time avahi-browse -cpr _workstation._tcp
Failed to create client object: Daemon not running
real 0m0.020s
user 0m0.001s
sys 0m0.005s
----------------------------------------------------------------------
Comment By: Freddy Vulto (fvu-guest)
Date: 2010-09-08 23:29
Message:
I received this message:
Date: Mon, 6 Sep 2010 20:27:37 -0400
From: Peter Johnson (tam at hiddenrock dot com)
Hi --
I'm emailing you directly about a bash-completion bug because
there wasn't a button to actually submit the comment I'd typed
in the box. The bug in question is 312691, and the problem as
described by the original reporter occurs when avahi-daemon is
not running, which makes avahi-browse sit around waiting for a
response before returning. Either starting avahi-daemon or
commenting out the stanza beginning with "if type avahi-browse"
fixes the problem.
My preference would be for completions to work in a timely
fashion whether or not avahi-daemon is running, but I'm not
sufficiently clued into that piece of software to understand
whether that's reasonable. Thanks for your time.
pete
----------------------------------------------------------------------
Comment By: Freddy Vulto (fvu-guest)
Date: 2010-09-02 22:45
Message:
I cannot reproduce the problem on my machine. I've put this in ~/.ssh/config:
Host domain-fw
HostName 127.0.0.1
And completing `ssh domai<TAB>' goes just fine on bash-4.1 and bash-3.2. What version of bash are you using? Can you do a `set -x' before doing the completion and see at which command bash-completion stops?
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312691&group_id=100114
More information about the Bash-completion-devel
mailing list