[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
** Tags removed: natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
please, just delete the /etc/bash-completion.d/acroread.sh symlink: others may have other problems but this file is just broken and break the system tab completion for no gain whatsoever. What are you waiting for yet since 2011? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
This is still present in 13.04. Problem does not occur when logged in as root. My .bashrc does not source /etc/bash_completion, but the problem persists. The fix from #10 doesn't make sense now since the file /etc/bash_completion has been changed by the developers since then. Acroread was never installed on this system and acroread.sh is not present. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
Bug still present! ** Changed in: acroread (Ubuntu) Status: Expired = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
[Expired for acroread (Ubuntu) because there has been no activity for 60 days.] ** Changed in: acroread (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
Hi, a new acroread release (0.9.4) is available for update, could you give it a try and tell us if the problem persists? If you still have this bug please set back the status to new thanks ** Changed in: acroread (Ubuntu) Status: Confirmed = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
On Precise I have both acroread-common and acroread at 9.5.4-1precise1 version. They are not affected by this bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
Additional problem with all these auto complete smarts is aliases. I have `alias ll='ls -al`, but the auto complete doesn't understand aliases so I get the random extra space after the tab because it didn't realise it was an 'ls'. Maybe auto-complete needs to expand aliases before applying the autocomplete? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
The bash tab expansion bug caused by Adobe Reader also affects Ubuntu 12.10. Comment #54 fixed the problem for me (rename acroread's _filedir() function to _acroread_filedir() in /opt/Adobe/Reader9/Resource/Shell/acroread_tab). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
This thread saved my life -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
+1 for deleting acroread.sh Tnx! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
I started to suffer the same problem with command cp in Kubuntu 12.04.1 after some upgrade (I couldn't say what package is the responsible). #10 solves my problem :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
Thank you guys, post #10 helped me. I was using Ubuntu 11.04 (natty) 64bit version. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
I discovered the problem on Desktop 12.04 64 bit the other day. I installed acrobat reader a while ago but I am quite sure the problem did not occured due to this. #10 fixed it for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
Just had to install acroread the other day (11.10; 64-bit). Suddenly noticed I lost normal tab completion for things like ls, cp, and mv. The patch described in #54 seems to have solved the problem. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
Same as #60, #61. I was experiencing this problem with Ubuntu 12.04 LTS, with all (non proposed) updates applied. I have Acrobat Reader installed but didn't think it could be related to. Before the 12.04 fresh install i had Maverick until it got unsupported so i don't know if it's new to this release. #10 apparently fixes it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
As with ubuntu 12.04LTS, applying the latest updates on 04/06/12- the bug returns! Silas Solution 'I believe there is a bug on line 1587 of /etc/bash_completion, the -o default on that line should be changed to -o filenames.' saves the problem again, -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
Experienced this problem with Ubuntu 12.04 LTS. Installed acrobat reader about a week ago and for the last few days, have been experiencing the same problem with cp and mv commands; not sure whether it was because of the acorbat reader or the updates though. #10 fixed it for me too! Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
Kubuntu 12.04: I had the same completion problem with commands cp and mv (not ls) after installing Adobe Reader. #54 patch worked. Thanks a lot! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
My situation is a little bit different, and I believe some others share my situation. By applying the fix in #10, it only solves the problem for some commands, i.e. those listed in that for loop. However, for commands such as mplayer and dpkg, it still does not work. Also, I do not have file acroread.sh under /etc/bash_completion.d/ So, I cannot delete this file as others do. I tried to move away all the files under /etc/bash_completion.d/, and the problem still remains for some commands such as xfig. This means, if there is a problem, it has to be within /etc/bash_completion I noticed that on my laptop, both gzip and mplayer have an autocompletion configuration file under /etc/bash_completion.d/, and autocompletion works fine for gzip but not for mplayer. A comparison between the configurations files reveal that: in line 43 of gzip's configurationfile, function _compopt_o_filenames is called before autocompletion at line 44, but for mplayer's configuration file, in the last case starting at line 253, function _filedir is invoked without calling function _compopt_o_filenames. By adding an invocation to the function _compopt_o_filenames before line 254 in mplayer's configuration file, it makes mplayer work as expected. This gives the idea of how to solve the problem with /etc/bash_completion In /etc/bash_completion, line 72-126 defines the application specific autocompletion for many commands, and they are also without calling function _compopt_o_filenames first. However, function _compopt_o_filenames is defined in line 618, thus it cannot be called at line 72. My fix is to paste the implementation of this function in line 623-624 before line 72. However, there is still another problem. The complete commands defined in line 72-126 (now 74-128) are only for filename completion. So, the option -o plusdirs needs to be added to each complete command to also include the result of directory name completion. e.g. complete -f -X '!*.fig' xfig - complete -f -o plusdirs -X '!*.fig' xfig After this, all the commands listed in line 74-128 work properly. As a conclusion, this should be a bug in /etc/bash_completion and those configuration files under /etc/bash_completion.d/ My solution only fix those commands listed in /etc/bash_completion. For commands that have a separate configuration file under /etc/bash_completion.d/, the fix should be applied to the configuration file individually. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
I don't believe this is specific to acroread. I do not have that package installed at all and am experiencing the issue. Fix in #10 works for me. So, unless there is another package also providing the same conflicting _filedir() (which I was not able to find by grepping /etc/bash_completion.d/*) then the bug is specific to bash-completion. Running Oneiric, FWIW. ** Also affects: bash-completion (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
** No longer affects: bash-completion (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
$ . /etc/bash_completion bash: complete: filenames: invalid option name -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
Here's a patch to move Adobe Reader's _filedir() function to a different name, so that it doesn't interfere with the one provided in /etc/bash_completion. ** Patch added: acroread_tab.patch https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+attachment/2660422/+files/acroread_tab.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
The attachment acroread_tab.patch of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report. [This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
I have the same problem in 11.10. #10 fixes it. Great! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
Thanks a lot! #10 saved my sanity... It was making me crazy! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
#10 fixed it for me too -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
Removed /etc/bash_completion.d/acroread.sh solved the problem for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
I removed /etc/bash_completion.d/acroread.sh (and restarted bash) and it's working now. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
@ed-mcdonagh: I would really recommend you to switch to zsh - it is that much better and the tab completion will blow you away! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
+1 for removing /etc/bash_completion.d/acroread.sh fixing this issue. Importance currently undecided... does that suggest not many people are using the command line on the desktop versions? (None of my server boxes have been upgraded to Natty, but I assume the lack of acroread would mean that the problem doesn't occur?) This bug really bugs me! So please fix it! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
I do not have /etc/bash_completion.d/acroread.sh but the bash_completion do not works on my Ubuntu 11.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
The bug is cause by acroread. the function _filedir() in /etc/bash_completion.d/acroread.sh make the issue. When commenting the function, the problem disappear. ** Package changed: bash-completion (Ubuntu) = acroread (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
I can confirm #7, acroread.sh from the repository (9.4.2-0natty1, Ubuntu Natty 64) works. I didn't change /etc/bash_completion. All application-specific completions works. To #22 and #23, did you login in a new bash shell after removing acroread.sh to test completion? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
I am experiencing a similar problem with Mercurial in Natty -- spaces in filenames are not escaped when I tab-complete Mercurial commands (like hg add ...). A very old version of Mercurial on Lucid had the escaping problem; when I installed a new PPA version the problem was fixed. Now I have a fresh Natty install and a PPA version of Mercurial (1.9.1) and the problem is back. It's not acroread.sh; I definitely don't have Acrobat Reader installed and I don't have this file in /etc/bash_completion.d. I tried changing -o default to -o filenames in /etc/bash_completion, and there was no change. However, when I turn off sourcing /etc/bash_completion in my .bashrc, the Mercurial completion works as expected. So there is definitely something in this file which is messing things up -- but it doesn't appear to be the default/filenames change. I haven't experienced completion problems with any other command. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
Re: #41 -- I see now that when I stop sourcing /etc/bash_completion, mercurial completion doesn't work as expected; it just falls back to a sane default which isn't app-specific. As far as I understand, not sourcing that file turns off all application-specific completion completely, so this isn't an acceptable fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
Also regarding #41: I found a record of the exact Mercurial version I had installed in Lucid before upgrading to Natty -- it was 1.9.0 from the releases PPA. I tried that version in Natty before trying 1.9.1 from the snapshots PPA, and neither of them works. 1.9.0 definitely worked in Lucid (and in Maverick on a different computer). So it doesn't look like this is a problem with Mercurial's completion file. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
I also confirm #34 on 11.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
I did silas recommended and commented out the following on around line 100 of my .bashrc file and it's working fine now: #if [ -f /etc/bash_completion ] ! shopt -oq posix; then #. /etc/bash_completion #fi thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
confirmed #34, can someone mark this as affecting adobereader-deu and adobereader-enu? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
I've have ubuntu 11.04, I tried to do as you suggested but it still works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
On Natty, I can confirm oCean/#34 and Jörn/#35. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
fixed it too with using -o filenames , (#10) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
^no, wait. After changing it to -o filenames, still the completion failed for several programs e.g. running dpkg -S /us[tab] results in /usr (then space) Removing /etc/bash_completion.d/acroread.sh fixed it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
+1 for #34 Adding -o filenames worked for some commands (e.g. cd, ls), but not others, e.g. mplayer (no space escaping). After removing the acroread.sh script (from adobereader-deu 9.4.2-0maverick1) it worked for mplayer as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
+1 for Silas' fix. Oh, so good! Thanks very much. This was driving me, er, nutty. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
Fix in #10 worked for me. Thanks Silas! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
fixed it too with : -o filenames , thx #10 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/769866/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
@PeterW -o filenames is not equal to -o filename :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
+1 for silas' -o filename fix (#10). I did not change the acroread.sh file to fix the behavior. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
spoke too soon about the -o filename fix... sigh. In my case, it definitely fixes the tab completion issue, but when you start a new gnome-terminal instance, this will cause about 50-60 error messages to pop up on the start that are all the same: -bash: complete: filename: invalid option name For example: Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-8-generic x86_64) * Documentation: https://help.ubuntu.com/ Last login: Mon Jun 6 15:57:02 2011 from redacted -bash: complete: filename: invalid option name -bash: complete: filename: invalid option name -bash: complete: filename: invalid option name -bash: complete: filename: invalid option name -bash: complete: filename: invalid option name -bash: complete: filename: invalid option name . same msg another 40 times -bash: complete: filename: invalid option name -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
Fix in #10 worked for me. Thanks Silas! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 769866] Re: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
** Summary changed: - tab completion no longer escapes filenames + tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs