From: eric@sactoh0.SAC.CA.US (Eric J. Nihill) Newsgroups: alt.sources,pubnet.sources Subject: cit301.part1 Message-ID: <4378@sactoh0.SAC.CA.US> Date: 25 Nov 90 21:26:42 GMT #! /bin/sh # This is a shell archive, meaning: # 1. Remove everything above the #! /bin/sh line. # 2. Save the resulting text in a file. # 3. Execute the file with /bin/sh (not csh) to create: # backupfiles # backupmain # subsystem # utilsmenu # This archive created: Sun Nov 25 13:06:51 1990 export PATH; PATH=/bin:/usr/bin:$PATH echo shar: "extracting 'backupfiles'" '(63 characters)' if test -f 'backupfiles' then echo shar: "will not over-write existing file 'backupfiles'" else cat << \SHAR_EOF > 'backupfiles' echo echo "Backing up the files directories" echo tar cv files SHAR_EOF fi echo shar: "extracting 'backupmain'" '(415 characters)' if test -f 'backupmain' then echo shar: "will not over-write existing file 'backupmain'" else cat << \SHAR_EOF > 'backupmain' # mv citadel citadel.hold cat >citadel < 'subsystem' echo echo The program in `pwd`/subsystem is run when \* is pressed. echo SHAR_EOF fi echo shar: "extracting 'utilsmenu'" '(1138 characters)' if test -f 'utilsmenu' then echo shar: "will not over-write existing file 'utilsmenu'" else cat << \SHAR_EOF > 'utilsmenu' # Citadel/UX Utilities Menu (shell script) # version 1.00 - March 1989 # see copyright.doc for copyright information while true do clear cat < \c" read x case $x in [a,A]) citadel ;; [b,B]) sysoputil ;; [c,C]) stats read y ;; [d,D]) clear msgstats echo "" read y ;; [e,E]) useradmin ;; [f,F]) clear userlist password |more read y ;; [g,G]) clear mailutil read y ;; [h,H]) clear readlog |more read y ;; [i,I]) clear readlog -t echo "" read y ;; [j,J]) clear whobbs echo "" read y ;; [k,K]) clear passwd ;; [q,Q]) clear break;; *) echo "Selection $x is not available\007" sleep 1 ;; esac done SHAR_EOF fi exit 0 # End of shell archive -- Some do, some don't. | eric@sactoh0.SAC.CA.US Some will, some won't. | ames!pacbell!sactoh0!eric I might! | ucbvax!csusac!sactoh0!eric | ( A Home For Unwanted 3B's )