xref: /dflybsd-src/share/termcap/README (revision 86d7f5d305c6adaa56ff4582ece9859d73106103)
186d7f5d3SJohn Marino#	@(#)README	8.1 (Berkeley) 6/8/93
286d7f5d3SJohn Marino
386d7f5d3SJohn Marino<< 12 May 1983 >>
486d7f5d3SJohn MarinoTo install this directory on your system:
586d7f5d3SJohn Marino
686d7f5d3SJohn MarinoFirst determine a list of "common terminals" for your system.  This list
786d7f5d3SJohn Marinowill probably be small, and can be empty if you like, but you should
886d7f5d3SJohn Marinoprobably put your own terminal in it.
986d7f5d3SJohn Marino
1086d7f5d3SJohn MarinoSecond, edit the editor script "reorder" to use this list instead of the
1186d7f5d3SJohn Marinolist built in to it.  The changes will be evident from looking at the
1286d7f5d3SJohn Marinoscript.  Notice that the script contains the terminals in order from least
1386d7f5d3SJohn Marinocommon to most common, since the move commands will move them to the front
1486d7f5d3SJohn Marinoin that order, the effect will be to put the most common at the front of
1586d7f5d3SJohn Marinotermcap since that's moved last.  The s.* terminals are specials, and
1686d7f5d3SJohn Marinoalthough they don't have to go to the front, they are probably quite
1786d7f5d3SJohn Marinocommon and really should go near the front.
1886d7f5d3SJohn Marino
1986d7f5d3SJohn MarinoThird, if you are not a super user and cannot create the directory
2086d7f5d3SJohn Marino/usr/lib/tabset, make a corresponding directory somewhere you can and add
2186d7f5d3SJohn Marinoa line to reorder to globally change all /usr/lib/tabset's to your own
2286d7f5d3SJohn Marinopath name.  This change is better than just changing the termcap.src file
2386d7f5d3SJohn Marinobecause it makes it easier to diff it from newer distributed versions.
2486d7f5d3SJohn MarinoTry to keep the source as is whenever possible, and put mungings into
2586d7f5d3SJohn Marinoreorder.
2686d7f5d3SJohn Marino
2786d7f5d3SJohn MarinoNow you can run "make install" which will create an /etc/termcap. Again,
2886d7f5d3SJohn Marinoif you aren't a super user change the cp command to put it where you can.
2986d7f5d3SJohn MarinoIn this case you will have to redefine E_TERMCAP in "local/uparm.h", which
3086d7f5d3SJohn Marinowill probably be in subdirectories with the other UCB software.
3186d7f5d3SJohn Marino
3286d7f5d3SJohn Marino
3386d7f5d3SJohn MarinoFinally, if you make additions or fixes to termcap, please mail a note
3486d7f5d3SJohn Marinoexplaining what you did with the fixed termcap entry (not the whole file,
3586d7f5d3SJohn Marinoplease!) to me at one of the addresses below, so it can be incorporated
3686d7f5d3SJohn Marinoback into the original source.  I will normally include anything unless
3786d7f5d3SJohn Marinothere is a good reason not to, but I reserve the right to redo it differently.
3886d7f5d3SJohn Marino
3986d7f5d3SJohn Marino	uunet!ucbvax!termcap			(uucp)
4086d7f5d3SJohn Marino	termcap@berkeley.cs.edu			(Internet)
4186d7f5d3SJohn Marino
4286d7f5d3SJohn Marino<< 14 October 1987 >>
4386d7f5d3SJohn MarinoIt is probably easiest to make local termcap changes in separate
4486d7f5d3SJohn Marinofiles, eg /usr/local/etc/termcap, and encourage people to put
4586d7f5d3SJohn Marino
4686d7f5d3SJohn Marino	setenv TERMPATH ~/.termcap:/usr/local/etc/termcap:/etc/termcap
4786d7f5d3SJohn Marino
4886d7f5d3SJohn Marinoin their shell startup files.  This way local system-wide changes can be
4986d7f5d3SJohn Marinoisolated in /usr/local/etc/termcap and user changes in ~/.termcap, all
5086d7f5d3SJohn Marinowithout consuming lots of disk or requiring re-integration of local
5186d7f5d3SJohn Marinochanges when system termcap files change.
5286d7f5d3SJohn Marino
5386d7f5d3SJohn Marino	John Kunze
5486d7f5d3SJohn Marino	termcap@berkeley.cs.edu
5586d7f5d3SJohn Marino
56