Jason McIntyre wrote: > On Sat, Sep 30, 2006 at 08:35:52PM +0159, Han Boetes wrote: > > > > BTW on the Linux version of nroff I get this: > > > > ~% nroff -Tascii -mandoc nfs/spamprobe.1 > /dev/null > > Usage: Ta must follow column entry: e.g. > > .It column_string [Ta [column_string ...]] (#473) > > > > Those are useful error messages, how do I enable them with OpenBSD > > nroff? > > > > i'm not sure it's a case of enabling error messages...more like it > depends which version of groff you run. i think newer versions of groff > are a bit better at error reporting (well, 1% less obscure).
I never noticed any errormessages with the OpenBSD version. Here is some output which I created from some of the .1 manpages. Is this useful to you? ~/nfs/manpage% grep '.*' *.log cvs.1.log:cvs.1:1732: warning: numeric expression expected (got `l') intro.1.log:intro.1:33: you can only invoke a string or macro using \* klog.1.log:mdoc warning: A .Bl directive has no matching .El (#159) klog.1.log:mdoc warning: extraneous .El call (#179) readelf.1.log:readelf.1:151: warning [p 1, 3.8i]: cannot adjust line readelf.1.log:readelf.1:300: warning [p 2, 9.7i, div `an-div', 0.0i]: cannot adjust line readelf.1.log:readelf.1:300: warning [p 2, 9.7i]: cannot adjust line --- klog.1.orig 2006-10-01 00:38:18.578108000 +0200 +++ klog.1 2006-10-01 00:39:11.406110000 +0200 @@ -156,6 +156,7 @@ a better choice of name) .Pp .It Fl help Prints out a help message. +.El .Sh EXIT STATUS .Nm returns with exit status 0 (true) if and only if a Kerberos 4 TGT was @@ -176,7 +177,6 @@ figure out the proper AFSId to use. As f the output of the \fBtokens\fP program. .Pp The minimum token lifetime is 5 minutes. -.El .Sh SEE ALSO .Xr aklog 1 , .Xr kauth 1 , # Han