1 XCOMM! CDE_INSTALLATION_TOP/bin/dtksh
2 XCOMM $XConsortium: WorkProcTest1.src /main/3 1996/04/23 20:19:16 drk $
4 XCOMM #########################################################################
5 XCOMM (c) Copyright 1993, 1994 Hewlett-Packard Company
6 XCOMM (c) Copyright 1993, 1994 International Business Machines Corp.
7 XCOMM (c) Copyright 1993, 1994 Sun Microsystems, Inc.
8 XCOMM (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary of
10 XCOMM #########################################################################
14 XCOMM This sample shell script demonstrates the usage of an Xt workproc
19 XCOMM The work proc will be called five time, at which point it will return
20 XCOMM '1', which will cause it to be automatically unregistered.
24 echo "WorkProc1 ("$count")"
34 XCOMM ###################### Create the Main UI ###############################
36 XtInitialize TOPLEVEL workProcTest1 WorkProcTest1 "$0" "$@"
38 XtAddWorkProc ID1 "WorkProc1"