public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] genlop and tab completion acts weird
@ 2012-10-21  2:15 Dale
  2012-10-21 18:12 ` [gentoo-user] " walt
  2012-10-22  8:02 ` [gentoo-user] " Alex Schuster
  0 siblings, 2 replies; 10+ messages in thread
From: Dale @ 2012-10-21  2:15 UTC (permalink / raw
  To: Gentoo User

Howdy,

I been noticing something weird.  If I try to use tab completion with
the genlop command, I get things like this:

root@fireball / # genlop -t -f /var/-su: /etc/make.globals: No such file
or directory
hp-toolbox.lock ^C
root@fireball / # genlop -t -f /var/lo-su: /etc/make.globals: No such
file or directory
^C
root@fireball / #

On the first one, I only typed in to /var/ then hit tab and on the
second one I went to /var/lo then hit tab.  The rest it does when I hit
the tab key.  Whatever it is doing, I have to hit ctrl C to get out of it. 

Can someone test this on their system and see if it is just me or if you
get the same thing?  Anyone have a clue what the heck it is doing?  So
far, genlop is the only one I have seen that does this.  It may be
genlop specific but other commands that I don't use may do the same
thing and I just don't know it. 

Thanks much. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: genlop and tab completion acts weird
  2012-10-21  2:15 [gentoo-user] genlop and tab completion acts weird Dale
@ 2012-10-21 18:12 ` walt
  2012-10-22  0:46   ` Dale
  2012-10-22  8:02 ` [gentoo-user] " Alex Schuster
  1 sibling, 1 reply; 10+ messages in thread
From: walt @ 2012-10-21 18:12 UTC (permalink / raw
  To: gentoo-user

On 10/20/2012 07:15 PM, Dale wrote:
> I been noticing something weird.  If I try to use tab completion with
> the genlop command, I get things like this:
>
> root@fireball / # genlop -t -f/var/-su: /etc/make.globals: No such file
> or directory
> hp-toolbox.lock ^C
> root@fireball / # genlop -t -f /var/lo-su: /etc/make.globals: No such
> file or directory
> ^C
> root@fireball / #
>
> On the first one, I only typed in to/var/  then hit tab and on the
> second one I went to /var/lo then hit tab.  The rest it does when I hit
> the tab key.  Whatever it is doing, I have to hit ctrl C to get out of it.

Is /var on a different filesystem from / ?  That kind of thing happens to
me if an NFS mounted filesystem is hung for some reason (like the NFS server
not being up yet during boot).



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: genlop and tab completion acts weird
  2012-10-21 18:12 ` [gentoo-user] " walt
@ 2012-10-22  0:46   ` Dale
  2012-10-22  1:42     ` Mark Knecht
  2012-10-22  4:32     ` Dale
  0 siblings, 2 replies; 10+ messages in thread
From: Dale @ 2012-10-22  0:46 UTC (permalink / raw
  To: gentoo-user

walt wrote:
> On 10/20/2012 07:15 PM, Dale wrote:
>> I been noticing something weird.  If I try to use tab completion with
>> the genlop command, I get things like this:
>>
>> root@fireball / # genlop -t -f/var/-su: /etc/make.globals: No such file
>> or directory
>> hp-toolbox.lock ^C
>> root@fireball / # genlop -t -f /var/lo-su: /etc/make.globals: No such
>> file or directory
>> ^C
>> root@fireball / #
>>
>> On the first one, I only typed in to/var/  then hit tab and on the
>> second one I went to /var/lo then hit tab.  The rest it does when I hit
>> the tab key.  Whatever it is doing, I have to hit ctrl C to get out
>> of it.
>
> Is /var on a different filesystem from / ?  That kind of thing happens to
> me if an NFS mounted filesystem is hung for some reason (like the NFS
> server
> not being up yet during boot).
>
>
>

It's on a different partition but the same hard drive.  So far, I been
messing with other commands, genlop seems to be the only one that does
this.  I tried the usual ls, cat, equery and a few others but they work
fine.  It seems to be something that just affects genlop and I have no
idea where to start.  I'm running genlop-0.30.8-r2. 

Is this a bug maybe?

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: genlop and tab completion acts weird
  2012-10-22  0:46   ` Dale
@ 2012-10-22  1:42     ` Mark Knecht
  2012-10-22  2:38       ` Dale
  2012-10-22  4:32     ` Dale
  1 sibling, 1 reply; 10+ messages in thread
From: Mark Knecht @ 2012-10-22  1:42 UTC (permalink / raw
  To: gentoo-user

On Kindle so very short response. Humor me. Create a directory, cd
there and run the command.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: genlop and tab completion acts weird
  2012-10-22  1:42     ` Mark Knecht
@ 2012-10-22  2:38       ` Dale
  2012-10-22  3:06         ` Mark Knecht
  0 siblings, 1 reply; 10+ messages in thread
From: Dale @ 2012-10-22  2:38 UTC (permalink / raw
  To: gentoo-user

Mark Knecht wrote:
> On Kindle so very short response. Humor me. Create a directory, cd
> there and run the command.
>
>

Same thing.  By the way, I'm running this as root.  I'm in the root
directory, as in cd / not as in /root/.  That help any?

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: genlop and tab completion acts weird
  2012-10-22  2:38       ` Dale
@ 2012-10-22  3:06         ` Mark Knecht
  2012-10-22  3:53           ` Dale
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Knecht @ 2012-10-22  3:06 UTC (permalink / raw
  To: gentoo-user

Ok. Not what I reported and got fixed on eselect. Thought maybe there
was a parallel. Back to silent mode. Good luck and out.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: genlop and tab completion acts weird
  2012-10-22  3:06         ` Mark Knecht
@ 2012-10-22  3:53           ` Dale
  0 siblings, 0 replies; 10+ messages in thread
From: Dale @ 2012-10-22  3:53 UTC (permalink / raw
  To: gentoo-user

Mark Knecht wrote:
> Ok. Not what I reported and got fixed on eselect. Thought maybe there
> was a parallel. Back to silent mode. Good luck and out.
>
>

Thanks for trying.  Now we are both stumped.  :/ 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: genlop and tab completion acts weird
  2012-10-22  0:46   ` Dale
  2012-10-22  1:42     ` Mark Knecht
@ 2012-10-22  4:32     ` Dale
  1 sibling, 0 replies; 10+ messages in thread
From: Dale @ 2012-10-22  4:32 UTC (permalink / raw
  To: gentoo-user

Dale wrote:
> It's on a different partition but the same hard drive. So far, I been
> messing with other commands, genlop seems to be the only one that does
> this. I tried the usual ls, cat, equery and a few others but they work
> fine. It seems to be something that just affects genlop and I have no
> idea where to start. I'm running genlop-0.30.8-r2. Is this a bug
> maybe? Dale :-) :-) 

Well, we can add tail, cp and rm to the list of commands where tab
completion works fine.  So far, genlop is the only command that does this. 

I also tried to use genlop-0.30.7 and genlop-0.30.5 with the same
results.  I'm wondering if it is not genlop but something else.  I also
tried both versions of bash-completion with the same results. 

Can anyone nod their head that this is weird?  o_O   Come on, nod your
head and get it over with.  lol  Ideas would be nice tho.  Heck, I'll
settle for 'mine does the same thing'. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] genlop and tab completion acts weird
  2012-10-21  2:15 [gentoo-user] genlop and tab completion acts weird Dale
  2012-10-21 18:12 ` [gentoo-user] " walt
@ 2012-10-22  8:02 ` Alex Schuster
  2012-10-22  9:55   ` Dale
  1 sibling, 1 reply; 10+ messages in thread
From: Alex Schuster @ 2012-10-22  8:02 UTC (permalink / raw
  To: gentoo-user

Dale writes:

> I been noticing something weird.  If I try to use tab completion with
> the genlop command, I get things like this:
> 
> root@fireball / # genlop -t -f /var/-su: /etc/make.globals: No such file
> or directory
> hp-toolbox.lock ^C

Similar here, with missing /etc/make.conf. It's working when I create it,
as symlink to /etc/portage/make.conf. I do have /etc/make.globals, it
points to ../usr/share/portage/config/make.globals.

The problem lies in /usr/share/bash-completion/genlop,
where /etc/make.{conf,globals} are being referenced.

https://bugs.gentoo.org/show_bug.cgi?id=439234

	Wonko


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] genlop and tab completion acts weird
  2012-10-22  8:02 ` [gentoo-user] " Alex Schuster
@ 2012-10-22  9:55   ` Dale
  0 siblings, 0 replies; 10+ messages in thread
From: Dale @ 2012-10-22  9:55 UTC (permalink / raw
  To: gentoo-user

Alex Schuster wrote:
> Dale writes:
>
>> I been noticing something weird.  If I try to use tab completion with
>> the genlop command, I get things like this:
>>
>> root@fireball / # genlop -t -f /var/-su: /etc/make.globals: No such file
>> or directory
>> hp-toolbox.lock ^C
> Similar here, with missing /etc/make.conf. It's working when I create it,
> as symlink to /etc/portage/make.conf. I do have /etc/make.globals, it
> points to ../usr/share/portage/config/make.globals.
>
> The problem lies in /usr/share/bash-completion/genlop,
> where /etc/make.{conf,globals} are being referenced.
>
> https://bugs.gentoo.org/show_bug.cgi?id=439234
>
> 	Wonko
>
>


Looked at the bug.  I then moved make.conf to /etc/portage and put a
link in /etc just in case, and for this old fart to be able to find it
in /etc without freaking out.  lol  I did the same for make.globals as
well.  I might add, I didn't have a make.globals file.  I had to search
to find out if it was supposed to be a file or a directory.  No idea
what it does but I was missing that file.  Anyway, it is happy and no
more errors.  I can use tab completion and genlop not complain. 

Should I add a note to the bug?  That way they know it hasn't just
affected one person.

Thanks Alex or Wonko.  ???  I'm not a drinker but I owe you a glass of
good cold sweet tea.  LOL  I could splurge and get a IBC root beer. 

Thanks much. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-10-22  9:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-21  2:15 [gentoo-user] genlop and tab completion acts weird Dale
2012-10-21 18:12 ` [gentoo-user] " walt
2012-10-22  0:46   ` Dale
2012-10-22  1:42     ` Mark Knecht
2012-10-22  2:38       ` Dale
2012-10-22  3:06         ` Mark Knecht
2012-10-22  3:53           ` Dale
2012-10-22  4:32     ` Dale
2012-10-22  8:02 ` [gentoo-user] " Alex Schuster
2012-10-22  9:55   ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox