public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Kernel Modules
@ 2011-06-09 10:52 Ignas Anikevicius
  2011-06-09 11:06 ` YoYo Siska
                   ` (2 more replies)
  0 siblings, 3 replies; 38+ messages in thread
From: Ignas Anikevicius @ 2011-06-09 10:52 UTC (permalink / raw
  To: gentoo-user

Hello list,

I was wondering if it is possible to have a tool with which it would be
possible to have external modules installed for _all_ kernel versions in
my computer. Now I am using 2.6.38 kernel, but would like to try 2.6.39
and the thing is that I would like to have tp_smapi and phc-intel
modules in both kernels. Is it possible to have it without any serious
hacking?

I have only 3 ideas how I could achieve that:
* Making a custom ebuild, which would build the modules, but install
itself as a different package depending on the kernel version (eg
tp_smapi-2.6.39-gentoo)?
* Making a custom ebuild, which would build the modules for all kernel
versions in one go... (is this possible?)
* patching the gentoo-sources each time.

Is any of these solutions sensible?

Cheers,
Ignas



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

* Re: [gentoo-user] Kernel Modules
  2011-06-09 10:52 [gentoo-user] Kernel Modules Ignas Anikevicius
@ 2011-06-09 11:06 ` YoYo Siska
  2011-06-09 11:06 ` Alan McKinnon
  2011-06-09 11:37 ` [gentoo-user] " Volker Armin Hemmann
  2 siblings, 0 replies; 38+ messages in thread
From: YoYo Siska @ 2011-06-09 11:06 UTC (permalink / raw
  To: gentoo-user

On Thu, Jun 09, 2011 at 11:52:42AM +0100, Ignas Anikevicius wrote:
> Hello list,
> 
> I was wondering if it is possible to have a tool with which it would be
> possible to have external modules installed for _all_ kernel versions in
> my computer. Now I am using 2.6.38 kernel, but would like to try 2.6.39
> and the thing is that I would like to have tp_smapi and phc-intel
> modules in both kernels. Is it possible to have it without any serious
> hacking?
> 
> I have only 3 ideas how I could achieve that:
> * Making a custom ebuild, which would build the modules, but install
> itself as a different package depending on the kernel version (eg
> tp_smapi-2.6.39-gentoo)?
> * Making a custom ebuild, which would build the modules for all kernel
> versions in one go... (is this possible?)
> * patching the gentoo-sources each time.


kernel modules are CONFIG_PROTECTED, so they are not automatically
removed when you uninstall / remerge the package (you have to remove
them manually), so you just have to remerge the package after you change
the /usr/src/linux symlink
there is also the module-rebuild utility, that automatically remerges
packages that installed a kernel module

i.e.

ln -sfn linux-VERSION1 /usr/src/linux
module-rebuild -X rebuild
ln -sfn linux-VERSION2 /usr/src/linux
module-rebuild -X rebuild
...

you might have to do 
module-rebuild populate
before the first time...


yoyo



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

* Re: [gentoo-user] Kernel Modules
  2011-06-09 10:52 [gentoo-user] Kernel Modules Ignas Anikevicius
  2011-06-09 11:06 ` YoYo Siska
@ 2011-06-09 11:06 ` Alan McKinnon
  2011-06-09 12:12   ` Ignas Anikevicius
  2011-06-09 11:37 ` [gentoo-user] " Volker Armin Hemmann
  2 siblings, 1 reply; 38+ messages in thread
From: Alan McKinnon @ 2011-06-09 11:06 UTC (permalink / raw
  To: gentoo-user

Apparently, though unproven, at 12:52 on Thursday 09 June 2011, Ignas 
Anikevicius did opine thusly:

> Hello list,
> 
> I was wondering if it is possible to have a tool with which it would be
> possible to have external modules installed for _all_ kernel versions in
> my computer. Now I am using 2.6.38 kernel, but would like to try 2.6.39
> and the thing is that I would like to have tp_smapi and phc-intel
> modules in both kernels. Is it possible to have it without any serious
> hacking?
> 
> I have only 3 ideas how I could achieve that:
> * Making a custom ebuild, which would build the modules, but install
> itself as a different package depending on the kernel version (eg
> tp_smapi-2.6.39-gentoo)?
> * Making a custom ebuild, which would build the modules for all kernel
> versions in one go... (is this possible?)
> * patching the gentoo-sources each time.

why you making so much work for yourself?

set the /usr/src/linux symlink to each set of installed sources in turn,
 run emerge @module-rebuild
 or run module-rebuild rebuild

you could even script it

cd /usr/src
for I in linux-*
do
  ln -sfn $I linux
  module-rebuild rebuils
done

Fixing my bash syntax errors is left as an exercise for the interested reader


-- 
alan dot mckinnon at gmail dot com



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

* Re: [gentoo-user] Kernel Modules
  2011-06-09 10:52 [gentoo-user] Kernel Modules Ignas Anikevicius
  2011-06-09 11:06 ` YoYo Siska
  2011-06-09 11:06 ` Alan McKinnon
@ 2011-06-09 11:37 ` Volker Armin Hemmann
  2 siblings, 0 replies; 38+ messages in thread
From: Volker Armin Hemmann @ 2011-06-09 11:37 UTC (permalink / raw
  To: gentoo-user

On Thursday 09 June 2011 11:52:42 Ignas Anikevicius wrote:
> Hello list,
> 
> I was wondering if it is possible to have a tool with which it would be
> possible to have external modules installed for _all_ kernel versions in
> my computer. Now I am using 2.6.38 kernel, but would like to try 2.6.39
> and the thing is that I would like to have tp_smapi and phc-intel
> modules in both kernels. Is it possible to have it without any serious
> hacking?
> 
> I have only 3 ideas how I could achieve that:
> * Making a custom ebuild, which would build the modules, but install
> itself as a different package depending on the kernel version (eg
> tp_smapi-2.6.39-gentoo)?
> * Making a custom ebuild, which would build the modules for all kernel
> versions in one go... (is this possible?)
> * patching the gentoo-sources each time.
> 
> Is any of these solutions sensible?
> 
> Cheers,
> Ignas

why not emerging them several times with linux pointing to the different 
kernels?

I that does not work:
ebuild .... unpack
ebuild .... compile
ebuild .... install
cp .ko from image directory to modules directory
depmod -ae


-- 
#163933



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

* Re: [gentoo-user] Kernel Modules
  2011-06-09 11:06 ` Alan McKinnon
@ 2011-06-09 12:12   ` Ignas Anikevicius
  2011-06-09 17:32     ` [gentoo-user] " Nikos Chantziaras
  0 siblings, 1 reply; 38+ messages in thread
From: Ignas Anikevicius @ 2011-06-09 12:12 UTC (permalink / raw
  To: gentoo-user

On 09/06/11 12:06, Alan McKinnon wrote:
> why you making so much work for yourself?
>
> set the /usr/src/linux symlink to each set of installed sources in turn,
>  run emerge @module-rebuild
>  or run module-rebuild rebuild
>
> you could even script it
>
> cd /usr/src
> for I in linux-*
> do
>   ln -sfn $I linux
>   module-rebuild rebuils
> done
>
> Fixing my bash syntax errors is left as an exercise for the interested reader
Thanks very much!

I am a former Arch user, so I was used for a lot of inconvenience while
doing such things, but gentoo seems to make my life easier and easier.

Ignas



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

* [gentoo-user] Re: Kernel Modules
  2011-06-09 12:12   ` Ignas Anikevicius
@ 2011-06-09 17:32     ` Nikos Chantziaras
  2011-06-09 18:18       ` Alan McKinnon
  0 siblings, 1 reply; 38+ messages in thread
From: Nikos Chantziaras @ 2011-06-09 17:32 UTC (permalink / raw
  To: gentoo-user

On 06/09/2011 03:12 PM, Ignas Anikevicius wrote:
> On 09/06/11 12:06, Alan McKinnon wrote:
>> why you making so much work for yourself?
>>
>> set the /usr/src/linux symlink to each set of installed sources in turn,
>>   run emerge @module-rebuild
>>   or run module-rebuild rebuild
>>
>> you could even script it
>>
>> cd /usr/src
>> for I in linux-*
>> do
>>    ln -sfn $I linux
>>    module-rebuild rebuils
>> done
>>
>> Fixing my bash syntax errors is left as an exercise for the interested reader
> Thanks very much!

You actually don't need to the symlinks yourself.  Try:

   eselect kernel list

Then choose one with something like:

   eselect kernel set 2




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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-09 17:32     ` [gentoo-user] " Nikos Chantziaras
@ 2011-06-09 18:18       ` Alan McKinnon
  2011-06-09 18:52         ` Bill Longman
  2011-06-09 19:03         ` Dale
  0 siblings, 2 replies; 38+ messages in thread
From: Alan McKinnon @ 2011-06-09 18:18 UTC (permalink / raw
  To: gentoo-user; +Cc: Nikos Chantziaras

Apparently, though unproven, at 19:32 on Thursday 09 June 2011, Nikos 
Chantziaras did opine thusly:

> On 06/09/2011 03:12 PM, Ignas Anikevicius wrote:
> > On 09/06/11 12:06, Alan McKinnon wrote:
> >> why you making so much work for yourself?
> >> 
> >> set the /usr/src/linux symlink to each set of installed sources in turn,
> >> 
> >>   run emerge @module-rebuild
> >>   or run module-rebuild rebuild
> >> 
> >> you could even script it
> >> 
> >> cd /usr/src
> >> for I in linux-*
> >> do
> >> 
> >>    ln -sfn $I linux
> >>    module-rebuild rebuils
> >> 
> >> done
> >> 
> >> Fixing my bash syntax errors is left as an exercise for the interested
> >> reader
> > 
> > Thanks very much!
> 
> You actually don't need to the symlinks yourself.  Try:
> 
>    eselect kernel list
> 
> Then choose one with something like:
> 
>    eselect kernel set 2

Sure, but I can use ln in my sleep.

eselect OTOH, is something I always have to run bit by bit to recall the 
invocation. That's just way too much effort for this here old git....


-- 
alan dot mckinnon at gmail dot com



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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-09 18:18       ` Alan McKinnon
@ 2011-06-09 18:52         ` Bill Longman
  2011-06-09 19:06           ` Alan McKinnon
  2011-06-10  9:49           ` Nikos Chantziaras
  2011-06-09 19:03         ` Dale
  1 sibling, 2 replies; 38+ messages in thread
From: Bill Longman @ 2011-06-09 18:52 UTC (permalink / raw
  To: gentoo-user

On 06/09/2011 11:18 AM, Alan McKinnon wrote:
> eselect OTOH, is something I always have to run bit by bit to recall the 
> invocation. That's just way too much effort for this here old git....

Wasn't on this list that I saw the correct procedure for eselect?

eselect
eselect kernel
eselect kernel list
eselect kernel set 6

<sigh> It's so true....



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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-09 18:18       ` Alan McKinnon
  2011-06-09 18:52         ` Bill Longman
@ 2011-06-09 19:03         ` Dale
  2011-06-09 19:37           ` Alan McKinnon
  1 sibling, 1 reply; 38+ messages in thread
From: Dale @ 2011-06-09 19:03 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon wrote:
>
> Sure, but I can use ln in my sleep.
>
> eselect OTOH, is something I always have to run bit by bit to recall the
> invocation. That's just way too much effort for this here old git....
>
>    

I'm still not used to eselect and its options.  They are sensible but I 
just haven't got the hang of it.  I been practicing tho.  I do eselect 
modules list then go from there.  You are right tho Alan, in the end, it 
takes longer.  I bet it was supposed to save time too. lol

Dale

:-)  :-)



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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-09 18:52         ` Bill Longman
@ 2011-06-09 19:06           ` Alan McKinnon
  2011-06-10  9:49           ` Nikos Chantziaras
  1 sibling, 0 replies; 38+ messages in thread
From: Alan McKinnon @ 2011-06-09 19:06 UTC (permalink / raw
  To: gentoo-user

Apparently, though unproven, at 20:52 on Thursday 09 June 2011, Bill Longman 
did opine thusly:

> On 06/09/2011 11:18 AM, Alan McKinnon wrote:
> > eselect OTOH, is something I always have to run bit by bit to recall the
> > invocation. That's just way too much effort for this here old git....
> 
> Wasn't on this list that I saw the correct procedure for eselect?
> 
> eselect
> eselect kernel
> eselect kernel list
> eselect kernel set 6
> 
> <sigh> It's so true....

In my case there's usually a lot of wondering which one it is after step 1. 
Try this, poke around, nope. Try that, nope not that one. Sometime after the 
third try I find it.


-- 
alan dot mckinnon at gmail dot com 



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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-09 19:03         ` Dale
@ 2011-06-09 19:37           ` Alan McKinnon
  2011-06-09 19:44             ` YouTube Support
  2011-06-09 20:06             ` [gentoo-user] " Paul Hartman
  0 siblings, 2 replies; 38+ messages in thread
From: Alan McKinnon @ 2011-06-09 19:37 UTC (permalink / raw
  To: gentoo-user

Apparently, though unproven, at 21:03 on Thursday 09 June 2011, Dale did opine 
thusly:

> Alan McKinnon wrote:
> > Sure, but I can use ln in my sleep.
> > 
> > eselect OTOH, is something I always have to run bit by bit to recall the
> > invocation. That's just way too much effort for this here old git....
> 
> I'm still not used to eselect and its options.  They are sensible but I
> just haven't got the hang of it.  I been practicing tho.  I do eselect
> modules list then go from there.  You are right tho Alan, in the end, it
> takes longer.  I bet it was supposed to save time too. lol

On the whole, eselect is a good idea, just some of it's modules are extreme.

eselect opengl and eselect python are just two examples of things I have no 
idea how to accomplish manually


-- 
alan dot mckinnon at gmail dot com



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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-09 19:37           ` Alan McKinnon
@ 2011-06-09 19:44             ` YouTube Support
  2011-06-09 20:23               ` [gentoo-user] Re: umm, google.... WAS: " Alan McKinnon
  2011-06-09 20:06             ` [gentoo-user] " Paul Hartman
  1 sibling, 1 reply; 38+ messages in thread
From: YouTube Support @ 2011-06-09 19:44 UTC (permalink / raw
  To: gentoo-user

You are receiving this automated reply because you have sent mail to
an invalid email address. If you are trying to contact YouTube,
please visit the YouTube Help Center at:
http://www.google.com/support/youtube

If you're unable to find the answer to your question in the Help
Center, you may use the contact forms located there to send us your
question.



Original Message Follows:
------------------------
From: Alan McKinnon <alan.mckinnon@gmail.com>
Subject: [gentoo-user] Re: Kernel Modules
Date: Thu, 9 Jun 2011 21:37:30 +0200

Apparently, though unproven, at 21:03 on Thursday 09 June 2011, Dale did
opine 
thusly:

> Alan McKinnon wrote:
> > Sure, but I can use ln in my sleep.
> > 
> > eselect OTOH, is something I always have to run bit by bit to recall
the
> > invocation. That's just way too much effort for this here old git....
> 
> I'm still not used to eselect and its options.  They are sensible but I
> just haven't got the hang of it.  I been practicing tho.  I do eselect
> modules list then go from there.  You are right tho Alan, in the end, it
> takes longer.  I bet it was supposed to save time too. lol

On the whole, eselect is a good idea, just some of it's modules are
extreme.

eselect opengl and eselect python are just two examples of things I have
no 
idea how to accomplish manually


-- 
alan dot mckinnon at gmail dot com





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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-09 19:37           ` Alan McKinnon
  2011-06-09 19:44             ` YouTube Support
@ 2011-06-09 20:06             ` Paul Hartman
  2011-06-09 20:44               ` Mick
  1 sibling, 1 reply; 38+ messages in thread
From: Paul Hartman @ 2011-06-09 20:06 UTC (permalink / raw
  To: gentoo-user

On Thu, Jun 9, 2011 at 2:37 PM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> Apparently, though unproven, at 21:03 on Thursday 09 June 2011, Dale did opine
> thusly:
>
>> Alan McKinnon wrote:
>> > Sure, but I can use ln in my sleep.
>> >
>> > eselect OTOH, is something I always have to run bit by bit to recall the
>> > invocation. That's just way too much effort for this here old git....
>>
>> I'm still not used to eselect and its options.  They are sensible but I
>> just haven't got the hang of it.  I been practicing tho.  I do eselect
>> modules list then go from there.  You are right tho Alan, in the end, it
>> takes longer.  I bet it was supposed to save time too. lol
>
> On the whole, eselect is a good idea, just some of it's modules are extreme.
>
> eselect opengl and eselect python are just two examples of things I have no
> idea how to accomplish manually

I'm okay with most of them, but whenever I need to use "eselect news"
my brain comes up empty.



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

* Re: [gentoo-user] Re: umm, google.... WAS: Kernel Modules
  2011-06-09 19:44             ` YouTube Support
@ 2011-06-09 20:23               ` Alan McKinnon
  2011-06-09 21:05                 ` Dale
  0 siblings, 1 reply; 38+ messages in thread
From: Alan McKinnon @ 2011-06-09 20:23 UTC (permalink / raw
  To: gentoo-user

How exceptionally interesting, as I didn't mail youtube...

Headers of what I did send:

From: Alan McKinnon <alan.mckinnon@gmail.com>
X-KMail-Identity: 1726407999
X-KMail-Transport: Gmail
X-KMail-Fcc: .Community.directory/gentoo-user
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Kernel Modules
Date: Thu, 9 Jun 2011 21:37:30 +0200
User-Agent: KMail/1.13.7 (Linux/2.6.39-ck; KDE/4.6.3; x86_64; ; )
References: <4DF0A5FA.1020602@gmail.com> 
<201106092018.37311.alan.mckinnon@gmail.com> <4DF118FC.2030805@gmail.com>
In-Reply-To: <4DF118FC.2030805@gmail.com>
X-KMail-Link-Message: 96095
X-KMail-Link-Type: reply
X-KMail-QuotePrefix: > 
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-Id: <201106092137.30415.alan.mckinnon@gmail.com>
Status: RO
X-Status: RS
X-KMail-EncryptionState: N
X-KMail-SignatureState: N
X-KMail-MDN-Sent:  

I wonder if this one will do the same.



Apparently, though unproven, at 21:44 on Thursday 09 June 2011, YouTube 
Support did opine thusly:

> You are receiving this automated reply because you have sent mail to
> an invalid email address. If you are trying to contact YouTube,
> please visit the YouTube Help Center at:
> http://www.google.com/support/youtube
> 
> If you're unable to find the answer to your question in the Help
> Center, you may use the contact forms located there to send us your
> question.
> 
> 
> 
> Original Message Follows:
> ------------------------
> From: Alan McKinnon <alan.mckinnon@gmail.com>
> Subject: [gentoo-user] Re: Kernel Modules
> Date: Thu, 9 Jun 2011 21:37:30 +0200
> 
> Apparently, though unproven, at 21:03 on Thursday 09 June 2011, Dale did
> opine
> 
> thusly:
> > Alan McKinnon wrote:
> > > Sure, but I can use ln in my sleep.
> > > 
> > > eselect OTOH, is something I always have to run bit by bit to recall
> 
> the
> 
> > > invocation. That's just way too much effort for this here old git....
> > 
> > I'm still not used to eselect and its options.  They are sensible but I
> > just haven't got the hang of it.  I been practicing tho.  I do eselect
> > modules list then go from there.  You are right tho Alan, in the end, it
> > takes longer.  I bet it was supposed to save time too. lol
> 
> On the whole, eselect is a good idea, just some of it's modules are
> extreme.
> 
> eselect opengl and eselect python are just two examples of things I have
> no
> idea how to accomplish manually

-- 
alan dot mckinnon at gmail dot com



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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-09 20:06             ` [gentoo-user] " Paul Hartman
@ 2011-06-09 20:44               ` Mick
  2011-06-15 16:10                 ` Peter Humphrey
  0 siblings, 1 reply; 38+ messages in thread
From: Mick @ 2011-06-09 20:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1353 bytes --]

On Thursday 09 Jun 2011 21:06:12 Paul Hartman wrote:
> On Thu, Jun 9, 2011 at 2:37 PM, Alan McKinnon <alan.mckinnon@gmail.com> 
wrote:
> > Apparently, though unproven, at 21:03 on Thursday 09 June 2011, Dale did
> > opine
> > 
> > thusly:
> >> Alan McKinnon wrote:
> >> > Sure, but I can use ln in my sleep.
> >> > 
> >> > eselect OTOH, is something I always have to run bit by bit to recall
> >> > the invocation. That's just way too much effort for this here old
> >> > git....
> >> 
> >> I'm still not used to eselect and its options.  They are sensible but I
> >> just haven't got the hang of it.  I been practicing tho.  I do eselect
> >> modules list then go from there.  You are right tho Alan, in the end, it
> >> takes longer.  I bet it was supposed to save time too. lol
> > 
> > On the whole, eselect is a good idea, just some of it's modules are
> > extreme.
> > 
> > eselect opengl and eselect python are just two examples of things I have
> > no idea how to accomplish manually
> 
> I'm okay with most of them, but whenever I need to use "eselect news"
> my brain comes up empty.

Aha!  I had to memorise that because it kept popping up every time I would run 
emerge (and couldn't be bothered to run eselect at the time).  So it is:

  eselect news read new

it sort of rhymes.  ;-)
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] Re: umm, google.... WAS: Kernel Modules
  2011-06-09 20:23               ` [gentoo-user] Re: umm, google.... WAS: " Alan McKinnon
@ 2011-06-09 21:05                 ` Dale
  0 siblings, 0 replies; 38+ messages in thread
From: Dale @ 2011-06-09 21:05 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon wrote:
> How exceptionally interesting, as I didn't mail youtube...
>
>    


Shhhhhhh.  It's going to pop.  Don't mess with a can of SPAM !!!  It's 
worse than a can of worms.

lol

Dale

:-)  :-)



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

* [gentoo-user] RE: Kernel Modules
@ 2011-06-10  1:41 Pandu Poluan
  2011-06-10 14:22 ` Paul Hartman
  0 siblings, 1 reply; 38+ messages in thread
From: Pandu Poluan @ 2011-06-10  1:41 UTC (permalink / raw
  To: gentoo-user

-original message-
Subject: Re: [gentoo-user] Re: Kernel Modules
From: Alan McKinnon <alan.mckinnon@gmail.com>
Date: 2011-06-10 02:06

>Apparently, though unproven, at 20:52 on  Thursday 09 June 2011, Bill Longman 
>did opine thusly:
>
>> On 06/09/2011 11:18 AM, Alan McKinnon wrote:
>> > eselect OTOH, is something I always have to run bit by bit to recall the
>> > invocation. That's just way too much effort for this here old git....
>> 
>> Wasn't on this list that I saw the correct procedure for eselect?
>> 
>> eselect
>> eselect kernel
>> eselect kernel list
>> eselect kernel set 6
>> 
>> <sigh> It's so true....
>
>In my case there's usually a lot of wondering which one it is after step 1. 
>Try this, poke around, nope. Try that, nope not that one. Sometime after the 
>third try I find it.
>
>-- 
>alan dot mckinnon at gmail dot com 

eselect bashcomp enable gentoo
eselect bashcomp enable eselect

I always do those when doing a new install. Of course, don't forget to do USE=bash-completion and the subsequent emerge --update --newuse --deep @world ;)

Rgds,
--
FdS Pandu E Poluan
~ IT Optimizer ~

Sent from Nokia E72-1




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

* [gentoo-user] Re: Kernel Modules
  2011-06-09 18:52         ` Bill Longman
  2011-06-09 19:06           ` Alan McKinnon
@ 2011-06-10  9:49           ` Nikos Chantziaras
  2011-06-10 17:41             ` Dale
  1 sibling, 1 reply; 38+ messages in thread
From: Nikos Chantziaras @ 2011-06-10  9:49 UTC (permalink / raw
  To: gentoo-user

On 06/09/2011 09:52 PM, Bill Longman wrote:
> On 06/09/2011 11:18 AM, Alan McKinnon wrote:
>> eselect OTOH, is something I always have to run bit by bit to recall the
>> invocation. That's just way too much effort for this here old git....
>
> Wasn't on this list that I saw the correct procedure for eselect?
>
> eselect
> eselect kernel
> eselect kernel list
> eselect kernel set 6
>
> <sigh>  It's so true....

Never happened to me.  I simply enter "eselect" and then press TAB twice 
and get a list of every module :-P




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

* Re: [gentoo-user] RE: Kernel Modules
  2011-06-10  1:41 [gentoo-user] " Pandu Poluan
@ 2011-06-10 14:22 ` Paul Hartman
  0 siblings, 0 replies; 38+ messages in thread
From: Paul Hartman @ 2011-06-10 14:22 UTC (permalink / raw
  To: gentoo-user

On Thu, Jun 9, 2011 at 8:41 PM, Pandu Poluan <pandu@poluan.info> wrote:
> eselect bashcomp enable gentoo
> eselect bashcomp enable eselect
>
> I always do those when doing a new install. Of course, don't forget to do USE=bash-completion and the subsequent emerge --update --newuse --deep @world ;)

Why did I not enable this before? :)  Thanks.



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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-10  9:49           ` Nikos Chantziaras
@ 2011-06-10 17:41             ` Dale
       [not found]               ` <BANLkTinmmzhzXXJ6Sq1pSTGtM5prJ7dq3Q@mail.gmail.com>
  0 siblings, 1 reply; 38+ messages in thread
From: Dale @ 2011-06-10 17:41 UTC (permalink / raw
  To: gentoo-user

Nikos Chantziaras wrote:
> On 06/09/2011 09:52 PM, Bill Longman wrote:
>> On 06/09/2011 11:18 AM, Alan McKinnon wrote:
>>> eselect OTOH, is something I always have to run bit by bit to recall 
>>> the
>>> invocation. That's just way too much effort for this here old git....
>>
>> Wasn't on this list that I saw the correct procedure for eselect?
>>
>> eselect
>> eselect kernel
>> eselect kernel list
>> eselect kernel set 6
>>
>> <sigh>  It's so true....
>
> Never happened to me.  I simply enter "eselect" and then press TAB 
> twice and get a list of every module :-P
>

Huh?

root@fireball / # eselect < hit tab twice here >
bin/     .config/ dev/     home/    lib/     lib64/   mnt/     opt/     
root/    sys/     usr/
boot/    data/    etc/     kde      lib32/   media/   old-etc/ proc/    
sbin/    tmp/     var/
root@fireball / # eselect

Dale

:-)  :-)



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

* [gentoo-user] RE: Kernel Modules
@ 2011-06-10 19:05 Pandu Poluan
  0 siblings, 0 replies; 38+ messages in thread
From: Pandu Poluan @ 2011-06-10 19:05 UTC (permalink / raw
  To: gentoo-user

-original message-
Subject: Re: [gentoo-user] Re: Kernel Modules
From: Dale <rdalek1967@gmail.com>
Date: 2011-06-11 00:41

>Nikos Chantziaras wrote:
>> On 06/09/2011 09:52 PM, Bill Longman wrote:
>>> On 06/09/2011 11:18 AM, Alan McKinnon wrote:
>>>> eselect OTOH, is something I always have to run bit by bit to recall 
>>>> the
>>>> invocation. That's just way too much effort for this here old git....
>>>
>>> Wasn't on this list that I saw the correct procedure for eselect?
>>>
>>> eselect
>>> eselect kernel
>>> eselect kernel list
>>> eselect kernel set 6
>>>
>>> <sigh>  It's so true....
>>
>> Never happened to me.  I simply enter "eselect" and then press TAB 
>> twice and get a list of every module :-P
>>
>
>Huh?
>
>root@fireball / # eselect < hit tab twice here >
>bin/     .config/ dev/     home/    lib/     lib64/   mnt/     opt/     
>root/    sys/     usr/
boot/    data/    etc/     kde      lib32/   media/   >old-etc/ proc/    
sbin/    tmp/     var/
>root@fireball / # eselect
>
>Dale
>

You need to first incantate the 2-line spell I posted earlier, followed by a logout and a login.

And bash will from then on automagically provide a contextual command completion.

Rgds,
--
FdS Pandu E Poluan
~ IT Optimizer ~

Sent from Nokia E72-1





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

* Re: [gentoo-user] Re: Kernel Modules
       [not found]               ` <BANLkTinmmzhzXXJ6Sq1pSTGtM5prJ7dq3Q@mail.gmail.com>
@ 2011-06-10 19:08                 ` Dale
  2011-06-10 19:46                   ` Nikos Chantziaras
  2011-06-10 20:38                   ` [gentoo-user] " Paul Hartman
  2011-06-10 21:34                 ` Mick
  1 sibling, 2 replies; 38+ messages in thread
From: Dale @ 2011-06-10 19:08 UTC (permalink / raw
  To: gentoo-user

Paul Hartman wrote:
> See Pandu's latest message in this thread. Once you enable it like he
> showed, it'll work like this:
>
> # eselect<pressed tab twice here>
> bashcomp       boost          ctags          fontconfig     java-vm
>      locale         news           pager          python         usage
>          visual
> binutils       --brief        editor         help           kernel
>      mesa           --no-colour    pinentry       rc
> version        wxwidgets
> blas           cblas          env            java-nsplugin  lapack
>      modules        opengl         profile        ruby           vi
>          xvmc
>
>    

Oh.  Ohhhhh!!!  NEATO.  Now to remember I can do this the next time I 
can't remember the name of a module.  lol

Double neato !  It works after each option too.  Holy crap.  OK.  We 
need to start a thread and list all the NEATO things like this that 
others may not know about.  Sound like a idea?

Dale

:-)  :-)



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

* [gentoo-user] Re: Kernel Modules
  2011-06-10 19:08                 ` Dale
@ 2011-06-10 19:46                   ` Nikos Chantziaras
  2011-06-10 20:05                     ` Dale
  2011-06-10 20:38                   ` [gentoo-user] " Paul Hartman
  1 sibling, 1 reply; 38+ messages in thread
From: Nikos Chantziaras @ 2011-06-10 19:46 UTC (permalink / raw
  To: gentoo-user

On 06/10/2011 10:08 PM, Dale wrote:
> Paul Hartman wrote:
>> See Pandu's latest message in this thread. Once you enable it like he
>> showed, it'll work like this:
>>
>> # eselect<pressed tab twice here>
>> bashcomp boost ctags fontconfig java-vm
>> locale news pager python usage
>> visual
>> binutils --brief editor help kernel
>> mesa --no-colour pinentry rc
>> version wxwidgets
>> blas cblas env java-nsplugin lapack
>> modules opengl profile ruby vi
>> xvmc
>>
>
> Oh. Ohhhhh!!! NEATO. Now to remember I can do this the next time I can't
> remember the name of a module. lol
>
> Double neato ! It works after each option too.

Well, it's called bash completion and works pretty much for everything 
that has a completion file.  It needs "app-shells/bash-completion" to be 
installed.  There's a also global USE flag called bash-completion.

And also an eselect module called bashcomp, where you can enable this 
feature for specific tools and packages.  "eselect bashcomp list" shows 
the packages that support this.  For example, try "ls --<tab><tab>" and 
you get a list options.  Or gcc, or unrar, or...




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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-10 19:46                   ` Nikos Chantziaras
@ 2011-06-10 20:05                     ` Dale
  2011-06-10 20:31                       ` Paul Hartman
  0 siblings, 1 reply; 38+ messages in thread
From: Dale @ 2011-06-10 20:05 UTC (permalink / raw
  To: gentoo-user

Nikos Chantziaras wrote:
> On 06/10/2011 10:08 PM, Dale wrote:
>> Paul Hartman wrote:
>>> See Pandu's latest message in this thread. Once you enable it like he
>>> showed, it'll work like this:
>>>
>>> # eselect<pressed tab twice here>
>>> bashcomp boost ctags fontconfig java-vm
>>> locale news pager python usage
>>> visual
>>> binutils --brief editor help kernel
>>> mesa --no-colour pinentry rc
>>> version wxwidgets
>>> blas cblas env java-nsplugin lapack
>>> modules opengl profile ruby vi
>>> xvmc
>>>
>>
>> Oh. Ohhhhh!!! NEATO. Now to remember I can do this the next time I can't
>> remember the name of a module. lol
>>
>> Double neato ! It works after each option too.
>
> Well, it's called bash completion and works pretty much for everything 
> that has a completion file.  It needs "app-shells/bash-completion" to 
> be installed.  There's a also global USE flag called bash-completion.
>
> And also an eselect module called bashcomp, where you can enable this 
> feature for specific tools and packages.  "eselect bashcomp list" 
> shows the packages that support this.  For example, try "ls 
> --<tab><tab>" and you get a list options.  Or gcc, or unrar, or...
>

This is one of those, 'I have heard of this but didn't know what is was' 
things.  I did set the USE flag and updated the needed things, -N and 
all, but this is pretty darn cool.

I notice a really long list of things when I do this:

eselect bashcomp list

Is there a way to just enable them all?  Is there some that should NOT 
be enabled, maybe for good reason?

Thanks.

Dale

:-)  :-)



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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-10 20:05                     ` Dale
@ 2011-06-10 20:31                       ` Paul Hartman
  2011-06-10 20:55                         ` Dale
  2011-06-15 16:07                         ` Peter Humphrey
  0 siblings, 2 replies; 38+ messages in thread
From: Paul Hartman @ 2011-06-10 20:31 UTC (permalink / raw
  To: gentoo-user

On Fri, Jun 10, 2011 at 3:05 PM, Dale <rdalek1967@gmail.com> wrote:
> I notice a really long list of things when I do this:
>
> eselect bashcomp list
>
> Is there a way to just enable them all?

The wiki has a bunch of info, including a command to set them all at
once. I've pasted it below, but e-mail formatting may ruin it.
http://en.gentoo-wiki.com/wiki/TAB-Completion

(quote)
If you want to enable all Bash tab-completions available for your system, type:

    if using eselect (just remove the --global option if you don't
want to enable them globally):

( shopt -s extglob; eselect bashcomp list | while read -r s; do
s="${s##*][[:space:]]}"; [[ $s != Available* ]] && eselect bashcomp
enable --global "${s%%?([[:space:]]\\*)}"; done )

Remember, for the changes to have an immediate effect, issue the
following command:
source /etc/bash/bashrc
(unquote)



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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-10 19:08                 ` Dale
  2011-06-10 19:46                   ` Nikos Chantziaras
@ 2011-06-10 20:38                   ` Paul Hartman
  1 sibling, 0 replies; 38+ messages in thread
From: Paul Hartman @ 2011-06-10 20:38 UTC (permalink / raw
  To: gentoo-user

On Fri, Jun 10, 2011 at 2:08 PM, Dale <rdalek1967@gmail.com> wrote:
> We need to start a thread and list all the NEATO things like this that
> others may not know about.  Sound like a idea?

Additional sources of fun info:

Gentoo Tips, Tricks & Documentation forum:
https://forums.gentoo.org/viewforum-f-12.html

Steve Dibb compiled a list of links to the Gentoo Weekly News tips &
tricks articles:
http://dev.gentoo.org/~beandog/tips/

And of course the Gentoo Wiki & Wiki Archives are full of great info
like this in general:
http://en.gentoo-wiki.com
http://www.gentoo-wiki.info



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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-10 20:31                       ` Paul Hartman
@ 2011-06-10 20:55                         ` Dale
  2011-06-15 16:07                         ` Peter Humphrey
  1 sibling, 0 replies; 38+ messages in thread
From: Dale @ 2011-06-10 20:55 UTC (permalink / raw
  To: gentoo-user

Paul Hartman wrote:
> On Fri, Jun 10, 2011 at 3:05 PM, Dale<rdalek1967@gmail.com>  wrote:
>    
>> I notice a really long list of things when I do this:
>>
>> eselect bashcomp list
>>
>> Is there a way to just enable them all?
>>      
> The wiki has a bunch of info, including a command to set them all at
> once. I've pasted it below, but e-mail formatting may ruin it.
> http://en.gentoo-wiki.com/wiki/TAB-Completion
>
> (quote)
> If you want to enable all Bash tab-completions available for your system, type:
>
>      if using eselect (just remove the --global option if you don't
> want to enable them globally):
>
> ( shopt -s extglob; eselect bashcomp list | while read -r s; do
> s="${s##*][[:space:]]}"; [[ $s != Available* ]]&&  eselect bashcomp
> enable --global "${s%%?([[:space:]]\\*)}"; done )
>
> Remember, for the changes to have an immediate effect, issue the
> following command:
> source /etc/bash/bashrc
> (unquote)
>
>    

I was just starting to use the wiki when it crashed long ago.  After 
that, lots of stuff was missing so I haven't been back in a while.  I 
mostly learn off this list.  I don't even go to the forums much any more.

Looks like it would have a ALL option to me.  ;-)

Thanks for the link.  It is in process as I type.

Dale

:-)  :-)



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

* Re: [gentoo-user] Re: Kernel Modules
       [not found]               ` <BANLkTinmmzhzXXJ6Sq1pSTGtM5prJ7dq3Q@mail.gmail.com>
  2011-06-10 19:08                 ` Dale
@ 2011-06-10 21:34                 ` Mick
  2011-06-10 21:42                   ` Paul Hartman
  1 sibling, 1 reply; 38+ messages in thread
From: Mick @ 2011-06-10 21:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1922 bytes --]

On Friday 10 Jun 2011 19:18:06 Paul Hartman wrote:
> On Fri, Jun 10, 2011 at 12:41 PM, Dale <rdalek1967@gmail.com> wrote:
> > Nikos Chantziaras wrote:
> >> On 06/09/2011 09:52 PM, Bill Longman wrote:
> >>> On 06/09/2011 11:18 AM, Alan McKinnon wrote:
> >>>> eselect OTOH, is something I always have to run bit by bit to recall
> >>>> the invocation. That's just way too much effort for this here old
> >>>> git....
> >>> 
> >>> Wasn't on this list that I saw the correct procedure for eselect?
> >>> 
> >>> eselect
> >>> eselect kernel
> >>> eselect kernel list
> >>> eselect kernel set 6
> >>> 
> >>> <sigh>  It's so true....
> >> 
> >> Never happened to me.  I simply enter "eselect" and then press TAB twice
> >> and get a list of every module :-P
> > 
> > Huh?
> > 
> > root@fireball / # eselect < hit tab twice here >
> > bin/     .config/ dev/     home/    lib/     lib64/   mnt/     opt/
> > root/    sys/     usr/
> > boot/    data/    etc/     kde      lib32/   media/   old-etc/ proc/
> >  sbin/    tmp/     var/
> > root@fireball / # eselect
> 
> See Pandu's latest message in this thread. Once you enable it like he
> showed, it'll work like this:
> 
> # eselect <pressed tab twice here>
> bashcomp       boost          ctags          fontconfig     java-vm
>     locale         news           pager          python         usage
>         visual
> binutils       --brief        editor         help           kernel
>     mesa           --no-colour    pinentry       rc
> version        wxwidgets
> blas           cblas          env            java-nsplugin  lapack
>     modules        opengl         profile        ruby           vi
>         xvmc

Not here:

# eselect bashcomp list
Available completions:
  [1]   gdbus
  [2]   gsettings

# eselect bashcomp enable eselect
!!! Error: /usr/share/bash-completion/eselect doesn't exist
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-10 21:34                 ` Mick
@ 2011-06-10 21:42                   ` Paul Hartman
  2011-06-10 21:55                     ` Mick
  0 siblings, 1 reply; 38+ messages in thread
From: Paul Hartman @ 2011-06-10 21:42 UTC (permalink / raw
  To: gentoo-user

On Fri, Jun 10, 2011 at 4:34 PM, Mick <michaelkintzios@gmail.com> wrote:
> Not here:
>
> # eselect bashcomp list
> Available completions:
>  [1]   gdbus
>  [2]   gsettings
>
> # eselect bashcomp enable eselect
> !!! Error: /usr/share/bash-completion/eselect doesn't exist

Looks like maybe you didn't have the bash-completion USE flag set when
you emerged the eselect package.



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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-10 21:42                   ` Paul Hartman
@ 2011-06-10 21:55                     ` Mick
  0 siblings, 0 replies; 38+ messages in thread
From: Mick @ 2011-06-10 21:55 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 596 bytes --]

On Friday 10 Jun 2011 22:42:21 Paul Hartman wrote:
> On Fri, Jun 10, 2011 at 4:34 PM, Mick <michaelkintzios@gmail.com> wrote:
> > Not here:
> > 
> > # eselect bashcomp list
> > Available completions:
> >  [1]   gdbus
> >  [2]   gsettings
> > 
> > # eselect bashcomp enable eselect
> > !!! Error: /usr/share/bash-completion/eselect doesn't exist
> 
> Looks like maybe you didn't have the bash-completion USE flag set when
> you emerged the eselect package.

Yes, that's why nothing more comes up in the list.  I was about to post this 
but you beat me to it!
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* [gentoo-user] RE: Kernel Modules
@ 2011-06-11  1:35 Pandu Poluan
  2011-06-11  2:14 ` Dale
  2011-06-13 12:43 ` YoYo Siska
  0 siblings, 2 replies; 38+ messages in thread
From: Pandu Poluan @ 2011-06-11  1:35 UTC (permalink / raw
  To: gentoo-user

-original message-
Subject: Re: [gentoo-user] Re: Kernel Modules
From: Dale <rdalek1967@gmail.com>
Date: 2011-06-11 03:05

>I notice a really long list of things when I do this:
>
>eselect bashcomp list
>
>Is there a way to just enable them all?  Is there some that should NOT 
>be enabled, maybe for good reason?

Personally, I do some cherry-picking and enable a bashcomp when I found out I need it. I have 2 concerns (which may or may not be true):

1. It will make bash (or the whole system) slower

2. For some commands I *might* want the standard completion

That results in a short list of 'essential' bashcomps that I enable this way:

for m in $ESSENTIAL_BASHCOMP; do eselect bashcomp enable $m; done

Shove that line (prepended by ESSENTIAL_BASHCOMP) into a script, save the script somewhere safe and retrievable, and everytime I need to enable the bashcomp modules, I'll just download the script and execute it :)

Rgds,
--
FdS Pandu E Poluan
~ IT Optimizer ~

Sent from Nokia E72-1





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

* Re: [gentoo-user] RE: Kernel Modules
  2011-06-11  1:35 Pandu Poluan
@ 2011-06-11  2:14 ` Dale
  2011-06-13 12:43 ` YoYo Siska
  1 sibling, 0 replies; 38+ messages in thread
From: Dale @ 2011-06-11  2:14 UTC (permalink / raw
  To: gentoo-user

Pandu Poluan wrote:
> Personally, I do some cherry-picking and enable a bashcomp when I found out I need it. I have 2 concerns (which may or may not be true):
>
> 1. It will make bash (or the whole system) slower
>
> 2. For some commands I *might* want the standard completion
>
> That results in a short list of 'essential' bashcomps that I enable this way:
>
> for m in $ESSENTIAL_BASHCOMP; do eselect bashcomp enable $m; done
>
> Shove that line (prepended by ESSENTIAL_BASHCOMP) into a script, save the script somewhere safe and retrievable, and everytime I need to enable the bashcomp modules, I'll just download the script and execute it :)
>
> Rgds,
> --
> FdS Pandu E Poluan
> ~ IT Optimizer ~
>
> Sent from Nokia E72-1
>
>    

So far, I'm just enjoying not having to type so much.  I'm not a great 
typer anyway so the less I have to do the better.

If I run into something that I don't want bash completion on, I can 
always disable it.  The man page tells how to do that but doesn't have a 
enable all option.

Since I have a quad core 3.2Ghz machine, I'm not to worried about 
speed.  I actually can't tell any difference, at least so far.  I may 
not do this on my old x86 rig tho.  It's a single 2500+ CPU and IDE 
drives.  That may slow things down there.

Thanks for sharing tho.  I'll keep that in mind when I mess with my old 
rig.

Dale

:-)  :-)



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

* Re: [gentoo-user] RE: Kernel Modules
  2011-06-11  1:35 Pandu Poluan
  2011-06-11  2:14 ` Dale
@ 2011-06-13 12:43 ` YoYo Siska
  1 sibling, 0 replies; 38+ messages in thread
From: YoYo Siska @ 2011-06-13 12:43 UTC (permalink / raw
  To: gentoo-user

On Sat, Jun 11, 2011 at 08:35:52AM +0700, Pandu Poluan wrote:
> -original message-
> Subject: Re: [gentoo-user] Re: Kernel Modules
> From: Dale <rdalek1967@gmail.com>
> Date: 2011-06-11 03:05
> 
> >I notice a really long list of things when I do this:
> >
> >eselect bashcomp list
> >
> >Is there a way to just enable them all?  Is there some that should NOT 
> >be enabled, maybe for good reason?
> 
> Personally, I do some cherry-picking and enable a bashcomp when I found out I need it. I have 2 concerns (which may or may not be true):
> 
> 1. It will make bash (or the whole system) slower

well, only when you are hitting tab ... ;)
I know it can be annoying to have to wait a long time when you
accidentally hit tab on a "complex" command..., but when you know how to
do the explicit filename only completion...

> 
> 2. For some commands I *might* want the standard completion

meta-/ (or  ESC then /) for the complete-filename, there are also others
for some other things (variable, username...)
man bash
/Completing


yoyo




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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-10 20:31                       ` Paul Hartman
  2011-06-10 20:55                         ` Dale
@ 2011-06-15 16:07                         ` Peter Humphrey
  2011-06-15 16:25                           ` Neil Bothwick
  1 sibling, 1 reply; 38+ messages in thread
From: Peter Humphrey @ 2011-06-15 16:07 UTC (permalink / raw
  To: gentoo-user

On Friday 10 June 2011 21:31:15 Paul Hartman wrote:

> ( shopt -s extglob; eselect bashcomp list | while read -r s; do
> s="${s##*][[:space:]]}"; [[ $s != Available* ]] && eselect bashcomp
> enable --global "${s%%?([[:space:]]\\*)}"; done )

I'd like to use this but I don't have shopt. Which package is it in? If I 
ask Google I get a list of places to buy T-shirts.

-- 
Rgds
Peter



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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-09 20:44               ` Mick
@ 2011-06-15 16:10                 ` Peter Humphrey
  0 siblings, 0 replies; 38+ messages in thread
From: Peter Humphrey @ 2011-06-15 16:10 UTC (permalink / raw
  To: gentoo-user

On Thursday 09 June 2011 21:44:19 Mick wrote:

> I had to memorise that because it kept popping up every time I would run
> emerge (and couldn't be bothered to run eselect at the time). So it is:
> 
>   eselect news read new

Or just "eselect news read".

I found that while messing about trying to find out why one box listed news 
items oldest-first and the others newest-first. Never did find out.

-- 
Rgds
Peter



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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-15 16:07                         ` Peter Humphrey
@ 2011-06-15 16:25                           ` Neil Bothwick
  2011-06-15 18:05                             ` Peter Humphrey
  0 siblings, 1 reply; 38+ messages in thread
From: Neil Bothwick @ 2011-06-15 16:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

On Wed, 15 Jun 2011 17:07:01 +0100, Peter Humphrey wrote:

> I'd like to use this but I don't have shopt. Which package is it in? If
> I ask Google I get a list of places to buy T-shirts.

It's a Bash built-in.


-- 
Neil Bothwick

Things are more like they are today than they ever have been before.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] Re: Kernel Modules
  2011-06-15 16:25                           ` Neil Bothwick
@ 2011-06-15 18:05                             ` Peter Humphrey
  2011-06-16  7:14                               ` [gentoo-user] " Stroller
  0 siblings, 1 reply; 38+ messages in thread
From: Peter Humphrey @ 2011-06-15 18:05 UTC (permalink / raw
  To: gentoo-user

On Wednesday 15 June 2011 17:25:23 Neil Bothwick wrote:
> On Wed, 15 Jun 2011 17:07:01 +0100, Peter Humphrey wrote:
> > I'd like to use this but I don't have shopt. Which package is it in? If
> > I ask Google I get a list of places to buy T-shirts.
> 
> It's a Bash built-in.

Hmm. It seems that the command from the Wiki can't be run as an ordinary 
user via sudo; that's what was causing the errors that made me think shopt 
was not on the system - I got "syntax error near unexpected token `shopt' "

Thanks.

-- 
Rgds
Peter



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

* Re: [gentoo-user] Kernel Modules
  2011-06-15 18:05                             ` Peter Humphrey
@ 2011-06-16  7:14                               ` Stroller
  0 siblings, 0 replies; 38+ messages in thread
From: Stroller @ 2011-06-16  7:14 UTC (permalink / raw
  To: gentoo-user


On 15 June 2011, at 19:05, Peter Humphrey wrote:

> On Wednesday 15 June 2011 17:25:23 Neil Bothwick wrote:
>> On Wed, 15 Jun 2011 17:07:01 +0100, Peter Humphrey wrote:
>>> I'd like to use this but I don't have shopt. Which package is it in? If
>>> I ask Google I get a list of places to buy T-shirts.
>> 
>> It's a Bash built-in.
> 
> Hmm. It seems that the command from the Wiki can't be run as an ordinary 
> user via sudo; …

Did you try: 
  sudo bash -c 'whatever'
?

Personally, I haven't used Gentoo's bash completion since 2009.
http://www.gossamer-threads.com/lists/gentoo/user/189292

I don't really feel that I can trust it. 

Stroller.






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

end of thread, other threads:[~2011-06-16  8:07 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-09 10:52 [gentoo-user] Kernel Modules Ignas Anikevicius
2011-06-09 11:06 ` YoYo Siska
2011-06-09 11:06 ` Alan McKinnon
2011-06-09 12:12   ` Ignas Anikevicius
2011-06-09 17:32     ` [gentoo-user] " Nikos Chantziaras
2011-06-09 18:18       ` Alan McKinnon
2011-06-09 18:52         ` Bill Longman
2011-06-09 19:06           ` Alan McKinnon
2011-06-10  9:49           ` Nikos Chantziaras
2011-06-10 17:41             ` Dale
     [not found]               ` <BANLkTinmmzhzXXJ6Sq1pSTGtM5prJ7dq3Q@mail.gmail.com>
2011-06-10 19:08                 ` Dale
2011-06-10 19:46                   ` Nikos Chantziaras
2011-06-10 20:05                     ` Dale
2011-06-10 20:31                       ` Paul Hartman
2011-06-10 20:55                         ` Dale
2011-06-15 16:07                         ` Peter Humphrey
2011-06-15 16:25                           ` Neil Bothwick
2011-06-15 18:05                             ` Peter Humphrey
2011-06-16  7:14                               ` [gentoo-user] " Stroller
2011-06-10 20:38                   ` [gentoo-user] " Paul Hartman
2011-06-10 21:34                 ` Mick
2011-06-10 21:42                   ` Paul Hartman
2011-06-10 21:55                     ` Mick
2011-06-09 19:03         ` Dale
2011-06-09 19:37           ` Alan McKinnon
2011-06-09 19:44             ` YouTube Support
2011-06-09 20:23               ` [gentoo-user] Re: umm, google.... WAS: " Alan McKinnon
2011-06-09 21:05                 ` Dale
2011-06-09 20:06             ` [gentoo-user] " Paul Hartman
2011-06-09 20:44               ` Mick
2011-06-15 16:10                 ` Peter Humphrey
2011-06-09 11:37 ` [gentoo-user] " Volker Armin Hemmann
  -- strict thread matches above, loose matches on Subject: below --
2011-06-10  1:41 [gentoo-user] " Pandu Poluan
2011-06-10 14:22 ` Paul Hartman
2011-06-10 19:05 Pandu Poluan
2011-06-11  1:35 Pandu Poluan
2011-06-11  2:14 ` Dale
2011-06-13 12:43 ` YoYo Siska

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