Init
This commit is contained in:
31
usr.etc/termcap/Makefile
Normal file
31
usr.etc/termcap/Makefile
Normal file
@@ -0,0 +1,31 @@
|
||||
#
|
||||
# @(#)Makefile 1.1 94/10/31 SMI; from UCB 1.10 07/01/83
|
||||
#
|
||||
# reorder gives an editor command for most common terminals
|
||||
# (in reverse order from n'th to 1'st most commonly used)
|
||||
# to move them to the front of termcap
|
||||
#
|
||||
DESTDIR =
|
||||
|
||||
.DEFAULT:
|
||||
sccs get -G$@ $@
|
||||
|
||||
termcap: reorder termcap.src
|
||||
ex - termcap.src < reorder
|
||||
|
||||
install: termcap
|
||||
install -d -m 755 ${DESTDIR}/usr/share
|
||||
install -d -m 755 ${DESTDIR}/usr/share/lib
|
||||
install -m 664 termcap ${DESTDIR}/usr/share/lib/termcap
|
||||
-rm -rf ${DESTDIR}/etc/termcap
|
||||
-rm -rf ${DESTDIR}/usr/etc/termcap
|
||||
ln -s ../usr/share/lib/termcap ${DESTDIR}/etc/termcap
|
||||
ln -s ../share/lib/termcap ${DESTDIR}/usr/etc/termcap
|
||||
rm -fr ${DESTDIR}/usr/share/lib/tabset
|
||||
install -d -o bin -m 755 ${DESTDIR}/usr/share/lib/tabset
|
||||
cd tabset; $(MAKE) install DESTDIR=$(DESTDIR)
|
||||
-rm -fr ${DESTDIR}/usr/lib/tabset
|
||||
ln -s ../share/lib/tabset ${DESTDIR}/usr/lib/tabset
|
||||
|
||||
clean:
|
||||
rm -f termcap
|
||||
42
usr.etc/termcap/README
Normal file
42
usr.etc/termcap/README
Normal file
@@ -0,0 +1,42 @@
|
||||
To install this directory on your system:
|
||||
|
||||
First determine a list of "common terminals" for your system.
|
||||
This list will probably be small, and can be empty if you like,
|
||||
but you should probably put your own terminal in it.
|
||||
|
||||
Second, edit the editor script "reorder" to use this list instead
|
||||
of the list built in to it. The changes will be evident from looking
|
||||
at the script. Notice that the script contains the terminals in order
|
||||
from least common to most common, since the move commands will move them
|
||||
to the front in that order, the effect will be to put the most common
|
||||
at the front of termcap since that's moved last. The s.* terminals
|
||||
are specials, and although they don't have to go to the front, they are
|
||||
probably quite common and really should go near the front.
|
||||
|
||||
Third, if you are not a super user and cannot create the directory
|
||||
/usr/lib/tabset, make a corresponding directory somewhere you can and
|
||||
add a line to reorder to globally change all /usr/lib/tabset's to your
|
||||
own path name. This change is better than just changing the termcap.src
|
||||
file because it makes it easier to diff it from newer distributed versions.
|
||||
Try to keep the source as is whenever possible, and put mungings into reorder.
|
||||
|
||||
Now you can run "make install" which will create an /etc/termcap. Again,
|
||||
if you aren't a super user change the cp command to put it where you can.
|
||||
In this case you will have to redefine E_TERMCAP in "local/uparm.h", which
|
||||
will probably be in subdirectories with the other UCB software.
|
||||
|
||||
|
||||
Finally, if you make additions or fixes to termcap, please mail a note
|
||||
explaining what you did with the fixed termcap entry (not the whole file,
|
||||
please!) to me at one of the addresses below, so it can be incorporated
|
||||
back into the original source. I will normally include anything unless
|
||||
there is a good reason not to, but I reserve the right to redo it differently.
|
||||
|
||||
ucbvax!termcap (uucp)
|
||||
termcap@berkeley (Arpanet)
|
||||
or
|
||||
Kevin Layer
|
||||
Computer Science Division
|
||||
Evans Hall
|
||||
University of California
|
||||
Berkeley, California 94720
|
||||
45
usr.etc/termcap/reorder
Normal file
45
usr.etc/termcap/reorder
Normal file
@@ -0,0 +1,45 @@
|
||||
/|adm3|/;.,/^[^ ]/-m9
|
||||
/|adm31|/;.,/^[^ ]/-m9
|
||||
/|adm3a|/;.,/^[^ ]/-m9
|
||||
/|vt100|/;.,/^[^ ]/-m9
|
||||
/|vt220|/;.,/^[^ ]/-m9
|
||||
/|2645|/;.,/^[^ ]/-m9
|
||||
/|2621-nl|/;.,/^[^ ]/-m9
|
||||
/|2621|/;.,/^[^ ]/-m9
|
||||
/|h29|/;.,/^[^ ]/-m9
|
||||
/|h19|/;.,/^[^ ]/-m9
|
||||
/|h19-u|/;.,/^[^ ]/-m9
|
||||
/|h19-us|/;.,/^[^ ]/-m9
|
||||
/|h19-e|/;.,/^[^ ]/-m9
|
||||
/|h19-g|/;.,/^[^ ]/-m9
|
||||
/|5620|/;.,/^[^ ]/-m9
|
||||
/|c100|/;.,/^[^ ]/-m9
|
||||
/|c100-rv|/;.,/^[^ ]/-m9
|
||||
/|c100-rv-pp|/;.,/^[^ ]/-m9
|
||||
/|c108-4p|/;.,/^[^ ]/-m9
|
||||
/|c108-rv-4p|/;.,/^[^ ]/-m9
|
||||
/|c108-8p|/;.,/^[^ ]/-m9
|
||||
/|c108-rv-8p|/;.,/^[^ ]/-m9
|
||||
/|avt|/;.,/^[^ ]/-m9
|
||||
/|avt-rv|/;.,/^[^ ]/-m9
|
||||
/|avt-4p-s|/;.,/^[^ ]/-m9
|
||||
/|avt-8p-s|/;.,/^[^ ]/-m9
|
||||
/|xterms|/;.,/^[^ ]/-m9
|
||||
/|xterm|/;.,/^[^ ]/-m9
|
||||
/|wyse-50|/;.,/^[^ ]/-m9
|
||||
/|wyse925|/;.,/^[^ ]/-m9
|
||||
/|wyse|/;.,/^[^ ]/-m9
|
||||
/|wyse-nk|/;.,/^[^ ]/-m9
|
||||
/|tvi925|/;.,/^[^ ]/-m9
|
||||
/|tvi925a|/;.,/^[^ ]/-m9
|
||||
/|sun-17|/;.,/^[^ ]/-m9
|
||||
/|sun-24|/;.,/^[^ ]/-m9
|
||||
/|sun-34|/;.,/^[^ ]/-m9
|
||||
/|sun-48|/;.,/^[^ ]/-m9
|
||||
/|sun-s-e|/;.,/^[^ ]/-m9
|
||||
/|sun-s|/;.,/^[^ ]/-m9
|
||||
/|sun-e|/;.,/^[^ ]/-m9
|
||||
/|sun|/;.,/^[^ ]/-m9
|
||||
/^s/;.,/^#/-m9
|
||||
w! termcap
|
||||
q
|
||||
1
usr.etc/termcap/tabset/3101
Normal file
1
usr.etc/termcap/tabset/3101
Normal file
@@ -0,0 +1 @@
|
||||
H 0 0 0 0 0 0 0 0 0
|
||||
13
usr.etc/termcap/tabset/Makefile
Normal file
13
usr.etc/termcap/tabset/Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# @(#)Makefile 1.1 94/10/31 SMI
|
||||
#
|
||||
.DEFAULT:
|
||||
sccs get $@
|
||||
|
||||
FILES= 3101 aa aed512 beehive diablo dtc382 ibm3101 std stdcrt \
|
||||
teleray vt100 wyse-adds xerox1720 xerox1730 xerox1730-lm zenith29
|
||||
|
||||
all: $(FILES)
|
||||
|
||||
install: all
|
||||
cp $(FILES) ${DESTDIR}/usr/share/lib/tabset
|
||||
1
usr.etc/termcap/tabset/aa
Normal file
1
usr.etc/termcap/tabset/aa
Normal file
@@ -0,0 +1 @@
|
||||
1 1 1 1 1 1 1 1 1
|
||||
1
usr.etc/termcap/tabset/aed512
Normal file
1
usr.etc/termcap/tabset/aed512
Normal file
@@ -0,0 +1 @@
|
||||
\EG1MMM.`40K0001202080K8001????00^L\EC80L80{80^L\EK010100????K0601??0000c818100\EG1HHH.\07210000019A27FD006A280D002A200A52429FE8524861086118612861360N031B4C3F3F1800N041B0C1B4C38301800N001B3B313030301800N011B3B313030341800N021B3B313030381800N050800N061B3B313335301800\07211000015A58E8D5011A58F8D5111A5908D5211A5918D531160\07212000015AD5011858EAD5111858FAD52118590AD5311859160\0721300004B2071C5858E0A18658E0A0A858EA900858F268FA5278590A50A29018591A9F51865908590A90165918591A59038E58E8590A591E58F290185912071C5180A0A0A0901858EA900858F268F60\0721350000BA9472031DEA9502031DE60\E\E\E\EG1MMM.^A
|
||||
2
usr.etc/termcap/tabset/beehive
Normal file
2
usr.etc/termcap/tabset/beehive
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
|
||||
3
usr.etc/termcap/tabset/diablo
Normal file
3
usr.etc/termcap/tabset/diablo
Normal file
@@ -0,0 +1,3 @@
|
||||
9
|
||||
2 1 1 1 !1 )1 11 91 A1 I1 Q1 Y1 a1 i1 q1 y1
|
||||
9
|
||||
1
usr.etc/termcap/tabset/dtc382
Normal file
1
usr.etc/termcap/tabset/dtc382
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
1
usr.etc/termcap/tabset/ibm3101
Normal file
1
usr.etc/termcap/tabset/ibm3101
Normal file
@@ -0,0 +1 @@
|
||||
H 0 0 0 0 0 0 0 0 0
|
||||
1
usr.etc/termcap/tabset/std
Normal file
1
usr.etc/termcap/tabset/std
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
1
usr.etc/termcap/tabset/stdcrt
Normal file
1
usr.etc/termcap/tabset/stdcrt
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
1
usr.etc/termcap/tabset/teleray
Normal file
1
usr.etc/termcap/tabset/teleray
Normal file
@@ -0,0 +1 @@
|
||||
GY9(FY90FY98FY9@FY9HFY9PFY9XFY9`FY9hF
|
||||
3
usr.etc/termcap/tabset/vt100
Normal file
3
usr.etc/termcap/tabset/vt100
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
[3g
|
||||
H H H H H H H H H H H H H H H H
|
||||
1
usr.etc/termcap/tabset/wyse-adds
Normal file
1
usr.etc/termcap/tabset/wyse-adds
Normal file
@@ -0,0 +1 @@
|
||||
2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2
|
||||
1
usr.etc/termcap/tabset/xerox1720
Normal file
1
usr.etc/termcap/tabset/xerox1720
Normal file
@@ -0,0 +1 @@
|
||||
2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
|
||||
BIN
usr.etc/termcap/tabset/xerox1730
Normal file
BIN
usr.etc/termcap/tabset/xerox1730
Normal file
Binary file not shown.
BIN
usr.etc/termcap/tabset/xerox1730-lm
Normal file
BIN
usr.etc/termcap/tabset/xerox1730-lm
Normal file
Binary file not shown.
1
usr.etc/termcap/tabset/zenith29
Normal file
1
usr.etc/termcap/tabset/zenith29
Normal file
@@ -0,0 +1 @@
|
||||
[3g
|
||||
2724
usr.etc/termcap/termcap.src
Normal file
2724
usr.etc/termcap/termcap.src
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user