README revision 276991
11638Srgrimes# @(#)README 8.1 (Berkeley) 6/8/93 2276991Sngie# 3276991Sngie# $FreeBSD: stable/10/share/termcap/README 276991 2015-01-11 18:13:56Z ngie $ 41638Srgrimes 51638Srgrimes<< 12 May 1983 >> 61638SrgrimesTo install this directory on your system: 71638Srgrimes 81638SrgrimesFirst determine a list of "common terminals" for your system. This list 91638Srgrimeswill probably be small, and can be empty if you like, but you should 101638Srgrimesprobably put your own terminal in it. 111638Srgrimes 121638SrgrimesSecond, edit the editor script "reorder" to use this list instead of the 131638Srgrimeslist built in to it. The changes will be evident from looking at the 141638Srgrimesscript. Notice that the script contains the terminals in order from least 151638Srgrimescommon to most common, since the move commands will move them to the front 161638Srgrimesin that order, the effect will be to put the most common at the front of 171638Srgrimestermcap since that's moved last. The s.* terminals are specials, and 181638Srgrimesalthough they don't have to go to the front, they are probably quite 191638Srgrimescommon and really should go near the front. 201638Srgrimes 211638SrgrimesThird, if you are not a super user and cannot create the directory 221638Srgrimes/usr/lib/tabset, make a corresponding directory somewhere you can and add 231638Srgrimesa line to reorder to globally change all /usr/lib/tabset's to your own 24276991Sngiepath name. This change is better than just changing the termcap file 251638Srgrimesbecause it makes it easier to diff it from newer distributed versions. 261638SrgrimesTry to keep the source as is whenever possible, and put mungings into 271638Srgrimesreorder. 281638Srgrimes 291638SrgrimesNow you can run "make install" which will create an /etc/termcap. Again, 301638Srgrimesif you aren't a super user change the cp command to put it where you can. 311638SrgrimesIn this case you will have to redefine E_TERMCAP in "local/uparm.h", which 321638Srgrimeswill probably be in subdirectories with the other UCB software. 331638Srgrimes 341638Srgrimes 351638SrgrimesFinally, if you make additions or fixes to termcap, please mail a note 361638Srgrimesexplaining what you did with the fixed termcap entry (not the whole file, 371638Srgrimesplease!) to me at one of the addresses below, so it can be incorporated 381638Srgrimesback into the original source. I will normally include anything unless 391638Srgrimesthere is a good reason not to, but I reserve the right to redo it differently. 401638Srgrimes 411638Srgrimes uunet!ucbvax!termcap (uucp) 421638Srgrimes termcap@berkeley.cs.edu (Internet) 431638Srgrimes 441638Srgrimes<< 14 October 1987 >> 451638SrgrimesIt is probably easiest to make local termcap changes in separate 461638Srgrimesfiles, eg /usr/local/etc/termcap, and encourage people to put 471638Srgrimes 481638Srgrimes setenv TERMPATH ~/.termcap:/usr/local/etc/termcap:/etc/termcap 491638Srgrimes 501638Srgrimesin their shell startup files. This way local system-wide changes can be 511638Srgrimesisolated in /usr/local/etc/termcap and user changes in ~/.termcap, all 521638Srgrimeswithout consuming lots of disk or requiring re-integration of local 531638Srgrimeschanges when system termcap files change. 541638Srgrimes 551638Srgrimes John Kunze 561638Srgrimes termcap@berkeley.cs.edu 571638Srgrimes 58