JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for STARLINK Archives


STARLINK Archives

STARLINK Archives


STARLINK@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

STARLINK Home

STARLINK Home

STARLINK  August 2009

STARLINK August 2009

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Errors in star-nanahope/etc/profile

From:

"Peter W. Draper" <[log in to unmask]>

Reply-To:

Starlink Software User Support <[log in to unmask]>

Date:

Wed, 5 Aug 2009 12:47:42 +0100

Content-Type:

MULTIPART/MIXED

Parts/Attachments:

Parts/Attachments

TEXT/PLAIN (76 lines) , profile (1 lines)

On Wed, 5 Aug 2009, Roderick Johnstone wrote:

> Peter W. Draper wrote:
>> On Tue, 4 Aug 2009, Roderick Johnstone wrote:
>> 
>>> I'm having some problems with the linux x86_64 bit install of nanahope on
>>> Fedora 10.
>>> 
>>> Some commands like kappa work:
>>> linux> kappa
>>> 
>>>
>>>     KAPPA commands are now available -- (Version 1.10-10)
>>>
>>>     Type kaphelp for help on KAPPA commands.
>>>     Type 'showme sun95' to browse the hypertext documentation.
>>>
>>>     NOTE, several applications have had major changes made to their
>>>     parameter lists. See the 'Release Notes' section of SUN/95 for
>>>     details.
>>> 
>>> But others don't, like:
>>> linux> figaro
>>> bash: /figaro/figaro.sh: No such file or directory
>>> 
>>> I think the problem is in star-nanahope/etc/profile. In the second figaro
>>> setup section figaro is defined as:
>>> 
>>> figaro () { . ${bindir}/figaro/figaro.sh; }
>>> 
>>> but bindir is not defined at run time.
>>> 
>>> kappa is defined like:
>>>  kappa () { . $KAPPA_DIR/kappa.sh; }
>>> 
>>> and KAPPA_DIR is defined at run time
>> 
>> Hi Roderick,
>> 
>> thanks for the report. Tim stopped the export of $bindir so a few package 
>> initialisation commands have been broken like FIGARO (EXTRACTOR, DIPSO and 
>> DATACUBE). I've fixed this in the attached "profile" which should get you 
>> working again. Just replace your existing file.
>> 
>> Brad, committed to master as 3dabcb41270 if you want to issue an official
>> patch.
>> 
>> Cheers,
>> 
>> Peter.
>> 
> Thanks for the response... With your attached file I now get:
>
> : command not found
> : command not found
> : command not found
> : command not found
> : command not found
> 'ash: /data/soft3/starlink/star-nanahope/etc/profile: line 140: syntax error 
> near unexpected token `in
> 'ash: /data/soft3/starlink/star-nanahope/etc/profile: line 140: ` case 
> "x86_64-unknown-linux-gnu" in

Hi Roderick,

you are using bash, not ash? As far as I know the non-csh scripts will 
only work with a bash compatible shell.

Either way I realised that the script in the last message had an incorrect
installation root, so try the attached version instead.

Cheers,

Peter.



# -*- Shell-Script -*- # File: /star-nanahope/etc/profile # Init Version: 1.1-27 # From CVS $Revision$ # This file must be sourced before Starlink software can be used. # This script contains environment and alias definitions and must # be sourced rather than executed. It is suitable for use from a bash # shell # This can be achieved by adding the line: # # source /star-nanahope/etc/profile # # to your .profile file. for the ultra paranoid, add a check for file # existence as well. # Break the file up along the lines of the cshrc and login rather # than combining tests into a single block. # Make ${1+"$@"} portability feature work on zsh, too. test "${ZSH_VERSION+set}" = set && alias -g '${1+"$@"}'='"$@"' # To simplify relocation use local variables rather than using the # /star-nanahope/bin everywhere relocate=0 if test "${STARLINK_DIR}" != ""; then if [ -e ${STARLINK_DIR} ]; then if test "${STARLINK_DIR}" != "/star-nanahope"; then if [ -e ${STARLINK_DIR}/bin ]; then relocate=1 fi fi fi fi if [ ${relocate} -ne 0 ]; then exec_prefix=${STARLINK_DIR} bindir=${exec_prefix}/bin staretcdir=${exec_prefix}/etc starhelpdir=${exec_prefix}/help libdir=${exec_prefix}/lib sharelibdir=${exec_prefix}/lib datadir=${exec_prefix}/share mandir=${exec_prefix}/man starjavadir=${exec_prefix}/starjava else export STARLINK_DIR=/star-nanahope exec_prefix=/star-nanahope bindir=/star-nanahope/bin staretcdir=/star-nanahope/etc starhelpdir=/star-nanahope/help libdir=/star-nanahope/lib sharelibdir=/star-nanahope/lib datadir=/star-nanahope/share mandir=/star-nanahope/man starjavadir=/star-nanahope/starjava fi # Add Starlink directories to relevant paths. tmppath="${PATH}" if((`echo ${tmppath} | grep -c ':${bindir}/startcl:'`)); then tmppath=`echo ${tmppath} | sed -e 's#:${bindir}/startcl:#:#g'` fi if((`echo ${tmppath} | grep -c ':${bindir}/startcl$'`)); then tmppath=`echo ${tmppath} | sed -e 's#:${bindir}/startcl##g'` fi if((`echo ${tmppath} | grep -c '^${bindir}/startcl'`)); then tmppath=`echo ${tmppath} | sed -e 's#${bindir}/startcl:##g'` fi if((`echo ${tmppath} | grep -c ':${bindir}:'`)); then tmppath=`echo ${tmppath} | sed -e 's#:${bindir}:#:#g'` fi if((`echo ${tmppath} | grep -c ':${bindir}$'`)); then tmppath=`echo ${tmppath} | sed -e 's#:${bindir}##g'` fi if((`echo ${tmppath} | grep -c '^${bindir}'`)); then tmppath=`echo ${tmppath} | sed -e 's#${bindir}:##g'` fi if((`echo ${tmppath} | grep -c ':${starjavadir}/bin:'`)); then tmppath=`echo ${tmppath} | sed -e 's#:${starjavadir}/bin:#:#g'` fi if((`echo ${tmppath} | grep -c ':${starjavadir}/bin$'`)); then tmppath=`echo ${tmppath} | sed -e 's#:${starjavadir}/bin##g'` fi if((`echo ${tmppath} | grep -c '^${starjavadir}/bin'`)); then tmppath=`echo ${tmppath} | sed -e 's#${starjavadir}:##g'` fi export PATH="${tmppath}:${bindir}/startcl:${bindir}:${starjavadir}/bin" # # Prepend Starlink JRE (and JDK) paths to PATH. # Do JRE after JDK so that the JRE takes precidence. JREHOME=${exec_prefix}/java/jre/bin JDKHOME=${exec_prefix}/java/bin if test -d ${JDKHOME}; then export PATH="${JDKHOME}:${PATH}" fi if test -d ${JREHOME}; then export PATH="${JREHOME}:${PATH}" fi unset JREHOME JDKHOME # Check if LD_LIBRARY_PATH is set, needed on all platforms # that have shareable libraries, plus all platforms that # have Java JNI libraries. # Is LD_LIBRARY_PATH set? if test "${LD_LIBRARY_PATH}" != ""; then # LD_LIBRARY_PATH is set. Search it for required components and # Set appropriate flag variables. found_sharelib="no" if test "`echo ${LD_LIBRARY_PATH} | grep -c ':${sharelibdir}'`" != "0"; then found_sharelib="yes" fi if test "`echo ${LD_LIBRARY_PATH} | grep -c '^${sharelibdir}'`" != "0"; then found_sharelib="yes" fi # Add required components to end of LD_LIBRARY_PATH if flag variables # indicate they are not present. if test "$found_sharelib" == "no"; then export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${sharelibdir}" case "x86_64-unknown-linux-gnu" in *-osf*) export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${starjavadir}/lib/alpha" ;; x86_64*-linux*) export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${starjavadir}/lib/amd64" ;; *-linux*) export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${starjavadir}/lib/i386" ;; *-cygwin*) export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${starjavadir}/lib/x86" ;; *-sun*) export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${starjavadir}/lib/sparc" ;; *pc-apple-darwin*) export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${starjavadir}/lib/ppc" ;; *86*-apple-darwin*) export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${starjavadir}/lib/i386" ;; esac fi else # LD_LIBRARY_PATH is not set. Add required components. export LD_LIBRARY_PATH=${sharelibdir} case "x86_64-unknown-linux-gnu" in *-osf*) export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${starjavadir}/lib/alpha" ;; x86_64*-linux*) export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${starjavadir}/lib/amd64" ;; *-linux*) export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${starjavadir}/lib/i386" ;; *-cygwin*) export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${starjavadir}/lib/x86" ;; *-sun*) export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/openwin/lib:${starjavadir}/lib/sparc" ;; *pc-apple-darwin*) export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${starjavadir}/lib/ppc" ;; *86*-apple-darwin*) export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${starjavadir}/lib/i386" ;; esac fi # Define the Starlink environment first # ATOOLS if test -f ${bindir}/atools/atools.sh; then export ATOOLS_DIR=${bindir}/atools export ATOOLS_HELP=${starhelpdir}/atools/atools fi # AUTOASTROM if test -f ${exec_prefix}/Perl/bin/autoastrom; then export AUTOASTROM_DIR=${exec_prefix}/Perl/bin fi # CCDPACK if test -f ${bindir}/ccdpack/ccdpack.sh; then export CCDPACK_DIR=${bindir}/ccdpack export CCDPACK_HELP=${starhelpdir}/ccdpack/ccdpack fi # Convert if test -f ${bindir}/convert/convert.sh; then export CONVERT_DIR=${bindir}/convert export CONVERT_HELP=${starhelpdir}/convert/convert fi # CUPID if test -f ${bindir}/cupid/cupid.sh; then export CUPID_DIR=${bindir}/cupid export CUPID_HELP=${starhelpdir}/cupid/cupid fi # DATACUBE if test -f ${bindir}/datacube/datacube.csh; then export DATACUBE_DIR=${bindir}/datacube export DATACUBE_HELP=${starhelpdir}/datacube/datacube fi # ESP if test -f ${bindir}/esp/esp.sh; then export ESP_DIR=${bindir}/esp export ESP_HELP=${starhelpdir}/esp/esp fi # # EXTRACTOR if test -f ${bindir}/extractor/extractor.sh; then export EXTRACTOR_DIR=${bindir}/extractor export EXTRACTOR_HELP=${starhelpdir}/extractor/extractor fi # FIGARO if test -f ${bindir}/figaro/figaro.csh; then export FIG_DIR=${bindir}/figaro export FIG_HELP=${starhelpdir}/figaro/figaro export FIG_HTML=${exec_prefix}/docs/sun86.htx export FIGARO_FORMATS="ndf,dst" export FIGARO_PROG_S=${staretcdir}/figaro export FIGARO_PROG_N=${bindir}/figaro fi # Fluxes - note that we can run with fluxes.csh # (assuming that csh exists on the system) if test -f ${bindir}/fluxes/fluxes.csh; then export FLUXES_DIR=${bindir}/fluxes fi # GAIA if test -f ${bindir}/gaia/gaia.sh; then export GAIA_DIR=${bindir}/gaia fi # HDSTOOLS if test -f ${bindir}/hdstools/hdstools.sh; then export HDSTOOLS_DIR=${bindir}/hdstools export HDSTOOLS_HELP=${starhelpdir}/hdstools/hdstools fi # HDSTRACE if test -f ${bindir}/hdstrace; then export HDSTRACE_DIR=${bindir} export HDSTRACE_HELP=${starhelpdir}/hdstrace fi # ICL if test -f ${bindir}/icl; then export ADAM_PACKAGES=${starhelpdir}/adam_packages.shl export ICL_LOGIN_SYS=${staretcdir}/icl_login_sys.icl fi # JPL if test -f ${staretcdir}/jpleph.dat; then export JPL_DIR=${staretcdir} fi # Kappa if test -f ${bindir}/kappa/kappa.sh; then export KAPPA_DIR=${bindir}/kappa export KAPPA_HELP=${starhelpdir}/kappa/kappa fi # Kappa Retirement Home (kaprh) if test -f ${bindir}/kaprh/kaprh.sh; then export KAPRH_DIR=${bindir}/kaprh export KAPRH_HELP=${starhelpdir}/kaprh/kaprh fi # ORAC-DR if test -f ${bindir}/oracdr/src/etc/oracdr_start.sh; then export ORAC_DIR=${bindir}/oracdr/src export ORAC_PERL5LIB=${ORAC_DIR}/lib/perl5 export ORAC_CAL_ROOT=${bindir}/oracdr/cal else if test -f ${bindir}/oracdr/etc/oracdr_start.sh; then export ORAC_DIR=${bindir}/oracdr export ORAC_PERL5LIB=${ORAC_DIR}/lib/perl5 export ORAC_CAL_ROOT=${ORAC_DIR}/cal fi fi # PERIOD if test -f ${bindir}/period/period; then export PERIOD_DIR=${bindir}/period export PERIOD_HELP=${starhelpdir}/period fi # PERL if [ ${relocate} -ne 0 ]; then export PERL5LIB=${exec_prefix}/Perl/lib/perl5/site_perl export PERL5LIB=${exec_prefix}/Perl/lib/perl5/:${PERL5LIB} fi # PGPLOT if test -z "${PGPLOT_DIR}"; then export PGPLOT_DIR=${bindir}/ fi # PHOTOM if test -f ${bindir}/photom/photom.sh; then export PHOTOM_DIR=${bindir}/photom export PHOTOM_HELP=${starhelpdir}/photom/photomhelp fi # Polpack if test -f ${bindir}/polpack/polpack.sh; then export POLPACK_DIR=${bindir}/polpack export POLPACK_HELP=${starhelpdir}/polpack/polpack fi # # PONGO # if test -f ${bindir}/pongo/pongo.icl; then export PONGO_BIN=${bindir}/pongo export PONGO_HELP=${starhelpdir}/pongo/pongohelp export PONGO_EXAMPLES=${datadir}/pongo fi # SMURF if test -f ${bindir}/smurf/smurf.sh; then export SMURF_DIR=${bindir}/smurf export SMURF_HELP=${starhelpdir}/smurf/smurf fi # # SOURCEPLOT if test -f ${exec_prefix}/Perl/etc/poi.dat; then export SPLOT_CAT=${exec_prefix}/Perl/etc/poi.dat fi # # SPECX # if test -f ${datadir}/specx/specxstart.sh; then export SYS_SPECX=${datadir}/specx export SPECX_HELP=${starhelpdir}/specx fi # SPLAT if test -f ${starjavadir}/bin/splat/splat; then export SPLAT_DIR=${starjavadir}/bin/splat fi # SST if test -f ${bindir}/sst/sst.sh; then export SST_DIR=${bindir}/sst export SST_HELP=${starhelpdir}/sst/sst fi # STARBENCH if test -f ${bindir}/starbench/starbench.sh; then export BENCH_DIR=${bindir}/starbench fi # STARMAN if test -f ${bindir}/starman/starman.sh; then export STARMAN_DIR=${bindir}/starman export STARMAN_HELP=${starhelpdir}/starman export STARMAN_DATA=${staretcdir}/starman fi # STILTS if test -x ${starjavadir}/bin/stilts; then export STILTS_DIR=${starjavadir}/bin/stilts fi # SURF if test -f ${bindir}/surf/surf.sh; then export SURF_DIR=${bindir}/surf export SURF_HELP=${starhelpdir}/surf/surf fi # TSP if test -f ${bindir}/tsp/tsp.sh; then export TSP_DIR=${bindir}/tsp fi # Aliases # Use sh functions rather than bash aliases for improved # portability. Use 'declare -F' in bash to list all the functions. # ATOOLS if test -f ${bindir}/atools/atools.sh; then atools () { . $ATOOLS_DIR/atools.sh; } atools () { . $ATOOLS_DIR/atools.sh; } else atools () { ${staretcdir}/notinst atools; } atoolssetup () { ${staretcdir}/notinst atools; } fi # AUTOASTROM if test -f ${exec_prefix}/Perl/bin/autoastrom; then autoastrom () { ${exec_prefix}/Perl/bin/perl $AUTOASTROM_DIR/autoastrom; } else autoastrom () { ${staretcdir}/notinst autoastrom; } fi # CCDPACK if test -f ${bindir}/ccdpack/ccdpack.sh; then ccdpack () { . $CCDPACK_DIR/ccdpack.sh; } ccdpacksetup () { . $CCDPACK_DIR/ccdpack.sh; } else ccdpack () { ${staretcdir}/notinst ccdpack; } ccdpacksetup () { ${staretcdir}/notinst ccdpack; } fi # CONVERT if test -f ${bindir}/convert/convert.sh; then convert () { . $CONVERT_DIR/convert.sh; } convertsetup () { . $CONVERT_DIR/convert.sh; } else convert () { ${staretcdir}/notinst convert; } convertsetup () { ${staretcdir}/notinst convert; } fi # CUPID if test -f ${bindir}/cupid/cupid.sh; then cupid () { . $CUPID_DIR/cupid.sh; } cupidsetup () { . $CUPID_DIR/cupid.sh; } else cupid () { ${staretcdir}/notinst cupid; } cupidsetup () { ${staretcdir}/notinst cupid; } fi # DATACUBE if test -f ${bindir}/datacube/datacube.sh; then datacube () { . $DATACUBE_DIR/datacube.sh; } datacubestart () { . $DATACUBE_DIR/datacube.sh; } datacubesetup () { . $DATACUBE_DIR/datacube.sh; } else datacube () { ${staretcdir}/notinst datacube; } datacubestart () { ${staretcdir}/notinst datacubestart; } datacubesetup () { ${staretcdir}/notinst datacubesetup; } fi # DIPSO if test -f ${bindir}/dipso/dipsosetup.sh; then export DIPSODIR=${bindir}/dipso dipsosetup () { . $DIPSODIR/dipsosetup.sh; } dipso () { . $DIPSODIR/dipsosetup.sh; } else dipsosetup () { ${staretcdir}/notinst dipsosetup; } dipso () { ${staretcdir}/notinst dipso; } fi # ESP if test -f ${bindir}/esp/esp.sh; then esp () { . $ESP_DIR/esp.sh; } espsetup () { . $ESP_DIR/esp.sh; } else esp () { ${staretcdir}/notinst esp; } espsetup () { ${staretcdir}/notinst esp; } fi # # Extractor # if test -f ${bindir}/extractor/extractor.sh; then extractorsetup () { . $EXTRACTOR_DIR/extractor.sh; } extractsetup () { . $EXTRACTOR_DIR/extractor.sh; } extractor () { . $EXTRACTOR_DIR/extractor.sh; } extract () { . $EXTRACTOR_DIR/extractor.sh; } else extractorsetup () { ${staretcdir}/notinst extractorsetup; } extractsetup () { ${staretcdir}/notinst extractsetup; } extractor () { ${staretcdir}/notinst extractor; } extract () { ${staretcdir}/notinst extract; } fi # FIGARO if test -f ${bindir}/figaro/figaro.sh; then figaro () { . $FIG_DIR/figaro.sh; } figarosetup () { . $FIG_DIR/figaro.sh; } specdre () { . $FIG_DIR/specdre.sh; } specdresetup () { . $FIG_DIR/specdre.sh; } twodspec () { . $FIG_DIR/twodspec.sh; } twodspecsetup () { . $FIG_DIR/twodspec.sh; } else figaro () { ${staretcdir}/notinst figaro; } figarosetup () { ${staretcdir}/notinst figarosetup; } specdre () { ${staretcdir}/notinst specdre; } specdresetup () { ${staretcdir}/notinst specdresetup; } twodspec () { ${staretcdir}/notinst twodspec; } twodspecsetup () { ${staretcdir}/notinst twodspecsetup; } fi # Fluxes if test -f ${bindir}/fluxes/fluxes; then fluxes () { $FLUXES_DIR/fluxes.csh; } fluxnow () { $FLUXES_DIR/fluxnow.csh; } else fluxes () { ${staretcdir}/notinst fluxes; } fluxnow () { ${staretcdir}/notinst fluxnow; } fi # # Gaia # if test -f ${bindir}/gaia/gaia.sh; then gaia () { $GAIA_DIR/gaia.sh ${1+"$@"}; } gaiadisp () { $GAIA_DIR/gaiadisp.sh ${1+"$@"}; } else gaia () { ${staretcdir}/notinst gaia; } gaiadisp () { ${staretcdir}/notinst gaiadisp; } fi # Kappa if test -f ${bindir}/kappa/kappa.sh; then kappa () { . $KAPPA_DIR/kappa.sh; } kappasetup () { . $KAPPA_DIR/kappa.sh; } else kappa () { ${staretcdir}/notinst kappa; } kappasetup () { ${staretcdir}/notinst kappa; } fi # Kappa Retirement Home (KAPRH) if test -f ${bindir}/kaprh/kaprh.sh; then kaprh () { . $KAPRH_DIR/kaprh.sh; } kaprhsetup () { . $KAPRH_DIR/kaprh.sh; } else kaprh () { ${staretcdir}/notinst kaprh; } kaprhsetup () { ${staretcdir}/notinst kaprh; } fi # HDSTOOLS if test -f ${bindir}/hdstools/hdstools.sh; then hdstools () { . $HDSTOOLS_DIR/hdstools.sh; } hdstoolssetup () { . $HDSTOOLS_DIR/hdstools.sh; } else hdstools () { ${staretcdir}/notinst hdstools; } hdstoolssetup () { ${staretcdir}/notinst hdstools; } fi # ORAC-DR if test -f ${bindir}/oracdr/src/etc/profile; then source ${bindir}/oracdr/src/etc/profile else if test -f ${bindir}/oracdr/etc/profile; then source ${bindir}/oracdr/etc/profile else oracdr_acsis () { ${staretcdir}/notinst oracdr_acsis; } oracdr_cgs4 () { ${staretcdir}/notinst oracdr_cgs4; } oracdr_classiccam () { ${staretcdir}/notinst oracdr_classiccam; } oracdr_gmos () { ${staretcdir}/notinst oracdr_gmos; } oracdr_ingrid () { ${staretcdir}/notinst oracdr_ingrid; } oracdr_ircam () { ${staretcdir}/notinst oracdr_ircam; } oracdr_ircam_old () { ${staretcdir}/notinst oracdr_ircam_old; } oracdr_iris2 () { ${staretcdir}/notinst oracdr_iris2; } oracdr_isaac () { ${staretcdir}/notinst oracdr_isaac; } oracdr_michelle () { ${staretcdir}/notinst oracdr_michelle; } oracdr_naco () { ${staretcdir}/notinst oracdr_naco; } oracdr_niri () { ${staretcdir}/notinst oracdr_niri; } oracdr_scuba () { ${staretcdir}/notinst oracdr_scuba; } oracdr_scuba2l () { ${staretcdir}/notinst oracdr_scuba2l; } oracdr_scuba2s () { ${staretcdir}/notinst oracdr_scuba2s; } oracdr_scuba2lq () { ${staretcdir}/notinst oracdr_scuba2lq; } oracdr_scuba2sq () { ${staretcdir}/notinst oracdr_scuba2sq; } oracdr_sofi () { ${staretcdir}/notinst oracdr_sofi; } oracdr_spex () { ${staretcdir}/notinst oracdr_spex; } oracdr_swfcam () { ${staretcdir}/notinst oracdr_swfcam; } oracdr_swfcam1 () { ${staretcdir}/notinst oracdr_swfcam1; } oracdr_swfcam2 () { ${staretcdir}/notinst oracdr_swfcam2; } oracdr_swfcam3 () { ${staretcdir}/notinst oracdr_swfcam3; } oracdr_swfcam4 () { ${staretcdir}/notinst oracdr_swfcam4; } oracdr_ufti () { ${staretcdir}/notinst oracdr_ufti; } oracdr_ufti_old () { ${staretcdir}/notinst oracdr_ufti_old; } oracdr_uist () { ${staretcdir}/notinst oracdr_uist; } xoracdr () { ${staretcdir}/notinst xoracdr; } fi fi # Polpack if test -f ${bindir}/polpack/polpack.sh; then polpack () { . $POLPACK_DIR/polpack.sh; } polpacksetup () { . $POLPACK_DIR/polpack.sh; } else polpack () { ${staretcdir}/notinst polpack; } polpacksetup () { ${staretcdir}/notinst polpack; } fi # # Photom # if test -f ${bindir}/photom/photom.sh; then photomstart () { . $PHOTOM_DIR/photom.sh; } photom () { . $PHOTOM_DIR/photom.sh; } photomsetup () { . $PHOTOM_DIR/photom.sh; } else photomstart () { ${staretcdir}/notinst photomstart; } photom () { ${staretcdir}/notinst photom; } photomsetup () { ${staretcdir}/notinst photomsetup; } fi # # Pongo # if test -f ${bindir}/pongo/pongo.icl; then pongo () { icl $PONGO_BIN/pongo; } else pongo () { ${staretcdir}/notinst pongo; } fi # SMURF - SCUBA-2 SURF if test -f ${bindir}/smurf/smurf.sh; then smurf () { . $SMURF_DIR/smurf.sh; } smurfsetup () { . $SMURF_DIR/smurf.sh; } else smurf () { ${staretcdir}/notinst smurf; } smurfsetup () { ${staretcdir}/notinst smurf; } fi # # SPECX # if test -f ${datadir}/specx/specxstart.sh; then specx () { . $SYS_SPECX/specxstart.sh; command specx; } specxsetup () { . $SYS_SPECX/specxstart.sh; } specxstart () { . $SYS_SPECX/specxstart.sh; } else specx () { ${staretcdir}/notinst specx; } specxsetup () { ${staretcdir}/notinst specxsetup; } specxstart () { ${staretcdir}/notinst specxstart; } fi # SPLAT if test -f ${starjavadir}/bin/splat/splat; then splat () { $SPLAT_DIR/splat ${1+"$@"}; } splatdisp () { $SPLAT_DIR/splatdisp ${1+"$@"}; } splatdispmany () { $SPLAT_DIR/splatdispmany ${1+"$@"}; } else splat () { ${staretcdir}/notinst splat; } splatdisp () { ${staretcdir}/notinst splat; } splatdispmany () { ${staretcdir}/notinst splat; } fi # SST if test -f ${bindir}/sst/sst.sh; then sst () { . $SST_DIR/sst.sh; } sstsetup () { . $SST_DIR/sst.sh; } else sst () { ${staretcdir}/notinst sst; } sstsetup () { ${staretcdir}/notinst sst; } fi # STARBENCH if test -f ${bindir}/starbench/starbench.sh; then starbench () { . $BENCH_DIR/starbench.sh; } else starbench () { ${staretcdir}/notinst starbench; } fi # STARMAN if test -f ${bindir}/starman/starman.sh; then starman () { . $STARMAN_DIR/starman.sh; } starmansetup () { . $STARMAN_DIR/starman.sh; } else starman () { ${staretcdir}/notinst starman; } starmansetup () { ${staretcdir}/notinst starman; } fi # SURF if test -f ${bindir}/surf/surf.sh; then surf () { . $SURF_DIR/surf.sh; } surfsetup () { . $SURF_DIR/surf.sh; } else surf () { ${staretcdir}/notinst surf; } surfsetup () { ${staretcdir}/notinst surf; } fi # TSP if test -f ${bindir}/tsp/tsp.sh; then tsp () { . $TSP_DIR/tsp.sh; } tspsetup () { . $TSP_DIR/tsp.sh; } else tsp () { ${staretcdir}/notinst tsp; } tspsetup () { ${staretcdir}/notinst tsp; } fi # # Unset local shell variables to prevent them from leaking out unset exec_prefix unset bindir unset staretcdir unset starhelpdir unset libdir unset sharelibdir unset datadir unset mandir unset starjavadir # # ADAM_ABBRV environment variable to allow abbreviated parameters. export ADAM_ABBRV=1 # 64-bit mode for HDS export HDS_64BIT=1 # Done export STAR_LOGIN=''

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

December 2023
November 2023
August 2023
July 2023
May 2023
April 2023
March 2023
February 2023
January 2023
November 2022
October 2022
August 2022
July 2022
June 2022
April 2022
January 2022
December 2021
October 2021
May 2021
February 2021
November 2020
October 2020
August 2020
July 2020
June 2020
February 2020
November 2019
October 2019
September 2019
July 2019
June 2019
May 2019
April 2019
March 2019
December 2018
November 2018
October 2018
September 2018
July 2018
June 2018
April 2018
January 2018
December 2017
October 2017
August 2017
July 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
September 2016
July 2016
June 2016
April 2016
March 2016
February 2016
December 2015
November 2015
October 2015
September 2015
May 2015
April 2015
March 2015
February 2015
October 2014
August 2014
July 2014
June 2014
May 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
January 2007
November 2006
October 2006
September 2006
August 2006
July 2006
April 2006
March 2006
February 2006
December 2004
September 2004


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager