Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2006 23:47:36 -0600
From:      Stephen Hurd <shurd@sasktel.net>
To:        freebsd-stable@freebsd.org
Subject:   [Fwd: Custom termcap entries and installworld]
Message-ID:  <447A8AF8.3060700@sasktel.net>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--Boundary_(ID_yRw7HLkzoK6gaKVmzvA/Vw)
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT



--Boundary_(ID_yRw7HLkzoK6gaKVmzvA/Vw)
Content-type: message/rfc822; name="Custom termcap entries and installworld"
Content-disposition: inline; filename="Custom termcap entries and installworld"

Return-path: <owner-freebsd-questions@freebsd.org>
Received: from bgmpimr2.sasknet.sk.ca ([192.168.234.21])
	by cgmail1.sasknet.sk.ca (SaskTel eMessaging Service)
	with ESMTP id <0IZW0004272TDTH0@cgmail1.sasknet.sk.ca> for
	shurd@sasktel.net; Fri, 26 May 2006 15:44:53 -0600 (CST)
Received: from misav02.sasknet.sk.ca ([142.165.20.164])
	by bgmpimr2.sasknet.sk.ca (SaskTel eMessaging Service)
	with ESMTP id <0IZW00BOB72TRE00@bgmpimr2.sasknet.sk.ca> for
	shurd@sasktel.net
	(ORCPT shurd@sasktel.net); Fri, 26 May 2006 15:44:53 -0600 (CST)
Received: from psmtp.com ([64.18.2.75]) by misav03 with InterScan Messaging
	Security Suite; Fri, 26 May 2006 15:44:52 -0600
Received: from source ([216.136.204.119]) by exprod7mx73.postini.com
	([64.18.6.10]) with SMTP; Fri, 26 May 2006 14:44:52 -0700 (PDT)
Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])
	by mx2.freebsd.org (Postfix) with ESMTP id 5C8C8CF8F6; Fri,
	26 May 2006 21:40:11 +0000
Received: from hub.freebsd.org (localhost [127.0.0.1])
	by hub.freebsd.org (Postfix) with ESMTP id 0C92816BCC9; Fri,
	26 May 2006 21:40:11 +0000
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3967816A720	for
	<freebsd-questions@freebsd.org>; Fri,
	26 May 2006 21:39:58 +0000 (UTC envelope-from shurd@sasktel.net)
Received: from misav02.sasknet.sk.ca (misav03.sasknet.sk.ca [142.165.20.164])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B730D43D81	for
	<freebsd-questions@freebsd.org>; Fri,
	26 May 2006 21:39:57 +0000 (GMT envelope-from shurd@sasktel.net)
Received: from bgmpomr1.sasknet.sk.ca ([142.165.72.22])
	by misav03 with	InterScan Messaging Security Suite; Fri,
	26 May 2006 15:39:57 -0600
Received: from backoffice ([206.163.250.91]) by bgmpomr1.sasknet.sk.ca
	(SaskTel eMessaging Service)
	with ESMTPA id <0IZW0090N6UKQZ60@bgmpomr1.sasknet.sk.ca> for
	freebsd-questions@freebsd.org; Fri, 26 May 2006 15:39:56 -0600 (CST)
Date: Fri, 26 May 2006 15:39:55 -0600
From: Stephen Hurd <shurd@sasktel.net>
Subject: Custom termcap entries and installworld
Sender: owner-freebsd-questions@freebsd.org
To: freebsd-questions@freebsd.org
Errors-to: owner-freebsd-questions@freebsd.org
Message-id: <004101c6810c$edeeaaf0$5200a8c0@backoffice>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
Content-type: text/plain; format=flowed; charset=iso-8859-1;
	reply-type=original
Content-transfer-encoding: 7BIT
X-Priority: 3
X-MSMail-priority: Normal
Precedence: list
X-BeenThere: freebsd-questions@freebsd.org
Delivered-to: freebsd-questions@freebsd.org
X-Account-Key: account2
X-Original-To: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>;
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Id: User questions <freebsd-questions.freebsd.org>
Original-recipient: rfc822;shurd@sasktel.net

I've now shot myself in the foot at least three times in as many years with 
custom termcap entries... here's the deal:

1) I modify /etc/termcap and customize a termcap entry for some valid reason 
(I need 132x42 or whatever for my Link MC/5)
2) I update /etc/gettytab and /etc/ttys accordingly and happily use my dumb 
terminal on occasion (roughly once per week)
3) I upgrade via sources, being sure to run mergemaster and friends.
4) My terminal stops working.

I have now shot myself in the foot and need to recreate the termcap entry 
(which, silly me, I didn't back up)
Now, intellectually, I *know* that termcap is really stored in 
/usr/share/misc, and that mergemaster doesn't/can't touch those files since 
they're not configuration files... but every single time I run installworld, 
I need to take a manual step to keep things working the way they were 
before.  This is a POLA breaker but I've just ignored it every time it 
happened until now.  This time I opened a PR 
(http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/97407) wishing for 
mergemaster support which, of course, isn't the Right Thing.

So, I suppose my questions are these:
1) How do people cope with custom termcap entries?
2) Is there a *correct* way to cope with custom termcap entries?
3) Is there a good reason to not have /usr/share/misc/termcap be a symlink 
to /etc/termcap rather than the reverse which would allow mergemaster to 
Just Work?  that is... putting it in /etc fixes a problem... does moving it 
create one or more more serious problems?
4) Am I supposed to submit every custom termcap tweak for inclusion in the 
next release so I can keep using my terminals?

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


--Boundary_(ID_yRw7HLkzoK6gaKVmzvA/Vw)--



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