On Wed, Oct 16, 2002 at 10:06:16AM -0700, Bob George wrote:
> I have two systems running dwww with apache. On one, man pages display 
> nicely, but on the other I get what appear to be ANSI codes for bold and 
> other formatting. On the system with the broken display, I also 
> installed man2html, and pages appear properly there. I've gone through 
> and installed anything remotely sounding like text-to-html or similar, 
> but am having no luck. Are there specific packages I should look for, 
> other than those listed on the .deb page?

Check that /etc/groff/man.local and /etc/groff/mdoc.local are in sync on
the two machines. You want the versions that look like this:

.\" This file is loaded after an-old.tmac.
.\" Put any local modifications to an-old.tmac here.
.
.if n \{\
.  \" Debian: Map \(oq to ' rather than ` in nroff mode for devices other
.  \" than utf8.
.  if !'\*[.T]'utf8' \
.    tr \[oq]'
.
.  \" Debian: Disable the use of SGR (ANSI colour) escape sequences by
.  \" grotty.
.  if '\V[GROFF_SGR]'' \
.    output x X tty: sgr 0
.
.  \" Debian: Map \- to the Unicode HYPHEN-MINUS character, to make
.  \" searching in man pages easier.
.  if '\*[.T]'utf8' \
.    char \- \N'45'
.\}

-- 
Colin Watson                                  [[EMAIL PROTECTED]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to