Public bug reported: if you make a screen with "screen -S foo" you cannot then reattach it via "screen -R f<tab>" with the current completion script. It only completes if you start typing with the numeric ID from screen -ls, which is not as easy to remember as the name you gave it ("foo" in this example).
Someone else was nice enough to write a patch to accomplish this three years ago: http://alioth.debian.org/tracker/?func=detail&atid=413095&aid=311540&group_id=100114 ...but it looks like nobody noticed it and it was not accepted into the upstream sources. :( I have updated the patch to work with /etc/bash_completion.d/screen as of Ubuntu 10.04 LTS. The version of the screen package that's installed is 4.0.3-14ubuntu1.2. The version of the bash-completion package that's installed is 1:1.1-3ubuntu2. I looked at the oneiric version of bash_completion and /etc/bash_completion.d/screen hasn't changed since the version I have, so the patch should apply cleanly to the version in bash- completion_1.3.orig.tar.bz2 (which appears to be the current upstream release that oneiric uses). ** 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/924676 Title: Make screen completion match the -S name To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/924676/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs