Subversion Repositories lagranto.um

Rev

Rev 3 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 michaesp 1
#!/bin/csh
2
 
15 michaesp 3
# Set Lagranto 
4
set LAGRANTO = ${LAGRANTOBASE}.${MODEL}/
5
 
3 michaesp 6
set dir = ${LAGRANTO}/docu/
7
set viewer = xpdf
8
 
9
if ( (${#argv} == 0) ) then
10
    nroff -man ${dir}/man/lagrantohelp.0 | less
11
    exit 0
12
endif
13
 
14
set mode = $1
15
 
16
if ( "$mode" == "future" ) then
17
    nroff -man ${dir}/man/futureplans.0 | less
18
    exit 0
19
endif
20
 
21
if ( "$mode" == "tutorial" ) then
22
    ${viewer} ${dir}/tutorial/tutorial.pdf 
23
    exit 0
24
endif
25
 
26
if ( "$mode" == "reference" ) then
27
    ${viewer} ${dir}/reference/reference.pdf
28
    exit 0
29
endif
30
echo ${mode}
31
 
32
if ( "$mode" == "presentation" ) then
33
    ${viewer} ${dir}/presentation/presentation.pdf
34
    exit 0
35
endif
36
echo ${mode}
37
 
38
nroff -man ${dir}/man/${mode}.0 | less
39
exit 0