#!/bin/csh -f
#	Script to replace zhide.  Instead run zctl [hide|unhide]
#
#	MIT Project Athena
#
#	$Source: /mit/zephyr/src/clients/RCS/zhide.sh,v $
#	$Author: jtkohl $
#	$Header: zhide.sh,v 1.4 88/07/07 11:44:07 jtkohl Exp $
#
#	Copyright (c) 1988, Massachusetts Institute of Technology.
#	All Rights Reserved.
#
if ($#argv > 1) then
   echo "Usage: zhide [y|n]"
   exit 1
endif
echo "The functionality of zhide has been incorporated into zctl."
echo "You should use zctl directly to hide or unhide, rather"
echo "than using zhide.  For this release, however, zhide will"
echo "continue to work."
set hide=hide
if ($#argv == 1) then
   switch ($argv[1])
   case n:
	set hide=unhide
   endsw
endif
exec /usr/athena/zctl $hide
echo "Couldn't exec /usr/athena/zctl"
exit 1
