Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 2009 08:29:35 GMT
From:      Kazuo Dohzono <dohzono@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/132959: description mismatches on xterm/termcap, fortune/freebsd-tips
Message-ID:  <200903230829.n2N8TZ6S060877@www.freebsd.org>
Resent-Message-ID: <200903230830.n2N8U41v083077@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903230829.n2N8TZ6S060877>