/usr/bin/gcaps is in ncl-ncarg 6.3.0-13.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | #!/bin/csh -f
#
# $Id: gcaps.csh,v 1.10 2008-07-27 03:58:55 haley Exp $
#
# Copyright (C) 2000
# University Corporation for Atmospheric Research
# All Rights Reserved
#
# The use of this Software is governed by a License Agreement.
#
# Name gcaps
#
# Author John Clyne
#
# Date Wed Jun 27 13:23:39 MDT 1990
#
# Desc. Report all the graphcaps installed in the graphcap
# directory.
#
set version = "6.3.0"
set dir = `ncargpath graphcaps`
if ($status != 0) then
exit 1
endif
foreach arg ($argv)
switch ($arg)
case "-V"
echo "${0}: Version $version"
exit 0
default:
echo "Usage: $0 [-V]"
exit 1
endsw
end
if (! -d "$dir") then
echo "Graphcap directory <$dir> does not exist."
exit 1
endif
cd $dir
echo "The following graphcaps are installed in ${dir}:"
foreach gcap ("" *)
echo " $gcap"
end
echo ""
echo "The following device specifiers are also valid:"
foreach device ("" sun xwd nrif hdf avs sgi hppcl CTXT X11)
echo " $device"
end
|