#!/bin/csh -f #+ # west -- move the telescope west # # Purpose: # Move the telescope the given number of arcsec WEST relative to # its current position # # Usage: # west x # # Arguments: # x = number of arcseconds to move WEST; negative values indicate # EAST movement # # Exit values: # 0 = normal completion # 1 = wrong number of arguments # # Example: # 1) Move the telescope west by 10 arcsec: # west 10 # 2) Move the telescope east by 10 arcsec: # west -10 # #- # Modification history: # Date unknown RWG Original version # 2000-Jul-05 GDW Added documentation #----------------------------------------------------------------------- # check args... if (${#argv} != 1) then echo "Usage: west x" exit 1 endif # negate the offset... set x = `calc "-1*$1"` # make the move... en $x 0