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