From owner-freebsd-bugs@FreeBSD.ORG Sat Apr 21 11:34:13 2007 Return-Path: X-Original-To: freebsd-bugs@FreeBSD.org Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 34FEB16A400; Sat, 21 Apr 2007 11:34:13 +0000 (UTC) (envelope-from shurd@sasktel.net) Received: from misav09.sasknet.sk.ca (misav09.sasknet.sk.ca [142.165.20.173]) by mx1.freebsd.org (Postfix) with ESMTP id E463313C484; Sat, 21 Apr 2007 11:34:12 +0000 (UTC) (envelope-from shurd@sasktel.net) Received: from bgmpomr1.sasknet.sk.ca ([142.165.72.22]) by misav09 with InterScan Messaging Security Suite; Sat, 21 Apr 2007 05:34:11 -0600 Received: from server.hurd.local (adsl-76-202-204-41.dsl.lsan03.sbcglobal.net [76.202.204.41]) by bgmpomr1.sasknet.sk.ca (SaskTel eMessaging Service) with ESMTPA id <0JGU00LR4ISYLH00@bgmpomr1.sasknet.sk.ca>; Sat, 21 Apr 2007 05:34:11 -0600 (CST) Date: Sat, 21 Apr 2007 04:34:10 -0700 From: Stephen Hurd In-reply-to: <20070418193922.GA42567@xor.obsecurity.org> To: Kris Kennaway Message-id: <4629F6B2.9090709@sasktel.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <200704162111.l3GLB6Eq096927@freefall.freebsd.org> <4625AC4B.5040005@sasktel.net> <20070418193922.GA42567@xor.obsecurity.org> User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2) Gecko/20070327 SeaMonkey/1.1.1 Cc: freebsd-bugs@FreeBSD.org, Ruslan Ermilov Subject: Re: bin/97407: /usr/share/misc/termcap overwritten by installworld X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2007 11:34:13 -0000 > Use ~/.termcap or $TERMPATH or $TERMCAP if you want to use a custom > location. > > Kris > Hrm? It's not really that I want to use a custom location but that I want a custom termcap entry to be used for a specific tty rather than a specific user and have it Just Work when I do an upgrade. Currently if you want a custom termcap entry to be used for a specific tty you need to ensure that /usr/share/misc/termcap gets your patch after a new world install and that cap_mkdb gets ran on the updated one. It's just one extra step to be done on every upgrade. Not that it's impossible or difficult to do so, but it's non-obvious that it needs doing and it seems as though putting termcap in /etc and having mergemaster(8) handle it would be the optimal solution. I feel that even if you need to run cap_mkdb manually but have it patched via mergemaster would be a lot better than having it blindly overwritten as is currently the case. I have permanently lost termcap entries due to me doing upgrades and not backing them up. I back up /etc before an upgrade but rarely back up /usr (and when I do back up from /usr it's generally /usr/local I back up, not the OS stuff in /usr)