FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi.
This is something that I haven't been noticing before, as I honestly didn't use Tab button in completing file names in YUM but I usually wrote them completely by hand.
Today I discovered that tab usage is extremely slow (Fedora 7). For instance, normally you get an instant completition of a command, or file name or whatever, when using TAB in terminal. But when using it with a YUM-command it takes up to 10 seconds before anything happens and while waiting I'm not able to move cursor in that terminal window. Is this normal thing with YUM or is something terribly wrong?
this is impossible to be related to yum at all. tab completion is a bash thing, and has no concept of the command you are using it with. how are you trying to use it in the first place? if i were running, for example. "yum install firefox" then at no point is there any reason / use in using tab completion, as there's nothing to complete.
Hi,
To give you a clearer idea what I'm talking about - let's say I want to install a Torrent client in particular. I list the avaiable ones with for instance yum list | grep torrent and I get quite many.
Lets say I want to install Ctorrent, which usually is installed with either yum install ctorrent. At the point I'm done writing "Ctor" for instace and press TAB, I get the completion to the whole word - Ctorrent, but it takes like 10 seconds, unlike when doing normal bash-tasks. That's why I was wondering, this obeservation I made, whether it's normal - the delay time.
but it doesn't do that... if you type "yum install Ctor" and then press tab, nothing at all happens... nothing is meant to happen unless you have somethign in your current directory that begins with "Ctor", inwhich case that would autocomplete.
but it doesn't do that... if you type "yum install Ctor" and then press tab, nothing at all happens... nothing is meant to happen unless you have somethign in your current directory that begins with "Ctor", inwhich case that would autocomplete.
Mate, I'm telling you - it does happen - I do get Ctorrent completed after pressing tab, when using YUM. However, it's slow...it takes around 10 seconds. I never thought about this before but it actually works. Perhaps it's due the fact I've installed bash-completition tool...or something. I'm not sure...
All I was wondering is why it goes so slow...but from what I'm reading here, you weren't even aware of it was possible. So perhaps this was just an unortodox example so I maybe should just start living with the fact that I shouldn't be using TAB for stuff like these...
ok, now obviously IF it does that, that'd be great. somehow hook into any given application to autocomplete within a context. google says nothing at all about this though, other than referencing a project that died year ago from what i can tell, and i'm running a stock fedora 7 install and this doesn't happen in bash. maybe someone else can shed some light on this?? if it does happen then 10 seconds seems totally reasonable as it's got to go away and dig through a yum database.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.