]> matita.cs.unibo.it Git - helm.git/blob - helm/scripts/template.rc
58a1f2ebb0a2b389066feb37071f444a130e916f
[helm.git] / helm / scripts / template.rc
1
2 COQV=V7_mowgli
3 WHERE=phd
4 FROM=@FROM@
5
6 export CVS_RSH=ssh
7
8 echo "Configuring HELM for $WHERE (from $FROM), Coq $COQV"
9
10 export HELMROOT=/projects/helm
11
12 if test $WHERE = $FROM; then
13         FONTROOT=$HELMROOT
14 else
15         if test $FROM = phd; then
16                 FONTROOT=/projects/helm
17         else
18                 FONTROOT=/home/projects/helm
19         fi
20 fi
21
22 export PATH=$HELMROOT/http_getter:$PATH
23 export PATH=$HELMROOT/$COQV/interface:$PATH
24 export PATH=$HELMROOT/shared/scripts:$PATH
25
26 export HELM_CONFIGURATION_DIR=$HELMROOT/$COQV/$WHERE/local/etc/helm
27 export HELM_STYLE_DIR=$HELMROOT/$COQV/style
28 export HELM_LIB_DIR=$HELMROOT/$COQV/$WHERE/local/lib/helm
29 export HELM_ANNOTATIONS_DIR=pippo
30 export HELM_ANNOTATIONS_URL=pippo
31 export URI_SET_QUEUE_PORT=58082
32 export DRAW_GRAPH_PORT=58083
33 export SEARCH_ENGINE_PORT=58085
34 export DRAW_GRAPH_DIR=/projects/helm/daemons/graphs/tools
35 export SEARCH_ENGINE_HTML_DIR=/projects/helm/daemons/searchEngine/html
36
37 echo HELM_CONFIGURATION_DIR=$HELM_CONFIGURATION_DIR
38 echo HELM_LIB_DIR=$HELM_LIB_DIR
39 echo HELM_STYLE_DIR=$HELM_STYLE_DIR
40
41 export MATHENGINECONF=$HELMROOT/$COQV/$WHERE/local/etc/helm/helm-math-engine-configuration.xml
42
43 umask 002
44
45 # Stix font
46 xset fp
47 xset fp+ $FONTROOT/fonts/mathematica/Type1/
48 xset fp rehash