Annotation of researchv10no/dk/cmd/distribute, revision 1.1

1.1     ! root        1: # each ${exchg} bin has a full set of /usr/bin commands.
        !             2: # some machine name commands are links to /usr/bin/rx,
        !             3: # others are linked to /usr/dk/genbin/exchange-name.
        !             4: # /usr/dk/exchangesys is a list of systems in exchange.
        !             5: #
        !             6: echo -n Your distributed name?
        !             7: read name
        !             8: echo -n Your system?
        !             9: read unix
        !            10: T=/tmp/asdk$$
        !            11: rm -f $T
        !            12: trap "rm -f $T ; stty echo ; exit 0" 1 2 3 15
        !            13: stty -echo
        !            14: echo -n Key:
        !            15: read key
        !            16: stty echo
        !            17: echo
        !            18: umask 077
        !            19: trap '' 1
        !            20: echo $key >$T
        !            21: for exchg in wonder astro phone bistro
        !            22: do
        !            23:        mkpkg -D/usr/dk/${exchg}bin=/usr/bin  -D/usr/dk/genlib=/usr/lib /usr/dk/${exchg}bin/* \
        !            24:                /usr/dk/Tdcon /usr/dk/genlib/*  > /tmp/X$$
        !            25:        echo You are $unix!$name
        !            26:        seal -K $T /tmp/X$$ > /tmp/Y$$
        !            27:        rm /tmp/X$$
        !            28:        for i in `cat /usr/dk/${exchg}sys`
        !            29:        do
        !            30:                echo ${exchg}/$i
        !            31:                rx ${exchg}/$i /etc/asd/asdrcv $unix $name </tmp/Y$$
        !            32:                if [ $? != 0 ]
        !            33:                then
        !            34:                        echo ${exchg}/$i not up - using uucp
        !            35:                        uux - "$i!asdrcv $unix $name" < /tmp/Y$$
        !            36:                fi
        !            37:        done
        !            38:        rm /tmp/Y$$
        !            39: done

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.