home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2143 / utilsmenu < prev   
Encoding:
Text File  |  1990-12-28  |  1.1 KB  |  74 lines

  1. # Citadel/UX Utilities Menu (shell script)
  2. # version 1.00 - March 1989
  3. # see copyright.doc for copyright information
  4.  
  5. while true
  6. do
  7.     clear
  8.     cat <<!!
  9.                            Citadel/UX Utilities Menu
  10.  
  11. a. Citadel/UX login
  12. b. Sysop utilities
  13. c. Calling statistics
  14. d. Message file statistics
  15. e. User administration
  16. f. User list with passwords
  17. g. Mail utilities
  18. h. Read call log
  19. i. Last 20 users
  20. j. Who is logged in
  21. k. Change your password
  22. q. Quit
  23.  
  24. !!
  25.     echo "Please enter your selection -> \c"
  26.     read x
  27.     case $x in
  28.         [a,A])    citadel
  29.             ;;
  30.         [b,B])    sysoputil
  31.             ;;
  32.         [c,C])    stats
  33.             read y
  34.             ;;
  35.         [d,D])    clear
  36.             msgstats
  37.             echo "<press return to continue>"
  38.             read y
  39.             ;;
  40.         [e,E])    useradmin
  41.             ;;
  42.         [f,F])    clear
  43.             userlist password |more
  44.             read y
  45.             ;;
  46.         [g,G])    clear
  47.             mailutil
  48.             read y
  49.             ;;
  50.         [h,H])    clear
  51.             readlog |more
  52.             read y
  53.             ;;
  54.         [i,I])    clear
  55.             readlog -t
  56.             echo "<press return to continue>"
  57.             read y
  58.             ;;
  59.         [j,J])    clear
  60.             whobbs
  61.             echo "<press return to continue>"
  62.             read y
  63.             ;;
  64.         [k,K])    clear
  65.             passwd
  66.             ;;
  67.         [q,Q])    clear
  68.             break;;
  69.         *)    echo "Selection $x is not available\007"
  70.             sleep 1
  71.             ;;
  72.         esac
  73.     done
  74.