Re: [PATCH] cwmrc.5: rename autogroup parameter

2012-10-30 Thread Kent R. Spillner
Hey, dude- On Sun, Oct 28, 2012 at 04:14:07PM -0400, Okan Demirmen wrote: A slightly altered version of your diff was applied -thanks! Cool, thanks! I noticed you and jmc@ removed the .Xr XClassHint 3 pointer. What do you think about the addition below? Basically, I was really confused at

Re: cwm reload support

2012-10-30 Thread Antoine Jacoutot
On Mon, Oct 29, 2012 at 07:32:16PM -0400, Okan Demirmen wrote: will anyone miss reload support? one can always re-exec cwm, or any other wm for a matter of fact. I use it often, but if there is another way to achieve the same thing, I won't cry over it. Index: calmwm.h

Re: cwm reload support

2012-10-30 Thread Kent R. Spillner
Hey, dude- will anyone miss reload support? one can always re-exec cwm, or any other wm for a matter of fact. I use it every once in a while, but I won't miss it. Out of curiousity, though, what's the motivation? Too many hacks for handling config changes that should be visible on the

Re: [PATCH] group.c: group_autogroup looks for best match

2012-10-30 Thread Kent R. Spillner
Hey, dude- Below is a new diff which only sets no if class matches and name is NULL or if class and name both match. Since we must explicitly check for name == NULL I decided to also go ahead and skip setting no if any previous class-only matches were found. It's too bad the

Re: cwm reload support

2012-10-30 Thread Thomas Pfaff
On Mon, 29 Oct 2012 19:32:16 -0400 Okan Demirmen o...@demirmen.com wrote: will anyone miss reload support? one can always re-exec cwm, or any other wm for a matter of fact. I use this function once in a while but sure, I can always restart cwm. You remove a bit of code here which is more

Re: cwm reload support

2012-10-30 Thread Alexander Polakov
* Okan Demirmen o...@demirmen.com [121030 04:10]: will anyone miss reload support? one can always re-exec cwm, or any other wm for a matter of fact. I don't know the keybinding for it. It's useless :-) -- Alexander Polakov | plhk.ru

Re: cwm reload support

2012-10-30 Thread Stuart Henderson
On 2012/10/29 19:32, Okan Demirmen wrote: will anyone miss reload support? one can always re-exec cwm, or any other wm for a matter of fact. yes - I use this when I've updated the config file - re-exec would be ok because the window groups etc are memorized between instances, but I'd quite

Goodbye to you my file descriptor

2012-10-30 Thread rustyBSD
MMmhh... == /usr/src/usr.bin/mg/dired.c == Go look the line 729: if ((fopen(dname,r)) == NULL) { ... Now you can cry

Re: Goodbye to you my file descriptor

2012-10-30 Thread Christiano F. Haesbaert
On 30 October 2012 14:36, rustyBSD rusty...@gmx.fr wrote: MMmhh... == /usr/src/usr.bin/mg/dired.c == Go look the line 729: if ((fopen(dname,r)) == NULL) { ... Now you can cry What is your point ?

Re: Goodbye to you my file descriptor

2012-10-30 Thread Christiano F. Haesbaert
On 30 October 2012 14:58, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 14:36, rustyBSD rusty...@gmx.fr wrote: MMmhh... == /usr/src/usr.bin/mg/dired.c == Go look the line 729: if ((fopen(dname,r)) == NULL) { ... Now you can cry What is your

Re: Goodbye to you my file descriptor

2012-10-30 Thread Mike Belopuhov
On Tue, Oct 30, 2012 at 2:58 PM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 14:36, rustyBSD rusty...@gmx.fr wrote: MMmhh... == /usr/src/usr.bin/mg/dired.c == Go look the line 729: if ((fopen(dname,r)) == NULL) { ... Now you can cry What is

Re: Goodbye to you my file descriptor

2012-10-30 Thread Christiano F. Haesbaert
On 30 October 2012 15:00, Mike Belopuhov m...@belopuhov.com wrote: On Tue, Oct 30, 2012 at 2:58 PM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 14:36, rustyBSD rusty...@gmx.fr wrote: MMmhh... == /usr/src/usr.bin/mg/dired.c == Go look the line 729: if

Re: cwm reload support

2012-10-30 Thread Alexander Polakov
* Alexander Polakov p...@sdf.org [121030 14:40]: * Okan Demirmen o...@demirmen.com [121030 04:10]: will anyone miss reload support? one can always re-exec cwm, or any other wm for a matter of fact. I don't know the keybinding for it. It's useless :-) It seems people do really use that.

Re: Goodbye to you my file descriptor

2012-10-30 Thread Christiano F. Haesbaert
On 30 October 2012 15:03, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 15:00, Mike Belopuhov m...@belopuhov.com wrote: On Tue, Oct 30, 2012 at 2:58 PM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 14:36, rustyBSD rusty...@gmx.fr wrote:

Re: cwm reload support

2012-10-30 Thread Okan Demirmen
On Tue 2012.10.30 at 18:27 +0400, Alexander Polakov wrote: * Alexander Polakov p...@sdf.org [121030 14:40]: * Okan Demirmen o...@demirmen.com [121030 04:10]: will anyone miss reload support? one can always re-exec cwm, or any other wm for a matter of fact. I don't know the

Re: Goodbye to you my file descriptor

2012-10-30 Thread Okan Demirmen
On Tue, Oct 30, 2012 at 10:32 AM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 15:03, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 15:00, Mike Belopuhov m...@belopuhov.com wrote: On Tue, Oct 30, 2012 at 2:58 PM, Christiano F. Haesbaert

Re: Goodbye to you my file descriptor

2012-10-30 Thread Christiano F. Haesbaert
On 30 October 2012 16:45, Okan Demirmen o...@demirmen.com wrote: On Tue, Oct 30, 2012 at 10:32 AM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 15:03, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 15:00, Mike Belopuhov

Re: Goodbye to you my file descriptor

2012-10-30 Thread Christiano F. Haesbaert
On 30 October 2012 16:52, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 16:45, Okan Demirmen o...@demirmen.com wrote: On Tue, Oct 30, 2012 at 10:32 AM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 15:03, Christiano F. Haesbaert

Re: Goodbye to you my file descriptor

2012-10-30 Thread Okan Demirmen
On Tue, Oct 30, 2012 at 11:53 AM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 16:52, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 16:45, Okan Demirmen o...@demirmen.com wrote: On Tue, Oct 30, 2012 at 10:32 AM, Christiano F. Haesbaert

Re: Goodbye to you my file descriptor

2012-10-30 Thread Christiano F. Haesbaert
On 30 October 2012 16:57, Okan Demirmen o...@demirmen.com wrote: On Tue, Oct 30, 2012 at 11:53 AM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 16:52, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 16:45, Okan Demirmen o...@demirmen.com

Re: Goodbye to you my file descriptor

2012-10-30 Thread William Ahern
On Tue, Oct 30, 2012 at 11:57:05AM -0400, Okan Demirmen wrote: On Tue, Oct 30, 2012 at 11:53 AM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 16:52, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 30 October 2012 16:45, Okan Demirmen o...@demirmen.com

Re: Goodbye to you my file descriptor

2012-10-30 Thread rustyBSD
Le 30/10/2012 15:32, Christiano F. Haesbaert a écrit : That should be an access(2) call. Yes.Something like this - also moved len to size_t, as strlen() is size_t: --- dired.cWed Mar 14 14:56:35 2012 +++ dired.cTue Oct 30 16:23:00 2012 @@ -724,9 +724,10 @@ dired_(char *dname) {

ix(4): remove unused flow director code

2012-10-30 Thread Mike Belopuhov
Hi, Flow director is described as a large number of flow affinity filters that direct receive packets by their flows to queues for classification, load balancing, and matching between flows and CPU cores. As we don't support anything like this the code (that is still compiled in but is not

Re: cwm reload support

2012-10-30 Thread Janne Johansson
2012/10/30 Okan Demirmen o...@demirmen.com: will anyone miss reload support? one can always re-exec cwm, or any other wm for a matter of fact. I use cwm and will not miss reload. -- To our sweethearts and wives. May they never meet. -- 19th century toast

Re: SIIG 4S PCIe 4-port Serial Card

2012-10-30 Thread William Ahern
On Fri, Oct 19, 2012 at 10:54:33PM +0100, Stuart Henderson wrote: snip My original mail about the chip (including diff) is at http://marc.info/?l=openbsd-techm=126446213208560w=2, there is some problem I was unable to track down which prevents things from working when the port is set to the

Re: cwm reload support

2012-10-30 Thread Kent R. Spillner
Hey, dude- It seems people do really use that. How about this diff? In short: do u_exec(cwm) in conf_reload(). This should probably be u_exec(somewhere-argv0-is-saved). or use __progname ; also rename from 'reload' to 'restart' I like this approach a lot. Here's an update which also

Re: In need of faster boxes

2012-10-30 Thread Dorian Büttner
Would someone be able to host 2 2U machines? I could provide IBM X3650 M2 (Type code 7947) machines. 146Gig disks only, therefore some add'l RAM in exchange. 2 quad core Nehalems (2.9G) and red pwr. If interested, I'd not complain if shipping could be funded? Am 27.10.2012 10:49, schrieb Marc

Re: bgpd filter and reload diff

2012-10-30 Thread Claudio Jeker
On Sun, Oct 28, 2012 at 01:26:42PM +0100, Claudio Jeker wrote: On Sat, Oct 13, 2012 at 08:40:35PM +0200, Claudio Jeker wrote: Hi, this is the first step in making bgpd faster and non locking on reloads. The filters are now split into input and output chains. The input chains are also

Re: cwm reload support

2012-10-30 Thread Kent R. Spillner
Howdy- It seems people do really use that. How about this diff? In short: do u_exec(cwm) in conf_reload(). This should probably be u_exec(somewhere-argv0-is-saved). or use __progname ; also rename from 'reload' to 'restart' I like this approach a lot. Here's an update which also

[PATCH] cwm: function menu

2012-10-30 Thread Kent R. Spillner
Howdy- Here is an initial attempt at adding a menu for searching/executing internal functions. It's useful for those times you want to an unbound function, and even when the function is bound to some key combo you haven't memorized yet it can be faster than looking up the keybinding in the