Re: fold -b1 segmentation fault

2010-10-21 Thread Chris Palmer
> >Fix: > I don't really see what the author is intending to do in that case > statement where it breaks. Agreed. Handing arguments for -w is properly done in the 'w' case with optarg. Commenting out the digit cases gives the desired result: strawberry:/usr/src/usr.bin/fold ; ./fold -b1 usage: fo

Re: stat(1) -x option shows no setuid/setgid - patch

2010-10-02 Thread Chris Palmer
+1 LEVAI Daniel writes: > Index: stat.c > === > RCS file: /cvs/src/usr.bin/stat/stat.c,v > retrieving revision 1.16 > diff -p -u -r1.16 stat.c > --- stat.c1 Sep 2010 06:35:05 - 1.16 > +++ stat.c2 Oct 2010 17:35:17 -

Re: Minor clarifications for bioctl.8 and softraid.4

2010-09-12 Thread Chris Palmer
Jason McIntyre writes: > ok, my diff below tries to collect the various bits of feedback. stuff i > haven't taken: Thanks for doing this. > - delete -> detach, for reasons given by marco I'd still like to reconsider this. > - `` -> "; i don't think it's worth changing But it looks silly with

Re: Minor clarifications for bioctl.8 and softraid.4

2010-09-12 Thread Chris Palmer
Claudio Jeker writes: > Delete is a strong word. Does it mean that the RAID meta information is > deleted (and with it all data on the softraid volume) or does it just mean > that the softraid volume is removed from the kernel? > IMO the use of delete here is not a good choice. Right, exactly.

A tiny feature for mg(1): beginning-of-line

2010-09-12 Thread Chris Palmer
I have found this feature useful in other text editors. Maybe you will too? --- mg.1.orig Sun Sep 12 20:23:21 2010 +++ mg.1Sun Sep 12 20:24:36 2010 @@ -320,7 +320,8 @@ Move cursor backwards by the specified number of words .It beginning-of-buffer Move cursor to the top of the buffer.

Enable no-tab-mode in mg(1)

2010-09-12 Thread Chris Palmer
Although documented in the man page, mg is not compiled with -DNOTAB, so it isn't actually available. This patch fixes that. --- Makefile.orig Sun Sep 12 18:03:23 2010 +++ MakefileSun Sep 12 18:03:54 2010 @@ -12,8 +12,9 @@ DPADD+= ${LIBCURSES} # STARTUP -- look for a

Re: Minor clarifications for bioctl.8 and softraid.4

2010-09-12 Thread Chris Palmer
Jason McIntyre writes: > if correct, we can probably say: > > ...the algorithm used (PBKDF2) to convert... > but someone confirm, please. It's correct. Look at the bioctl source code, e.g. pbkdf2.[ch]. From bioctl.c: if (kdfhint->len != sizeof(*kdfhint)) errx(1, "KDF hin

Re: Minor clarifications for bioctl.8 and softraid.4

2010-09-12 Thread Chris Palmer
Thordur I Bjornsson writes: > > -Where necessary, produce "human-readable" output. > > +Where necessary, produce ``human-readable'' output. > > Why is this better ? (I'm not a native english speaker, so I'm genuinely > asking) It's not better per se; it's just consistent with the quote style in

Minor clarifications for bioctl.8 and softraid.4

2010-09-12 Thread Chris Palmer
I recently set up a CRYPTO volume with softraid(4) and enjoyed it. Thanks! Here are some hopefully-clarifying diffs to the man pages. --- bioctl.8.orig Sat Sep 11 19:55:27 2010 +++ bioctl.8Sun Sep 12 12:17:30 2010 @@ -119,7 +119,7 @@ promote it to being a .Dq Hot Spare . .It Fl h -W