From nobody@FreeBSD.org  Mon Jul 15 08:36:16 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 4F321460
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 15 Jul 2013 08:36:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id 41A0A7FB
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 15 Jul 2013 08:36:16 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6F8aFTe065023
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 15 Jul 2013 08:36:15 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6F8aFhD065005;
	Mon, 15 Jul 2013 08:36:15 GMT
	(envelope-from nobody)
Message-Id: <201307150836.r6F8aFhD065005@oldred.freebsd.org>
Date: Mon, 15 Jul 2013 08:36:15 GMT
From: Kip Coul <kip.coul@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: cannot change termcap
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         180569
>Category:       conf
>Synopsis:       [termcap] cannot change termcap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 15 08:40:00 UTC 2013
>Closed-Date:    Tue Feb 18 19:50:15 CST 2014
>Last-Modified:  Tue Feb 18 19:50:15 CST 2014
>Originator:     Kip Coul
>Release:        FreeBSD 9.1 amd64
>Organization:
Medlo
>Environment:
FreeBSD freebsd 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
It's impossible to change a termcap entry.
It seems like termcap entries are engraved in stone inside FreeBSD's code and cannot be modified in /etc/termcap
>How-To-Repeat:
Edit /etc/termcap
Change any entry (say, for example xterm since it's the default)
Apply the modifications using cap_mkdb
cap_mkdb -f /usr/share/misc/termcap /etc/termcap

make sure /etc/ttys uses the entry you have modified

Reboot
See that the entry you modified has not changed.
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: bdrewery 
State-Changed-When: Tue Feb 18 19:50:14 CST 2014 
State-Changed-Why:  
The proper way is: cap_mkdb /usr/share/misc/termcap. The 2 files you 
listed are the same file as /etc/termcap is a symlink to 
/usr/share/misc/termcap. 

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