#!/bin/csh # $XConsortium: RUN.custom /main/5 1996/08/15 14:02:02 jakku $ # @OPENGROUP_COPYRIGHT@ # COPYRIGHT NOTICE # Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc. # Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group # ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for # the full copyright text. # # This software is subject to an open license. It may only be # used on, with or for operating systems which are themselves open # source systems. You must contact The Open Group for a license # allowing distribution and sublicensing of this software on, with, # or for operating systems which are not Open Source programs. # # See http://www.opengroup.org/openmotif/license for full # details of the license agreement. Any use, reproduction, or # distribution of the program constitutes recipient's acceptance of # this agreement. # # EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS # PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY # WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY # OR FITNESS FOR A PARTICULAR PURPOSE # # EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT # NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE # EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGES. # # # HISTORY # # DISPLAY would be set one way or the other by this time # set system = `uname` if ($system == HP-UX) then set xdpyinfo_com = "/usr/local/bin/X11/xdpyinfo" else set xdpyinfo_com = "/usr/bin/X11/xdpyinfo" endif set resolution=`$xdpyinfo_com | grep resolution | awk '{print $2}'` setenv AUTOVPATH /proj/motif/tests/visuals/uil/ResInd/$resolution # The following needed for Vista and Purify usage setenv TOP ../../.. set displayUid1 = 'displayUid1 -u ResInd -I ResInd.Dat -S ResInd.Scr -O ResInd.prt -V ResInd.vis' set displayUid2 = 'displayUid -u EnumVal2 -I EnumVal2.Dat -S EnumVal2.Scr -V EnumVal2.vis -O EnumVal2.prt' set displayUid3 = 'displayUid -u EnumVal3 -I EnumVal3.Dat -S EnumVal3.Scr -V EnumVal3.vis -O EnumVal3.prt' set displayUid4 = 'displayUid -u ForRef4 -I ForRef4.Dat -S ForRef4.Scr -V ForRef4.vis -O ForRef4.prt' set displayUid5 = 'displayUid1 -u label -I label.Dat -S label.Scr -O label.prt -V label.vis' set displayUid6 = 'displayUid1 -u pushBtn -I pushBtn.Dat -S pushBtn.Scr -O pushBtn.prt -V pushBtn.vis' foreach test ("$displayUid1" "$displayUid2" "$displayUid3" \ "$displayUid4" "$displayUid5" "$displayUid6" )