NetBSD/share/termcap
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
..
Makefile Rename a large chunk of the make(1) variables which refer to a 2003-07-10 10:33:58 +00:00
README
map3270
reorder
tck
termcap.5 No reason to mark up i.e. nor e.g. Noted by jmc@openbsd. 2003-07-02 08:20:39 +00:00
termcap.src update rxvt entry to form as shipped with current (2.7.3) rxvt 2003-04-09 19:21:46 +00:00

README

#	$NetBSD: README,v 1.3 1999/09/06 20:28:19 perry Exp $
#	from @(#)README	8.1 (Berkeley) 6/8/93

<< 12 May 1983 >>
To install this directory on your system:

First determine a list of "common terminals" for your system.  This list
will probably be small, and can be empty if you like, but you should
probably put your own terminal in it.

Second, edit the editor script "reorder" to use this list instead of the
list built in to it.  The changes will be evident from looking at the
script.  Notice that the script contains the terminals in order from least
common to most common, since the move commands will move them to the front
in that order, the effect will be to put the most common at the front of
termcap since that's moved last.  The s.* terminals are specials, and
although they don't have to go to the front, they are probably quite
common and really should go near the front.

Third, if you are not a super user and cannot create the directory
/usr/lib/tabset, make a corresponding directory somewhere you can and add
a line to reorder to globally change all /usr/lib/tabset's to your own
path name.  This change is better than just changing the termcap.src file
because it makes it easier to diff it from newer distributed versions.
Try to keep the source as is whenever possible, and put mungings into
reorder.

Now you can run "make install" which will create an /etc/termcap. Again,
if you aren't a super user change the cp command to put it where you can.
In this case you will have to redefine E_TERMCAP in "local/uparm.h", which
will probably be in subdirectories with the other UCB software.


Finally, if you make additions or fixes to termcap, please mail a note
explaining what you did with the fixed termcap entry (not the whole file,
please!) to me at one of the addresses below, so it can be incorporated
back into the original source.  I will normally include anything unless
there is a good reason not to, but I reserve the right to redo it differently.

	uunet!ucbvax!termcap			(uucp)
	termcap@cs.berkeley.edu			(Internet)

<< 14 October 1987 >>
It is probably easiest to make local termcap changes in separate
files, eg /usr/local/etc/termcap, and encourage people to put

	setenv TERMPATH ~/.termcap:/usr/local/etc/termcap:/etc/termcap 

in their shell startup files.  This way local system-wide changes can be
isolated in /usr/local/etc/termcap and user changes in ~/.termcap, all
without consuming lots of disk or requiring re-integration of local
changes when system termcap files change.

	John Kunze
	termcap@cs.berkeley.edu

<< 1 January 1997 >>

Maintenance has been taken over by Eric Raymond <terminfo@ccil.org>.
E-mail changes there. See http://www.ccil.org/terminfo/