From owner-freebsd-doc@FreeBSD.ORG Mon Mar 23 08:30:04 2009 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3D651065670 for ; Mon, 23 Mar 2009 08:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7FFAC8FC17 for ; Mon, 23 Mar 2009 08:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2N8U4rd083079 for ; Mon, 23 Mar 2009 08:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2N8U41v083077; Mon, 23 Mar 2009 08:30:04 GMT (envelope-from gnats) Resent-Date: Mon, 23 Mar 2009 08:30:04 GMT Resent-Message-Id: <200903230830.n2N8U41v083077@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kazuo Dohzono Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21811106564A for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/132959: description mismatches on xterm/termcap, fortune/freebsd-tips X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 08:30:04 -0000 >Number: 132959 >Category: docs >Synopsis: description mismatches on xterm/termcap, fortune/freebsd-tips >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 23 08:30:04 UTC 2009 >Closed-Date: >Last-Modified: >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: >Unformatted: