On Sun, 7 Jan 2007, Willie Wong wrote:
On Sun, Jan 07, 2007 at 06:10:55PM +0000, Penguin Lover Jorge Almeida squawked:
how about if you do
compgen -F _longopt
It should print out an unsorted list of all the files and subdirs of
the given dir. Does it freeze up?
If it doesn't, we can almost be sure that the problem is not with the
bash-completion script itself, since invoking compgen -F _longopt
should be the same as when you type "less <tab><tab>" on the
commandline. (At the same time, it might put hunting down the exact
problem out of my league.)
You mentioned that it seems to freeze for all completion you tried,
Not really all kind of completion, but I noticed that it froze on
trivial completions (the kind that should work even without
bash-completion).
have you tried the following:
unzip <tab><tab> (should just show a list of files ending in zip, ZIP jar,
exe, pk3, etc...)
xv (a list of image files)
qiv (a list of image files)
vim (a list of files that are not image files or archives)
and
kill <tab><tab> (should return a list of pids)
can you please try those and report back?
I won't be able to access my home box for a few days. I will try all
your suggestions then.
Thanks.
--
Jorge
--
gentoo-user@gentoo.org mailing list