RasMol2
|
Announce,
ChangeLog,
ChangeLog.1,
ChangeLog.2,
ChangeLog.3,
ChangeLog.4,
INSTALL,
Imakefile,
Makefile,
Makefile.bak,
Makefile.in,
Makefile.nt,
Makefile.pc,
PROJECTS,
README,
TODO,
abstree.c,
abstree.h,
applemac.c,
bitmaps.h,
command.c,
command.h,
data,
doc,
font.h,
graphics.h,
molecule.c,
molecule.h,
mswin,
mswin31.c,
outfile.c,
outfile.h,
pixutils.c,
pixutils.h,
rasmac.c,
rasmol.c,
rasmol.h,
rasmol.hlp,
rasmol.sh,
raswin.c,
render.c,
render.h,
script.c,
script.h,
tokens.h,
transfor.c,
transfor.h,
vms,
x11win.c,
|
|
|
#!/bin/sh
# rasmol.sh
# RasMol Molecular Graphics
# Roger Sayle, October 1994
# Version 2.5
#
# Example Environment Variables
#
RASMOLPATH=/usr/local/lib/rasmol
export RASMOLPATH
RASMOLPDBPATH=/databases/pdb
export RASMOLPDBPATH
#
# Example of multi-platform support
#
case `uname -s` in
IRIX)
IRIXVERSION=`uname -r | cut -f1 -d.`
if [ $IRIXVERSION = 4 ]; then
$RASMOLPATH/rasmol.sg4 $*
else
$RASMOLPATH/rasmol.sg5 $*
fi
;;
SunOS)
SUNOSVERSION=`uname -r | cut -f1 -d.`
if [ $SUNOSVERSION = 4 ]; then
$RASMOLPATH/rasmol.su4 $*
else
$RASMOLPATH/rasmol.su5 $*
fi
;;
ULTRIX)
$RASMOLPATH/rasmol.dec $*
;;
OSF1)
MACHINE=`uname -m`
if [ $MACHINE = "alpha" ]; then
$RASMOLPATH/rasmol.axp $*
else
echo "Unsupported architecture" 2>&1
exit 1
fi
;;
*)
MACHINE=`uname -m`
if [ $MACHINE = "mips" ]; then
$RASMOLPATH/rasmol.esv $*
else
echo "Unsupported architecture" 2>&1
exit 1
fi
;;
esac
|