Date: Sat, 21 Apr 2007 04:34:10 -0700 From: Stephen Hurd <shurd@sasktel.net> To: Kris Kennaway <kris@obsecurity.org> Cc: freebsd-bugs@FreeBSD.org, Ruslan Ermilov <ru@FreeBSD.org> Subject: Re: bin/97407: /usr/share/misc/termcap overwritten by installworld Message-ID: <4629F6B2.9090709@sasktel.net> In-Reply-To: <20070418193922.GA42567@xor.obsecurity.org> References: <200704162111.l3GLB6Eq096927@freefall.freebsd.org> <4625AC4B.5040005@sasktel.net> <20070418193922.GA42567@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4629F6B2.9090709>