Bugs item #312691, was changed at 2010-09-02 11:50 by Felipe Gonzalez 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: Felipe Gonzalez (felipeng-guest) Date: 2010-09-10 17:05 Message: On the "Detailed description" for this bug, I said: '...the prompt just stop to respond and only with a 'Ctrl+c' to get back to work.' It's true, but if I wait about 30s the prompt respond correctly. Yeah, I can confirm, if avahi-daemon is running no problem with bash-completion. But if the avahi-daemon is stopped, we have problems, follow the output with 'set' http://paste2.org/p/983004 Thanks ---------------------------------------------------------------------- Comment By: Ville Skyttä (scop-guest) Date: 2010-09-09 06: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 20: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 19: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 _______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel