#!/bin/csh -f
#+
# observer -- set/show observer name(s)
#
# Purpose:
#	With no arguments, show the current setting for the OBSERVER
#	keyword.  With an argument, reset the value of the OBSERVER
#	keyword to the given string.
#
# Usage:
#	observer [value]
# 
# Arguments:
#	value = new valeu for the OBSERVER keyword
# 
# Output:
#	Value of the OBSERVER string is written to stdout
# 
# Restrictions:
#	Names containing characters with special meaning to the shell
#	(e.g., *()!&#) must be enclosed within double quotes (").
# 
# Exit values:
#	 0 = normal completion
#
# Example:
#	1) show the current observer name:
#		observer
#	2) reset the current observer name to "Bigshot Astronomer":
#		observer Bigshot Astronomer
#	3) reset the current observer name to "Tinker, Evers, & Chance":
#		observer "Tinker, Evers, & Chance"
#-
# Modification history:
#	Date unknown	???	Original version
#	2000-Jul-04	GDW	Added description
#       2002-Jun-06     GDW     Adapted for DEIMOS
#-----------------------------------------------------------------------
if (${#argv} > 0) then
  modify -s deiccd observer = "$*"
else
  show -s deiccd -terse observer
endif