Bug 23585

Summary: proper preprocessors are not used for online manual formatting.
Product: Base System Reporter: akr <akr>
Component: binAssignee: ru <ru>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-RELEASE   
Hardware: Any   
OS: Any   

Description akr 2000-12-16 15:40:00 UTC
/usr/bin/man uses non-suitable preprocessor to format
/usr/X11R6/man/man3/XAllocColor.3.gz.  The first line of
XAllocColor.3 is follows.

  '\" e

This shows it should be processed by neqn. (cf. man(7))  But
/usr/bin/man uses tbl.  So, eqn directive is remained to formatted
text as `delim %%'.

In general, it seems that man command uses only tbl for compressed
manual entries.

How-To-Repeat: 
% man XAllocColor
...
       delim %% The XAllocColorCells function allocates
...
Comment 1 ru freebsd_committer freebsd_triage 2000-12-16 16:15:51 UTC
Responsible Changed
From-To: freebsd-bugs->ru

I will teach man(1) how to look inside compressed files.
Comment 2 ru freebsd_committer freebsd_triage 2000-12-22 19:05:41 UTC
State Changed
From-To: open->feedback

man(1) now looks inside compressed manuals for preprocessor directives: 

Revision  Changes    Path 
1.28      +11 -5     src/gnu/usr.bin/man/man/Makefile 
1.38      +47 -67    src/gnu/usr.bin/man/man/man.c
Comment 3 ru freebsd_committer freebsd_triage 2001-01-11 11:27:44 UTC
State Changed
From-To: feedback->closed

Fix MFC'ed into 4.2-STABLE.