From owner-freebsd-current@FreeBSD.ORG Sun Aug 14 19:24:29 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF1A41065672 for ; Sun, 14 Aug 2011 19:24:29 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id A35F98FC15 for ; Sun, 14 Aug 2011 19:24:29 +0000 (UTC) Received: from julian-mac.elischer.org (home-nat.elischer.org [67.100.89.137]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id p7EJ8Lgs055062 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 14 Aug 2011 12:08:22 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <4E481D29.8020600@freebsd.org> Date: Sun, 14 Aug 2011 12:08:25 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Robert Watson References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: nroff -mandoc | more no longer works X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2011 19:24:29 -0000 I also use this line for testing man page edits. It will be a very sad thing if it's been broken in 9.0. On 8/14/11 8:29 AM, Robert Watson wrote: > > I'm guessing this relates to nroff/groff tweaks, but I was a bit > unhappy to learn that the command I've used for the last decade to > render man pages while editing them (nroff -mandoc foo.1 | more) no > longer works (output below). > > It seems likely this has to do with teaching groff to use ANSI > escape codes that more, by default, rejects. I'm aware there are > lots of other command lines I could use, but it seems unfortunate > that this is broken -- possibly more should accept more escape codes > in its default configuration, or nroff should generate fewer of them? > > (I'd love to see this fixed for 9.0) > > Robert N M Watson > Computer Laboratory > University of Cambridge > > > robert@cinnamon-freebsd:/usr/src/lib/libc/sys> nroff -mandoc dup.2 | > more > DUP(2) FreeBSD System Calls > Manual DUP(2) > > ESC[1mNAMEESC[0m > ESC[1mdupESC[22m, ESC[1mdup2 ESC[22m-- duplicate an existing > file descriptor > > ESC[1mLIBRARYESC[0m > Standard C Library (libc, -lc) > > ESC[1mSYNOPSISESC[0m > ESC[1m#include ESC[0m > > ESC[4mintESC[0m > ESC[1mdupESC[22m(ESC[4mintESC[24m ESC[4molddESC[24m); > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" >