home *** CD-ROM | disk | FTP | other *** search
- : #nasty-shell, totally prejudiced towards SYS V UNIX, Dan_Jacobson@ATT.COM
- usage="$0"; test $# -gt 0 && { echo $0: usage $usage; exit 1;}
- x='1>&2 echo "\nThank you for using $0. Deposit 25 cents please, then
- hit <RETURN> \c"; read y'
- video_on=`tput blink`; test -z "$video_on" && video_on=`tput smso`
- video_off=`tput rmso` #no tput rmblink
- prompt_message=\
- "NASTY-Shell Version 0.0, Copyright (c)1989 Dan Jacobson, DanCo Corporation"
- PS1="$video_on$prompt_message>$video_off " sh -i #ksh doesn't show all
- #my beautiful prompt
- eval $x
- tput rs1; tput rs2; tput rs3 #fix up the bloody terminal
-