xref: /freebsd/share/termcap/README (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1#	@(#)README	8.1 (Berkeley) 6/8/93
2#
3#	$FreeBSD$
4
5<< 12 May 1983 >>
6To install this directory on your system:
7
8First determine a list of "common terminals" for your system.  This list
9will probably be small, and can be empty if you like, but you should
10probably put your own terminal in it.
11
12Second, edit the editor script "reorder" to use this list instead of the
13list built in to it.  The changes will be evident from looking at the
14script.  Notice that the script contains the terminals in order from least
15common to most common, since the move commands will move them to the front
16in that order, the effect will be to put the most common at the front of
17termcap since that's moved last.  The s.* terminals are specials, and
18although they don't have to go to the front, they are probably quite
19common and really should go near the front.
20
21Third, if you are not a super user and cannot create the directory
22/usr/lib/tabset, make a corresponding directory somewhere you can and add
23a line to reorder to globally change all /usr/lib/tabset's to your own
24path name.  This change is better than just changing the termcap file
25because it makes it easier to diff it from newer distributed versions.
26Try to keep the source as is whenever possible, and put mungings into
27reorder.
28
29Now you can run "make install" which will create an /etc/termcap. Again,
30if you aren't a super user change the cp command to put it where you can.
31In this case you will have to redefine E_TERMCAP in "local/uparm.h", which
32will probably be in subdirectories with the other UCB software.
33
34
35Finally, if you make additions or fixes to termcap, please mail a note
36explaining what you did with the fixed termcap entry (not the whole file,
37please!) to me at one of the addresses below, so it can be incorporated
38back into the original source.  I will normally include anything unless
39there is a good reason not to, but I reserve the right to redo it differently.
40
41	uunet!ucbvax!termcap			(uucp)
42	termcap@berkeley.cs.edu			(Internet)
43
44<< 14 October 1987 >>
45It is probably easiest to make local termcap changes in separate
46files, eg /usr/local/etc/termcap, and encourage people to put
47
48	setenv TERMPATH ~/.termcap:/usr/local/etc/termcap:/etc/termcap
49
50in their shell startup files.  This way local system-wide changes can be
51isolated in /usr/local/etc/termcap and user changes in ~/.termcap, all
52without consuming lots of disk or requiring re-integration of local
53changes when system termcap files change.
54
55	John Kunze
56	termcap@berkeley.cs.edu
57
58