Tk Library Source Code

View Ticket
Login
Ticket UUID: 500655
Title: man pages not formatted
Type: Bug Version: None
Submitter: pointsman Created on: 2002-01-08 00:10:24
Subsystem: None Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-01-12 05:44:30
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2002-01-11 22:44:30
Description:
On some systems (at least mine) the tcllib man pages
cannot be displayed with the normal 'man csv' command.

Instead the formatted page, only a lot of error
messages  showed up.

make install works smoothly.

man.macros is in place.

It seems, the problem is the inclusion of man.macros
into the tcllib man pages with the instruction
.so man.macros

If I copy the context of man.macros directly into the
man page and remove the '.so man.macros' instruction,
everything works.

The tcl core man pages have man.macros literaly
included and work smoothly. The inclusion is done by a
sed command during the installation process. Out of
Tcl8.3.4 Makefile on Linux (after ./configure):

        @echo "Installing command (.n) docs";
        @cd $(TOP_DIR)/doc; for i in *.n; \
            do \
            rm -f $(MANN_INSTALL_DIR)/$$i; \
            sed -e '/man\.macros/r man.macros' -e
'/man\.macros/d' \
                    $$i > $(MANN_INSTALL_DIR)/$$i; \
            chmod 444 $(MANN_INSTALL_DIR)/$$i; \
            done;

(see target install-doc).
User Comments: andreas_kupries added on 2002-01-12 05:44:30:
Logged In: YES 
user_id=75003

Committed to head.

andreas_kupries added on 2002-01-12 05:43:14:

File Added - 15914: 500655.diff

andreas_kupries added on 2002-01-12 05:43:13:
Logged In: YES 
user_id=75003

Enclosed the patch to fix this problem.

Attachments: