Re: Small pgrep/pkill enhancement

2011-06-11 Thread Otto Moerbeek
On Sat, Jun 11, 2011 at 07:33:51PM -0700, Philip Guenther wrote: > On Sat, Jun 11, 2011 at 7:19 PM, Ted Unangst wrote: > > Funny enough, when pkill was first added I added an option to confirm > > each kill. Guess what letter it used? That's right, -i, modeled > > after rm. > > "Confirm each k

Re: Small pgrep/pkill enhancement

2011-06-11 Thread Philip Guenther
On Sat, Jun 11, 2011 at 7:19 PM, Ted Unangst wrote: > Funny enough, when pkill was first added I added an option to confirm > each kill. Guess what letter it used? That's right, -i, modeled > after rm. "Confirm each kill"? Ah, that's the option to follow up each kill with a SIGKILL between the

Re: Small pgrep/pkill enhancement

2011-06-11 Thread Ted Unangst
On Sat, Jun 11, 2011 at 6:15 PM, Benny Lofgren wrote: >> Hmmm. Two of (arguably) the four best known BSD distributions have it. >> The idea of -i meaning case insensitivity is there already in other (1) >> commands, so I'd say it makes sense to add. >> >> From a practical standpoint, I'm all for

Re: En/disabling power button shutdown

2011-06-11 Thread gilbert . fernandes
On Sat, Jun 11, 2011 at 11:01:20PM +0200, Marc Espie wrote: > One knob for the dwarfen guys that work in the IT mines, to bind the machines > and rule them all. And under the Linux kernel undefined constants, bind them !

Re: wildcards in changelist(5)

2011-06-11 Thread Andrew Fresh
On Sat, Jun 11, 2011 at 07:55:25PM +0200, Ingo Schwarze wrote: > some time ago, mk@ and matthew@ discovered a regression in security(8): > Our rewrite killed changelist(5) wildcard support. Yes it did. > I think we should put it back, the changelist(5) manual explicitly > documents the feature.

Re: Small pgrep/pkill enhancement

2011-06-11 Thread Christiano F. Haesbaert
Wrong thread :( On 11 June 2011 19:24, Christiano F. Haesbaert wrote: > The cleaner sometimes accidentaly pushes the power button of one of my > machines. > > So +1.

Re: Small pgrep/pkill enhancement

2011-06-11 Thread Christiano F. Haesbaert
The cleaner sometimes accidentaly pushes the power button of one of my machines. So +1.

Re: Small pgrep/pkill enhancement

2011-06-11 Thread Benny Lofgren
On 2011-06-11 23.07, STeve Andre' wrote: >> NetBSD has that since March 2005 (committed by sketch@). >> FreeBSD copied it from NetBSD a few days later. >> procps.cvs.sourceforge.net (used e.g. in Debian) does not have -i. >> OpenSolaris does not have -i. >> >> So I'd say we shouldn't add it. >> >>

Re: Small pgrep/pkill enhancement

2011-06-11 Thread STeve Andre'
On 06/11/11 16:44, Ingo Schwarze wrote: Hi, Jonathan Perkin wrote on Tue, May 17, 2011 at 11:02:05PM +0100: Add -i to ignore case when matching process name It seems nobody picked this up, so i had a look at it. NetBSD has that since March 2005 (committed by sketch@). FreeBSD copied it from

Re: En/disabling power button shutdown

2011-06-11 Thread Marc Espie
On Sat, Jun 11, 2011 at 09:06:05PM +0200, gilbert.fernan...@orange.fr wrote: > One knob to be able to turn it on so when you're working > on a machine, and console dies, to be able to shutdown > properly and avoid a fsck. One knob for the dwarfen guys that work in the IT mines, to bind the machine

Re: Small pgrep/pkill enhancement

2011-06-11 Thread Jonathan Perkin
* On 2011-06-11 at 21:44 BST, Ingo Schwarze wrote: > Jonathan Perkin wrote on Tue, May 17, 2011 at 11:02:05PM +0100: > > > Add -i to ignore case when matching process name > > It seems nobody picked this up, so i had a look at it. > > NetBSD has that since March 2005 (committed by sketch@). Ri

Re: Small pgrep/pkill enhancement

2011-06-11 Thread Ingo Schwarze
Hi, Jonathan Perkin wrote on Tue, May 17, 2011 at 11:02:05PM +0100: > Add -i to ignore case when matching process name It seems nobody picked this up, so i had a look at it. NetBSD has that since March 2005 (committed by sketch@). FreeBSD copied it from NetBSD a few days later. procps.cvs.sourc

re(4) fixes for RTL8105E/RTL8401E and RTL8168E VL chipsets.

2011-06-11 Thread Brad
With this commit.. CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2011/04/14 15:06:38 Modified files: sys/dev/ic : re.c rtl81x9reg.h Log message: Add several additional adapter types and correct definition of RTL8103E, from FreeBSD. support was ad

Re: En/disabling power button shutdown

2011-06-11 Thread gilbert . fernandes
On Sat, Jun 11, 2011 at 03:00:10PM +, Christian Weisgerber wrote: > That leaves "avoid shutdown by accidentally brushing against the > button", but that isn't an issue in practice. A lot of people are using PCs as servers instead of real servers (with two power supplies and all the bell and w

Re: En/disabling power button shutdown

2011-06-11 Thread gilbert . fernandes
On Sat, Jun 11, 2011 at 10:58:17AM +0200, Mark Kettenis wrote: > Like I asked on icb, why do we need a knob for this at all? One knob to turn it off so when you have installed servers in a room, to avoid seeing one shutdown because you pressed the power button when moving one. To give you an exa

Re: En/disabling power button shutdown

2011-06-11 Thread Christian Weisgerber
Peter Hessler wrote: > :> Like I asked on icb, why do we need a knob for this at all? > > I have used this feature on a regular basis. Very useful when you want > to politely power off a system, but you don't have/don't want a login. You misunderstand. The question is, why do we need a knob t

wildcards in changelist(5)

2011-06-11 Thread Ingo Schwarze
Hi, some time ago, mk@ and matthew@ discovered a regression in security(8): Our rewrite killed changelist(5) wildcard support. I think we should put it back, the changelist(5) manual explicitly documents the feature. Comments? OKs? Yours, Ingo Index: security ===

Re: En/disabling power button shutdown

2011-06-11 Thread Ted Roby
On Sat, Jun 11, 2011 at 10:08 AM, Amit Kulkarni wrote: >> I have used this feature on a regular basis. Very useful when you want >> to politely power off a system, but you don't have/don't want a login. > > +1 > > especially when i am trying off and on to make my xorg.conf work in > dual monitor

Re: En/disabling power button shutdown

2011-06-11 Thread Amit Kulkarni
> I have used this feature on a regular basis. Very useful when you want > to politely power off a system, but you don't have/don't want a login. +1 especially when i am trying off and on to make my xorg.conf work in dual monitor setup for months, and it hangs. And pressing the power button for

Re: En/disabling power button shutdown

2011-06-11 Thread Peter Hessler
On 2011 Jun 11 (Sat) at 15:00:10 + (+), Christian Weisgerber wrote: :Mark Kettenis wrote: : :> Like I asked on icb, why do we need a knob for this at all? : :I don't need one. I'd be just as happy to simply rip out :machdep.kbdreset where it's currently abused for that purpose. : :* If yo

Re: En/disabling power button shutdown

2011-06-11 Thread Christian Weisgerber
Mark Kettenis wrote: > Like I asked on icb, why do we need a knob for this at all? I don't need one. I'd be just as happy to simply rip out machdep.kbdreset where it's currently abused for that purpose. * If you press one of these soft power buttons a little bit longer, they typically shut o

Re: En/disabling power button shutdown

2011-06-11 Thread Mark Kettenis
Like I asked on icb, why do we need a knob for this at all?