Stephen Gran on 15 Jun 2005 15:16:34 -0000


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

Re: [PLUG] ubuntu hoary upgrade issues: bash completion & ctrl+u


On Wed, Jun 15, 2005 at 10:07:06AM -0400, Art Alexion said:
> I upgraded from warty to hoary a couple of weeks ago, and have a couple
> of issues I can't seem to resolve on my own.
> 
>    1. _Bash Completion_ -- With warty, bash completion worked on
>       executable parameters.  For example, if I did a "sudo apt-get
>       update", completion worked not just for "sudo" but also "apt-get"
>       and "update".  Now, only document parameters are supported by bash
>       completion.  For example, with "gedit ~/Documents/document",
>       "document" will complete as well as gedit.  I don't think this is
>       a bash 3 problem, but rather a configuration problem.  Any ideas
>       how to fix?

Are you sourcing /etc/bash_completion in your ~/.bashrc (or globally)?
This is where this sort of thing is set up.  It's hairy shell code, but
you might want to take look there.

A second thought - does apt-get upd<tab> tab complete without the sudo?
If so, it is probably a bug in the implementation (completion is trying
to complete arguments to sudo rather than apt-get or something).  It
does work well here (Debian unstable).

>    2. _ctrl+u key combination_ -- warty was weak on this but it worked
>       with a number of non-gnome 2 apps, like easyTAG and Firefox.  Now
>       it only clears the command line in the terminal.  Anyway to
>       restore this?

No idea, sorry.  I am under the impression that each toolkit has a key
mapping (KDE uses on, GTK uses another, termcap or whatever yet another,
and so on).  This is one of the ongoing irritations of choice, IMO.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | Your nature demands love and your       |
|  steve@lobefin.net             | happiness depends on it.                |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug