From nobody@FreeBSD.org  Mon Mar 23 08:29:36 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 21811106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Mar 2009 08:29:36 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 1024D8FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Mar 2009 08:29:36 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2N8TZue060878
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Mar 2009 08:29:35 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n2N8TZ6S060877;
	Mon, 23 Mar 2009 08:29:35 GMT
	(envelope-from nobody)
Message-Id: <200903230829.n2N8TZ6S060877@www.freebsd.org>
Date: Mon, 23 Mar 2009 08:29:35 GMT
From: Kazuo Dohzono <dohzono@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: description mismatches on xterm/termcap, fortune/freebsd-tips
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         132959
>Category:       docs
>Synopsis:       [patch] description mismatches on xterm/termcap, fortune/freebsd-tips
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gavin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 23 08:30:04 UTC 2009
>Closed-Date:    Tue Feb 23 22:00:37 UTC 2010
>Last-Modified:  Tue Feb 23 22:00:37 UTC 2010
>Originator:     Kazuo Dohzono
>Release:        7.2-PRERELEASE
>Organization:
>Environment:
FreeBSD abacus3 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #0: Wed Mar 18 12:29:48 JST
2009     dohzono@abacus3:/usr/local/tmp/obj/usr/src/sys/GENERIC  i386

>Description:
/usr/share/games/fortune/freebsd-tips tells that `xterm' and
`xterm-color's are different, but /usr/share/misc/termcap tells that
they are the same entry.

freebsd-tips:
| If you are running xterm, the default TERM variable will be 'xterm'.  If you
| set this environment variable to 'xterm-color' instead, a lot of programs will
| use colors.  You can do this by
| 
| 	TERM=xterm-color; export TERM
| 
| in Bourne-derived shells, and
| 
| 	setenv TERM xterm-color
| 
| in csh-derived shells.

termcap:
| xterm|xterm-color|X11 terminal emulator:\
| 	:ti@:te@:tc=xterm-xfree86:

>How-To-Repeat:

>Fix:
There would be two solutions:

1) Make termcap's `xterm' to be monochrome (and deriver xterm-color
from it). Or, 

2) Change freebsd-tips to describe current termcap's entries (and
create another monochrome `xtermM' entry as termcap's Note says as
below).

| #	that limit.  The 'xterm' description supports color.  The monochrome
| #	'xtermm' drops color in favor of additional function keys.  If you need


>Release-Note:
>Audit-Trail:

From: Gavin Atkinson <gavin@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/132959: description mismatches on xterm/termcap,
	fortune/freebsd-tips
Date: Wed, 12 Aug 2009 16:00:24 +0100

 This PR is a valid problem.  The xterm-color entry was renoved from
 termcap in September 2002, and nobody has missed it yet.  I think,
 therefore, the correct solution is to correct the documentatiuon by
 removing that particular freebsd-tip from fortune.  Patch at
 http://people.freebsd.org/~gavin/PRs/132959.diff
 
 Gavin

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/132959: commit references a PR
Date: Mon, 11 Jan 2010 21:18:01 +0000 (UTC)

 Author: gavin
 Date: Mon Jan 11 21:17:49 2010
 New Revision: 202115
 URL: http://svn.freebsd.org/changeset/base/202115
 
 Log:
   Our standard "xterm" termcap entry supports colour, so this tip is redundant.
   As it happens, "xterm-color" has just been an alias for "xterm" since
   src/share/termcap/termcap.src 1.131 in September 2002.
   
   PR:		docs/132959
   Approved by:	ed (mentor)
 
 Modified:
   head/games/fortune/datfiles/freebsd-tips
 
 Modified: head/games/fortune/datfiles/freebsd-tips
 ==============================================================================
 --- head/games/fortune/datfiles/freebsd-tips	Mon Jan 11 21:01:35 2010	(r202114)
 +++ head/games/fortune/datfiles/freebsd-tips	Mon Jan 11 21:17:49 2010	(r202115)
 @@ -50,18 +50,6 @@ If you are in the C shell and have just 
  be able to run it unless you first type "rehash".
  		-- Dru <genesis@istar.ca>
  %
 -If you are running xterm, the default TERM variable will be 'xterm'.  If you
 -set this environment variable to 'xterm-color' instead, a lot of programs will
 -use colors.  You can do this by
 -
 -	TERM=xterm-color; export TERM
 -
 -in Bourne-derived shells, and
 -
 -	setenv TERM xterm-color
 -
 -in csh-derived shells.
 -%
  If you do not want to get beeps in X11 (X Windows), you can turn them off with
  
  	xset b off
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->patched 
State-Changed-By: gavin 
State-Changed-When: Tue Jan 12 11:42:25 UTC 2010 
State-Changed-Why:  
Fixed in HEAD, will MFC in a week 


Responsible-Changed-From-To: freebsd-doc->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Tue Jan 12 11:42:25 UTC 2010 
Responsible-Changed-Why:  
Mine 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/132959: commit references a PR
Date: Sun,  7 Feb 2010 21:04:40 +0000 (UTC)

 Author: gavin
 Date: Sun Feb  7 21:04:26 2010
 New Revision: 203638
 URL: http://svn.freebsd.org/changeset/base/203638
 
 Log:
   Merge r202115 from head:
   
     Our standard "xterm" termcap entry supports colour, so this tip is redundant.
     As it happens, "xterm-color" has just been an alias for "xterm" since
     src/share/termcap/termcap.src 1.131 in September 2002.
   
   PR:		docs/132959
 
 Modified:
   stable/8/games/fortune/datfiles/freebsd-tips
 Directory Properties:
   stable/8/games/fortune/   (props changed)
   stable/8/games/fortune/datfiles/   (props changed)
 
 Modified: stable/8/games/fortune/datfiles/freebsd-tips
 ==============================================================================
 --- stable/8/games/fortune/datfiles/freebsd-tips	Sun Feb  7 20:48:57 2010	(r203637)
 +++ stable/8/games/fortune/datfiles/freebsd-tips	Sun Feb  7 21:04:26 2010	(r203638)
 @@ -50,18 +50,6 @@ If you are in the C shell and have just 
  be able to run it unless you first type "rehash".
  		-- Dru <genesis@istar.ca>
  %
 -If you are running xterm, the default TERM variable will be 'xterm'.  If you
 -set this environment variable to 'xterm-color' instead, a lot of programs will
 -use colors.  You can do this by
 -
 -	TERM=xterm-color; export TERM
 -
 -in Bourne-derived shells, and
 -
 -	setenv TERM xterm-color
 -
 -in csh-derived shells.
 -%
  If you do not want to get beeps in X11 (X Windows), you can turn them off with
  
  	xset b off
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/132959: commit references a PR
Date: Tue, 23 Feb 2010 21:15:14 +0000 (UTC)

 Author: gavin
 Date: Tue Feb 23 21:15:05 2010
 New Revision: 204260
 URL: http://svn.freebsd.org/changeset/base/204260
 
 Log:
   Merge r202115 from head:
   
     Our standard "xterm" termcap entry supports colour, so this tip is redundant.
     As it happens, "xterm-color" has just been an alias for "xterm" since
     src/share/termcap/termcap.src 1.131 in September 2002.
   
   PR:		docs/132959
 
 Modified:
   stable/7/games/fortune/datfiles/freebsd-tips   (contents, props changed)
 Directory Properties:
   stable/7/games/fortune/   (props changed)
   stable/7/games/fortune/datfiles/   (props changed)
   stable/7/games/fortune/fortune/   (props changed)
 
 Modified: stable/7/games/fortune/datfiles/freebsd-tips
 ==============================================================================
 --- stable/7/games/fortune/datfiles/freebsd-tips	Tue Feb 23 21:13:48 2010	(r204259)
 +++ stable/7/games/fortune/datfiles/freebsd-tips	Tue Feb 23 21:15:05 2010	(r204260)
 @@ -50,18 +50,6 @@ If you are in the C shell and have just 
  be able to run it unless you first type "rehash".
  		-- Dru <genesis@istar.ca>
  %
 -If you are running xterm, the default TERM variable will be 'xterm'.  If you
 -set this environment variable to 'xterm-color' instead, a lot of programs will
 -use colors.  You can do this by
 -
 -	TERM=xterm-color; export TERM
 -
 -in Bourne-derived shells, and
 -
 -	setenv TERM xterm-color
 -
 -in csh-derived shells.
 -%
  If you do not want to get beeps in X11 (X Windows), you can turn them off with
  
  	xset b off
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: gavin 
State-Changed-When: Tue Feb 23 21:59:54 UTC 2010 
State-Changed-Why:  
Fixed in head, stable/8 and stable/7.  Thanks for your bug report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132959 
>Unformatted:
