From wblock@wonkity.com  Wed May 11 00:48:17 2005
Return-Path: <wblock@wonkity.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B5BFE16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 May 2005 00:48:17 +0000 (GMT)
Received: from wonkity.com (wonkity.com [67.158.26.137])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2D1F043D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 May 2005 00:48:17 +0000 (GMT)
	(envelope-from wblock@wonkity.com)
Received: from speedy.wonkity.com (speedy [10.0.0.7])
	by wonkity.com (8.13.3/8.13.1) with ESMTP id j4B0mBmL021474
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 May 2005 18:48:16 -0600 (MDT)
	(envelope-from wblock@speedy.wonkity.com)
Received: from speedy.wonkity.com (localhost [127.0.0.1])
	by speedy.wonkity.com (8.13.3/8.13.1) with ESMTP id j4B0mBDd026258
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 May 2005 18:48:11 -0600 (MDT)
	(envelope-from wblock@speedy.wonkity.com)
Received: (from wblock@localhost)
	by speedy.wonkity.com (8.13.3/8.13.1/Submit) id j4B0mBxH026257;
	Tue, 10 May 2005 18:48:11 -0600 (MDT)
	(envelope-from wblock)
Message-Id: <200505110048.j4B0mBxH026257@speedy.wonkity.com>
Date: Tue, 10 May 2005 18:48:11 -0600 (MDT)
From: Warren Block <wblock@wonkity.com>
Reply-To: Warren Block <wblock@wonkity.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: terminfo(5) man page source corrupted
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         80871
>Category:       docs
>Synopsis:       terminfo(5) man page source corrupted
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 11 00:50:01 GMT 2005
>Closed-Date:    Sat Oct 14 19:52:03 GMT 2006
>Last-Modified:  Sat Oct 14 20:00:45 GMT 2006
>Originator:     Warren Block
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD speedy.wonkity.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon May 9 19:54:31 MDT 2005 root@speedy.wonkity.com:/usr/obj/usr/src/sys/SPEEDY i386

>Description:

Man page source for terminfo(5) (/usr/share/man/man5/terminfo.5.gz) is corrupt.  Looks to be 
missing table formatting elements like T{ starting around line 155 in the boolean capabilities 
table.

>How-To-Repeat:

man 5 terminfo

/usr/bin/tbl will produce errors before the man page is displayed:

/usr/bin/tbl:<standard input>:155: excess data entry `-' discarded
/usr/bin/tbl:<standard input>:155: excess data entry `-' discarded
/usr/bin/tbl:<standard input>:155: excess data entry `YB-G-' discarded
/usr/bin/tbl:<standard input>:155: excess data entry `cub1 wraps from column 0 to last column' discarded
/usr/bin/tbl:<standard input>:157: excess data entry `-' discarded
/usr/bin/tbl:<standard input>:157: excess data entry `-' discarded
/usr/bin/tbl:<standard input>:157: excess data entry `YBCGE' discarded
/usr/bin/tbl:<standard input>:157: excess data entry `terminal has automatic margins' discarded
/usr/bin/tbl:<standard input>:159: excess data entry `-' discarded
/usr/bin/tbl:<standard input>:159: excess data entry `-' discarded
...

>Fix:

Fix the formatting.

>Release-Note:
>Audit-Trail:

From: Giorgos Keramidas <keramida@freebsd.org>
To: Warren Block <wblock@wonkity.com>, Peter Wemm <peter@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: docs/80871: terminfo(5) man page source corrupted
Date: Wed, 11 May 2005 12:49:02 +0300

 On 2005-05-10 18:48, Warren Block <wblock@wonkity.com> wrote:
 > Man page source for terminfo(5) (/usr/share/man/man5/terminfo.5.gz) is
 > corrupt.  Looks to be missing table formatting elements like T{
 > starting around line 155 in the boolean capabilities table.
 
 The following diff fixes most of the table related warnings of
 terminfo.5, but the file is still on the vendor branch, so I won't
 commit anything to it until I get approval from Peter, who seems to
 have done most of the commits in the area.
 
 Peter, does this look ok?  Should we commit it or is it better to send a
 notice to Tom Dickey instead, to see if this is already fixed in his
 source tree?
 
 %%%
 Index: contrib/ncurses/man/terminfo.tail
 ===================================================================
 RCS file: /home/ncvs/src/contrib/ncurses/man/terminfo.tail,v
 retrieving revision 1.1.1.4
 diff -u -r1.1.1.4 terminfo.tail
 --- contrib/ncurses/man/terminfo.tail	21 May 2002 05:27:40 -0000	1.1.1.4
 +++ contrib/ncurses/man/terminfo.tail	11 May 2005 09:41:58 -0000
 @@ -1079,8 +1079,8 @@
  .PP
  .TS H
  center expand;
 -c l l c
 -c l l c
 +c l l c c l
 +c l l c c l
  lw28 lw6 lw2 lw20.
  .\".TH
  \fBGlyph	ACS	Ascii	VT100\fR
 %%%
 
 Note: In nroff mode, the terminal width is too short to fit the table
 and there are still far too many annoying warnings about lines that
 cannot be broken:
 
 orion:/tmp/ti$ nroff -man terminfo.5 >/dev/null
 terminfo.5:185: warning [p 2, 8.5i]: can't break line
 terminfo.5:209: warning [p 3, 1.3i]: can't break line
 terminfo.5:470: warning [p 6, 5.2i]: can't break line
 terminfo.5:482: warning [p 6, 7.0i]: can't break line
 terminfo.5:736: warning [p 9, 10.3i]: can't break line
 terminfo.5:748: warning [p 10, 0.7i]: can't break line
 terminfo.5:750: warning [p 10, 1.0i]: can't break line
 terminfo.5:752: warning [p 10, 1.3i]: can't break line
 terminfo.5:770: warning [p 10, 3.7i]: can't break line
 terminfo.5:772: warning [p 10, 4.0i]: can't break line
 terminfo.5:790: warning [p 10, 6.3i]: can't break line
 terminfo.5:804: warning [p 10, 8.2i]: can't break line
 terminfo.5:812: warning [p 10, 9.2i]: can't break line
 terminfo.5:814: warning [p 10, 9.5i]: can't break line
 terminfo.5:828: warning [p 11, 0.2i]: can't break line
 terminfo.5:1072: warning [p 14, 3.8i]: can't break line
 terminfo.5:1078: warning [p 14, 4.8i]: can't break line
 terminfo.5:1080: warning [p 14, 5.2i]: can't break line
 terminfo.5:1084: warning [p 14, 5.8i]: can't break line
 terminfo.5:1094: warning [p 14, 7.3i]: can't break line
 terminfo.5:1098: warning [p 14, 8.0i]: can't break line
 terminfo.5:1100: warning [p 14, 8.3i]: can't break line
 terminfo.5:1118: warning [p 15, 0.2i]: can't break line
 orion:/tmp/ti$
 

From: wblock@wonkity.com
To: bug-followup@FreeBSD.org, wblock@wonkity.com
Cc:  
Subject: Re: docs/80871: terminfo(5) man page source corrupted
Date: Fri, 13 May 2005 17:13:13 -0600 (MDT)

 Thomas Dickey's updated man/MKterminfo.sh from ncurses 5.4 fixes the problem (sed search and 
 replace strings) and builds the terminfo(5) man page correctly.
 
 ftp://invisible-island.net/ncurses/ncurses-5.4.tar.gz
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Sat Oct 14 19:51:50 UTC 2006 
State-Changed-Why:  
Duplicate of PR docs/46709. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80871 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/80871: commit references a PR
Date: Sat, 14 Oct 2006 19:51:07 +0000 (UTC)

 ru          2006-10-14 19:50:57 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: NCURSES)
     contrib/ncurses/man  MKterminfo.sh 
   Log:
   Fix from upstream: unbreak generation of the terminfo.5 manpage.
   
   PR:             docs/46709, docs/56981, docs/80871
   MFC after:      3 days
   Obtained from:  ftp://invisible-island.net/ncurses/ncurses-5.5.tar.gz
   
   Revision  Changes    Path
   1.1.1.4   +15 -12    src/contrib/ncurses/man/MKterminfo.sh
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
