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