Annotation of 43BSDReno/contrib/isode-beta/others/quipu/uips/sd/x29/startup, revision 1.1

1.1     ! root        1: #!/bin/csh
        !             2: set path = (/bin /usr/ucb)
        !             3: 
        !             4: # Name of the logfile
        !             5: setenv LOGFILE CALL_LOG
        !             6: 
        !             7: # The directory name here should match the one the file lives in.
        !             8: setenv HOME /usr/local/lib/public-widget
        !             9: 
        !            10: # These are just to make life a little more difficult for a hacker
        !            11: setenv PAGER /bin/cat
        !            12: setenv SHELL /bin/csh
        !            13: setenv USER x29x500
        !            14: setenv EDITOR /bin/false
        !            15: 
        !            16: cd $HOME
        !            17: 
        !            18: echo CALL `date` "    " `/bin/tty` $1 >> $LOGFILE
        !            19: 
        !            20: # Introductory message
        !            21: #
        !            22: /bin/cat <<END_OF_MESSAGE
        !            23: 
        !            24: UK.AC.BRUNEL.DIR
        !            25: 
        !            26: This is a public access point for the X.500 Directory service.
        !            27: 
        !            28: ******* NEW USER INTERFACE
        !            29: *******
        !            30: ******* On 17 January the widget user interface was replaced with
        !            31: ******* the sd (Screen Directory) interface.
        !            32: *******
        !            33: ******* sd works in a similar way, but should be easier to use
        !            34: ******* Please let us know what you think
        !            35: 
        !            36: The user interface is an experimental one that operates in full-screen mode.
        !            37: To do this, it needs to know what type of terminal you are using.
        !            38: Most common types are understood, provided you type the name in lower-case
        !            39: letters only. Examples are: vt100 vt52 tvi cif2605 xterm
        !            40: 
        !            41: Please give your terminal type now:
        !            42: END_OF_MESSAGE
        !            43: 
        !            44: # Try to do something sensible about terminal types - difficult...
        !            45: #
        !            46: alias ts 'set noglob; eval `tset -s ?${TERM}`'
        !            47: 
        !            48: while ($TERM == network)
        !            49:        ts
        !            50: end
        !            51: 
        !            52: # Find size of remote xterm. (Fix pathname here to match your system)
        !            53: # Delete this section if you do not have X
        !            54: if ($TERM == xterm) then
        !            55:         stty -echo
        !            56:        eval /usr/local/lib/X11/share/bin/resize >/dev/null
        !            57:        stty echo
        !            58: endif
        !            59: 
        !            60: echo TERM `date` "    " `/bin/tty` $TERM $1 $2 >> $LOGFILE
        !            61: 
        !            62: echo "Running SD Directory Service"
        !            63: 
        !            64: # Either put a local copy of SD in this directory or change the pathname
        !            65: # to match the normal installed copy
        !            66: ./xsd
        !            67: 
        !            68: # End of session message
        !            69: cat <<END_OF_SIGNOFF
        !            70: 
        !            71: If you have any comments on the interface or the X.500 Directory service,
        !            72: please mail them to X500@brunel
        !            73: 
        !            74: END_OF_SIGNOFF
        !            75: 
        !            76: echo "OFF " `date` "    " `/bin/tty` $TERM $1 >> $LOGFILE
        !            77: 
        !            78: # Delay before closing call, as some PADs clear screen and we want a chance
        !            79: # to read the signoff message
        !            80: sleep 2

unix.superglobalmegacorp.com

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