CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418346
1
#!/bin/bash
2
export SOURCE=/usr/share/terminfo
3
rm -rf terminfo
4
mkdir terminfo
5
mkdir terminfo/c
6
mkdir terminfo/r
7
mkdir terminfo/x
8
mkdir terminfo/63
9
mkdir terminfo/72
10
mkdir terminfo/78
11
if test -r $SOURCE/c/cygwin ; then
12
cp $SOURCE/c/cygwin terminfo/c
13
cp $SOURCE/c/cygwin terminfo/63
14
elif test -r $SOURCE/63/cygwin ; then
15
cp $SOURCE/63/cygwin terminfo/c
16
cp $SOURCE/63/cygwin terminfo/63
17
else
18
echo "No terminfo entry for cygwin found!"
19
exit 1
20
fi
21
if test -r $SOURCE/r/rxvt ; then
22
cp $SOURCE/r/rxvt terminfo/r
23
cp $SOURCE/r/rxvt terminfo/72
24
elif test -r $SOURCE/72/rxvt ; then
25
cp $SOURCE/72/rxvt terminfo/r
26
cp $SOURCE/72/rxvt terminfo/72
27
else
28
echo "No terminfo entry for rxvt found!"
29
exit 1
30
fi
31
if test -r $SOURCE/x/xterm ; then
32
cp $SOURCE/x/xterm terminfo/x
33
cp $SOURCE/x/xterm terminfo/78
34
elif test -r $SOURCE/78/xterm ; then
35
cp $SOURCE/78/xterm terminfo/x
36
cp $SOURCE/78/xterm terminfo/78
37
else
38
echo "No terminfo entry for xterm found!"
39
exit 1
40
fi
41
exit 0
42
43