:
#**********************************************************************#
#*                                                                    *#
#* Copyright (c) 2001 by Sun Microsystems, Inc.                       *#
#* All rights reserved.                                               *#
#*                                                                    *#
#**********************************************************************#


#* $Date:   22 Mar 1999 09:38:04  $
#* $Modtime:   22 Mar 1999 09:37:42  $

# ***********************************************
# $Workfile:   unikixold.sh  $ $Revision:   1.0  $
# ***********************************************

#*
#* $Log:   /home/prodsup/daved/unikix/warn6.0.0.0/unikixsrc/network/servers/unikixl/PVCS/unikixold.shv  $
#
#   Rev 1.0   22 Mar 1999 09:38:04   daved
#Initial 6.0
#
#   Rev 1.0   05/22/97 17:21:34   unikix
#Initial 5.1
#
#   Rev 1.0   04/19/96 14:40:14   unikix
#Initial revision.
#
#   Rev 1.0   12/28/94 15:35:18   unikix
#Initial revision (from V410ad)
#
#   Rev 1.1.1.0   11/18/93 18:59:58   unikix
#UniKix 4.1 baseline (from V400m)
#
#   Rev 1.1   07/13/93 11:26:34   alan
#Start first line with : to allow use with C shell
#
#   Rev 1.0   07/01/93 17:36:06   alan
#Initial revision.
#*

# old version of unikix.sh -- does not use getopts, which is not
# supported on some platforms
# call Sun MTP terminal processor, local or remote
# params: D:d:F:f:k:L:l:M:m:P:p:S:s:T:t:Uu

OPTIONS=""

set -- `getopt D:d:F:f:k:L:l:M:m:P:p:S:s:T:t:Uu $*`

while test "$1" != "--"
do
    case $1 in
    -D|-d)
        shift
        OPTIONS="$OPTIONS -D $1"
        ;;
    -F|-f)
        shift
        OPTIONS="$OPTIONS -f $1"
        ;;
    -k)
        shift
        OPTIONS="$OPTIONS -k $1"
        ;;
    -l)
        shift
        OPTIONS="$OPTIONS -l $1"
        ;;
    -L)
        shift
        OPTIONS="$OPTIONS -L $1"
        ;;
    -M|-m)
        shift
        OPTIONS="$OPTIONS -m $1"
        ;;
    -P|-p)
        shift
        OPTIONS="$OPTIONS -p $1"
        ;;
    -S|-s)
        shift
        OPTIONS="$OPTIONS -s $1"
        ;;
    -T)
        shift
        OPTIONS="$OPTIONS -T $1"
        ;;
    -t)
        shift
        OPTIONS="$OPTIONS -t $1"
        ;;
    -U|-u)
        OPTIONS="$OPTIONS -u"
        ;;
    *)
        exit 1
        # illegal option encountered
        ;;
    esac
    shift
done

$UNIKIX/bin/unikixl $OPTIONS
