Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Documentation bug

Closed / Fixed1085127fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-12-14 14:02:55
The following manual pages:

    Tcl :    mann/lsearch.n 
    Tk:      mann/loadTk.n
    Tk:      mann/toplevel.n
 
each contain the following initial line:

    '\" -*- nroff -*-

This causes a formatting problem on current Solaris 9
systems (and probably other UNIX systems as well).  The
Solaris nroff(1) utility searches the first line of a
source file looking for a preprocessor command
character such as 'e'  (eqn), 't' (tbl), etc.  This
initial line is causing the following message to be
generated when catman(1) is run on the directory that
contains these files:

    unknown preprocessor specifier -
    unknown preprocessor specifier -
    unknown preprocessor specifier -

This is due to the initial '-' that appears after the
comment characters.  The rest of the line is ignored. 
While this feature is undocumented in the Solaris
nroff(1) manpage,  these files need to be fixed. 
Change the first line to be a simple comment as in:

    '\"

and the problem is resolved.

Please pass this info on to the Tk team if this was not
the proper place to report this.
dgp Ticket [1085127fff]: 1 change [History diff]2004-12-14 23:26:01
dkfplain2004-12-15 01:21:24
Logged In: YES 
user_id=79902

Oh God, I'd forgotten about that particular foul aspect of
some man implementations.
dkfplain2005-01-05 23:41:48
Logged In: YES 
user_id=79902

Fixed in HEAD; still to be fixed in 8.4 release branch
dkfplain2005-01-06 04:57:52
Logged In: YES 
user_id=79902

Fixed in 8.4 branch too.
Log in (anonymous is fine) to add a comment.