Date: Tue, 30 May 2006 12:09:08 +1000 From: David Nugent <davidn@datalinktech.com.au> To: Stephen Hurd <shurd@sasktel.net> Cc: freebsd-stable@freebsd.org, Graham Menhennitt <gmenhennitt@optusnet.com.au> Subject: Re: [Fwd: Custom termcap entries and installworld] Message-ID: <447BA944.8030803@datalinktech.com.au> In-Reply-To: <447BA196.7030701@sasktel.net> References: <447A8AF8.3060700@sasktel.net> <447AA845.8010909@optusnet.com.au> <447BA196.7030701@sasktel.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Stephen Hurd wrote: > >> 1) How do people cope with custom termcap entries? >> >> One workaround is to not modify /etc/termcap at all. Instead just store >> them in a file somewhere and (depending on your shell) do >> export TERMCAP=/my/custom/termcap >> Or even >> export TERMCAP=custom:my custom entry >> >> See the ENVIRONMENT section near the bottom of "man 3 curses". >> > > Hrm... I don't *think* this can be done by frobbing /etc/gettytab, but > perhaps it can... I'll give it a shot. login.conf/.login_conf may help (to set environment variables before login shell starts, assuming that is what you need). But ~/.termcap should work regardless and will override termcap entries in the system termcap db.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447BA944.8030803>