bsdgrep status

2013-03-23 Thread Dominic Fandrey
In 2011 I substituted grep for bsdgrep in some of my more complex shell scripts and ran into some issues. Though there never was a reply to my e-mail these issues have evidently been fixed. I'm tempted to conclude that bsdgrep is ready for deployment. Apart from the performance standpoint. I repea

Re: sysctl way too slow

2010-07-14 Thread Dominic Fandrey
On 14/07/2010 13:49, Atom Smasher wrote: > http://smasher.org/tmp/zsh-bsd-sysctl-slow.png Why use a screen shot here? > is there a way to get this information that doesn't take so long? > > the same info is available on linux via /sys and /proc and on comparable > hardware, i can get the info ab

Re: head behaviour

2010-06-08 Thread Dominic Fandrey
On 08/06/2010 00:59, Brian Somers wrote: > On Mon, 07 Jun 2010 13:05:48 +0200, Dag-Erling Smørgrav wrote: >> Bakul Shah writes: >>> Except read doesn't do it quite right: >>> >>> $ ps | (read a; echo $a ; grep zsh) >>> PID TT STAT TIME COMMAND >> >> yeah, I forgot that it drops leading whi

Re: head behaviour

2010-06-05 Thread Dominic Fandrey
On 05/06/2010 23:37, Bakul Shah wrote: > On Sat, 05 Jun 2010 14:02:16 PDT Doug Barton wrote: > It would be less surprising and more useful if > > $ ps | (head -1; grep ssh) > > showed > > PID TT STAT TIME COMMAND > > > The change in head behaviour I am suggesting wouldn't

Re: Activate PCIe slot deactivated by BIOS

2010-05-26 Thread Dominic Fandrey
On 26/05/2010 22:52, Rui Paulo wrote: > On 26 May 2010, at 07:55, Dominic Fandrey wrote: > >> On 25/05/2010 13:57, Rui Paulo wrote: >>> On 22 May 2010, at 13:27, Dominic Fandrey wrote: >>> >>>> On 22/05/2010 13:47, Dominic Fandrey wrote: >>>&

Re: Activate PCIe slot deactivated by BIOS

2010-05-25 Thread Dominic Fandrey
On 25/05/2010 13:57, Rui Paulo wrote: > On 22 May 2010, at 13:27, Dominic Fandrey wrote: > >> On 22/05/2010 13:47, Dominic Fandrey wrote: >>> Today the card arrived and the BIOS complains (HP 6510b): >>> 104-Unsupported wireless network device detected. >&g

Re: Activate PCIe slot deactivated by BIOS

2010-05-22 Thread Dominic Fandrey
On 22/05/2010 13:47, Dominic Fandrey wrote: > Today the card arrived and the BIOS complains (HP 6510b): > 104-Unsupported wireless network device detected. > System halted. Remove device and restart. > > The system boots if I turn off the wireless device in BIOS, but

Activate PCIe slot deactivated by BIOS

2010-05-22 Thread Dominic Fandrey
My wpi wireless never was reliable, but since I upgraded to 8gb RAM it doesn't do anything (if I'm lucky) or panic my system. So, after some discussion on STABLE I followed the recommendation to get an Atheros card for 10$ on ebay. Today the card arrived and the BIOS complains (HP 6510b):

Re: proposed change to style(9): require yoda style if statements

2010-05-12 Thread Dominic Fandrey
On 12/05/2010 14:43, Dag-Erling Smørgrav wrote: > Dominic Fandrey writes: >> I think the pro-yoda faction actually has more convincing arguments, > > Which ones? Never seen any beyond the basic "helps avoid accidentally > typing = instead of ==". It's bollo

Re: proposed change to style(9): require yoda style if statements

2010-05-12 Thread Dominic Fandrey
On 11/05/2010 21:36, Eitan Adler wrote: > My proposal is simple: > require that any if statement that compares a constant to a mutable variable > be written as > if (constant == variable) > instead of > if (variable == constant) > > this prevents an extremely common programming error > if (variabl

Re: GSoC: Making ports work with clang

2010-05-03 Thread Dominic Fandrey
On 03/05/2010 12:38, "C. Bergström" wrote: > What's really the goal here? In my opinion it's about staying away from the GPLv3. According to my understanding of the situation, GPLv3 code is not accepted into the project and that means we're stuck with gcc 4.2, which has already reached its EOL. T

Re: GSoC: Making ports work with clang

2010-05-01 Thread Dominic Fandrey
Hello, On 01/05/2010 13:04, Andrius Morkūnas wrote: > I'm Andrius Morkūnas from Lithuania. My Summer of Code proposal was > accepted > this year and be working on my project, which is to make clang and ports to > be friendly with each other. I'm the maintainer of games/ioquake3 and games/ioquake3

Re: grep

2010-03-30 Thread Dominic Fandrey
On 30/03/2010 16:15, Mark nesterovych wrote: > Decided to write BSD licensed grep and provide it to FreeBSD project if > success. > But encountered with a problem, which I can resolve. > I looked through the gnu, OpenBSD sources and posix requirements to this > utility, and can't find a solution.

Re: nroff -man, .An Aq formatting

2010-03-23 Thread Dominic Fandrey
On 22/03/2010 02:20, Doug Barton wrote: > On 03/21/10 01:24, Dominic Fandrey wrote: >> It has come to my attention that whereas with LANG=C "nroff -man" >> formats ".An name Aq email" as "name ", it uses different >> characters with LANG=

Re: nroff -man, .An Aq formatting

2010-03-23 Thread Dominic Fandrey
On 22/03/2010 16:05, Christian Weisgerber wrote: > Dag-Erling Smørgrav wrote: > It has come to my attention that whereas with LANG=C "nroff -man" formats ".An name Aq email" as "name ", it uses different characters with LANG=en_GB.UTF-8 "name ⟨email⟩". These characters are app

dumping on a small swap partition

2010-03-22 Thread Dominic Fandrey
The swap partition of my notebook is only 4gb small, whereas the system has 8gb of RAM. Is there a way to convince the system of dumping despite this? The system panics quite often since I crossed the 4gb memory boundary and it never dumps. I think that a minidump should in most cases fit well int

Re: Unicode in Syscons: I'd like to go on

2010-03-21 Thread Dominic Fandrey
On 17/03/2010 15:34, Alexander Churanov wrote: > Hi folks! > > Some time ago I was initiating the work on syscons driver ( see > http://wiki.freebsd.org/SysconsUnicodeProject ), then was too busy and my > part of the work stalled for about a year. At present I am going to continue > working on thi

Re: nroff -man, .An Aq formatting

2010-03-21 Thread Dominic Fandrey
On 21/03/2010 11:02, Andriy Gapon wrote: > on 21/03/2010 10:24 Dominic Fandrey said the following: >> It has come to my attention that whereas with LANG=C "nroff -man" >> formats ".An name Aq email" as "name ", it uses different >> characters wit

nroff -man, .An Aq formatting

2010-03-21 Thread Dominic Fandrey
It has come to my attention that whereas with LANG=C "nroff -man" formats ".An name Aq email" as "name ", it uses different characters with LANG=en_GB.UTF-8 "name ⟨email⟩". These characters are appropriate, but a lot of unicode fonts don't seem to have them. Or else my terminal (rxvt-unicode) has

Re: Fw: request responsibility timeout

2009-02-03 Thread Dominic Fandrey
Mark Linimon wrote: > On Mon, Feb 02, 2009 at 05:17:38PM +0100, Dominic Fandrey wrote: >> I want to request a responsibility timeout for bin/120784 > > (with bugmeister hat) AFAIK no one else other than rodrigc has been > doing work on the mount utilities, so I don't know

Fw: request responsibility timeout

2009-02-02 Thread Dominic Fandrey
Mel wrote: > On Sunday 01 February 2009 07:48:46 Dominic Fandrey wrote: >> I want to request a responsibility timeout for bin/120784, I have >> submitted a patch matching the previously discussed criteria for >> a commit a couple of weeks ago and I would like to receive som

deflate and gzip support for libfetch over http

2008-06-30 Thread Dominic Fandrey
I wanted to benchmark a http-connection using fetch in a shell-script. I came to realize that fetch doesn't support compressed streams when I force-fed it the compressed stream by ignoring the absence of Accept-Encoding. This doesn't influence my benchmarking, but I think fetch should have this

Re: FreeBSD fusefs-kmod shutdown problem workaround

2008-06-24 Thread Dominic Fandrey
Kostik Belousov wrote: On Mon, Jun 23, 2008 at 02:41:29PM -0400, Zaphod Beeblebrox wrote: On Mon, Jun 23, 2008 at 2:41 AM, Dominic Fandrey <[EMAIL PROTECTED]> wrote: Thanks for the pointer. Unfortunately it seems that Csaba's patch only allows you to stall shutdown for 10 sec

Re: FreeBSD fusefs-kmod shutdown problem workaround

2008-06-23 Thread Dominic Fandrey
Anish Mistry wrote: On Sunday 22 June 2008, Dominic Fandrey wrote: I know these are desperate mesures, but the problem that fusefs doesn't write everything back to the disk before a shutdown is completed remains, because the rc script is often shot down by the shutdown watchdog. Hence I

making geom recognize cd changes

2008-01-21 Thread Dominic Fandrey
I'm trying to get geom to recognize atapi-cd changes in order to update the labels. I'm concentrating my efforts on src/sys/dev/ata/atapi-cd.c. I have tried to run acd_geom_attach and acd_geom_detach both directly and through the geom queue from acd_tray, but there is no effect. Something about my