From owner-freebsd-doc Sun Aug 29 5:46:14 1999 Delivered-To: freebsd-doc@freebsd.org Received: from smtp05.wxs.nl (smtp05.wxs.nl [195.121.6.57]) by hub.freebsd.org (Postfix) with ESMTP id 26D8C15096; Sun, 29 Aug 1999 05:46:09 -0700 (PDT) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.225.214]) by smtp05.wxs.nl (Netscape Messaging Server 3.61) with ESMTP id AAC481E; Sun, 29 Aug 1999 14:44:19 +0200 Received: (from asmodai@localhost) by daemon.ninth-circle.org (8.9.3/8.9.3) id OAA49035; Sun, 29 Aug 1999 14:26:10 +0200 (CEST) (envelope-from asmodai) Date: Sun, 29 Aug 1999 14:26:10 +0200 From: Jeroen Ruigrok/Asmodai To: Mike Pritchard Cc: Alexey Zelkin , freebsd-doc@freebsd.org Subject: Re: Propose mdoc fix regarding ERRORS section Message-ID: <19990829142610.C47956@daemon.ninth-circle.org> References: <19990828212130.A6853@scorpion.crimea.ua> <199908282135.QAA00714@mpp.pro-ns.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.7i In-Reply-To: <199908282135.QAA00714@mpp.pro-ns.net> Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Mike Pritchard (mpp@FreeBSD.org) [990829 02:16]: >> On Sat, Aug 28, 1999 at 02:29:08AM -0500, Mike Pritchard wrote: >> > >> > I propose that we fix mdoc to allocate enough width when the second >> > form is specified, and then change all of the man pages to use that >> > format in the ERRORS section. > >> I think second way is better. I am going to remake my patch. >> As first step I did this patch. I used 15 because error name EADDRNOTAVAIL >> is longest error name I've found. (yes, I know that length is >> 13, but we also need some space between columns) > >The longest errno's are 15 characters in lenght (EPROTONOSUPPORT), >so Er should use width 17. I'll format some man pages using this >and see how they look. Btw, a question related to the mdoc consistency. Do we know where those spurious empty lines come from? Or is this a problem with {n|t|g}roff? The 17 char width for Er sounds good btw. -- Jeroen Ruigrok van der Werven asmodai(at)wxs.nl The BSD Programmer's Documentation Project Network/Security Specialist BSD: Technical excellence at its best Millions for defense but not one cent for tribute. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message