From owner-freebsd-hackers Thu Aug 8 08:48:31 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA15160 for hackers-outgoing; Thu, 8 Aug 1996 08:48:31 -0700 (PDT) Received: from linux.local.net (sansig@line08.globalnet.it [194.185.53.40]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA15150 for ; Thu, 8 Aug 1996 08:48:22 -0700 (PDT) Received: from localhost (sansig@localhost) by linux.local.net (8.7.5/8.6.9) with SMTP id RAA05546 for ; Thu, 8 Aug 1996 17:47:50 +0200 X-Authentication-Warning: linux.local.net: sansig owned process doing -bs Date: Thu, 8 Aug 1996 17:47:50 +0200 (MET DST) From: Sandro Sigala X-Sender: sansig@linux.local.net To: freebsd-hackers@freebsd.org Subject: problem while writing *roff man page Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, i have a little problem writing a man page (Berkeley-style, mandoc) for a my program. This is the header. .Dd August 7, 1996 .Os .Dt CINFOC 1 .Sh NAME .Nm cinfoc .Nd cinfo database compiler .Sh SYNOPSIS .Nm cinfoc .Op Fl dV <------ This is the problem .Op Ar .Sh DESCRIPTION [..snip..] The problem is that 'dV' is defined as a macro by the mandoc macro package, so the *roff formatter doesn't print: SYNOPSIS cinfoc [-dV] [file ...] but some crap/garbage/stuff/... :-) like: SYNOPSIS cinfoc [-[]] [file ...] How to 'disable' the dV evaluation (need an escape like the '\' in C)? I tried those lines but are not the solution. .Op Fl \Dv .Op Fl 'Dv' .Op Fl "Dv' .... thanks in advance.