Locus was a very popular command-line oriented database tool used on TFTR. To run:
module load nstx setenv IDL_PATH "$NSTXUSR/util/locus/:${IDL_PATH}" >>> if you are using the bash shell, the above line should be: export IDL_PATH="$NSTXUSR/util/locus/:${IDL_PATH}" idl IDL> locus ; follow prompts