Software for NOT SPR service

Jeffrey Mogul mogul at jove.pa.dec.com
Tue Mar 19 13:15:15 AEST 1991


#! /bin/sh
# This is a shell archive.  Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file".  To overwrite existing
# files, type "sh file -c".  You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g..  If this archive is complete, you
# will see the following message at the end:
#		"End of shell archive."
# Contents:  README notspr
# Wrapped by mogul at acetes.pa.dec.com on Mon Mar 18 18:38:41 1991
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'README' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'README'\"
else
echo shar: Extracting \"'README'\" \(3873 characters\)
sed "s/^X//" >'README' <<'END_OF_FILE'
X		Information about the NOT SPR service
X
SPRs (Software Problem Reports) are Digital's mechanism for accepting
software bug reports from customers.  [SPRs may be filed by any
customer, with or without a support contract, although only those
customers with contracts are able to dial into the DSIN system to
discover the fate of their SPRs.]  SPRs are not meant to be used to
obtain help with problems (e.g., "how do I do X?"); they are a way for
customers to help Digital improve the quality of its software.
X
Many customers have complained that there is no way to file SPRs via
electronic mail.  A group of Digital employees have volunteered to
accept bug reports via email, validate these (to ensure that a bug is
still present in the most recent version of the system), and enter them
into the internal bug-reporting system.
X
We call this service "NOT SPR", because it isn't exactly an SPR-by-email
service.  This is an unofficial service; we make absolutely no guarantees
about it and may terminate it without notice.  We do not promise to
respond to your message, although you may receive responses.  Unless you
request us not to or we believe that it would be unwise, we may post your bug
reports in a public place (such as a newsgroup or a publicly-FTPable
directory), so don't say anything you wouldn't want others to see.
X
We will accept reports about bugs in the ULTRIX base operating system
and in the "UWS" (window system) software.  We do not expect to be able
to deal with bugs in "layered products" (software options that you pay
extra money for).  We would really appreciate it if you only filed a
report once you have verified that the bug still exists in the most
recent version of the software; the software product groups are not
happy about processing reports about bugs that they have already solved!
X
Although we cannot guarantee that all the bugs you report will be
fixed, we want to make every reasonable effort to improve the quality
of our software, and we believe that listening to your complaints and
suggestions is necessary if we are to meet that goal.  By reporting
bugs, you help us and you also increase the chances that your bug will
be "fixed in the next release."
X
We might decide once in a while to find some way of recognizing those
of you who have provided the most high-quality bug reports.
X
HOW TO SUBMIT BUG REPORTS:
X
Bug reports should be submitted using the "notspr" program.  This
program is a shell script, which should run on any ULTRIX system.  You
may obtain the sources either
X    o	by using anonymous FTP to host gatekeeper.dec.com
X	retrieve file "/pub/DEC/notspr.shar"
X    o	by sending email to "ftpmail at decwrl.dec.com"
X	the body of the message should contain these lines
X	    connect gatekeeper.dec.com
X	    get /pub/DEC/notspr.shar
X	and you will receive the file by email within a few days
In either case, once you have the file you can unpack it in the usual
way (i.e., cd to the directory where you want it and type "sh
notspr.shar").
X
The "notspr" program is run without any arguments.  It prompts you for
some information, and then (after a brief delay) pops you into your
favorite editor, as determined by the EDITOR environment variable.
X(The default editor is "vi".)  Please edit the form to describe your
particular bug as specifically as possible.  Then, save the file and
exit the editor; the bug report will be sent via email to the NOT SPR
system.  (If your mail system does not understand Internet mail
addresses, you will have to edit the line in the script that looks like
this:
X	NOTSPR="notspr at decwrl.dec.com"
to reflect your mail path to decwrl.dec.com.)
X
Please do not send other mail to this mailbox.  If you have a problem
with the NOT SPR system software, please send mail to
X	notpsr-owner at decwrl.dec.com
but please do not send other complaints to this mailbox!
X
Thank you for your participation.
END_OF_FILE
if test 3873 -ne `wc -c <'README'`; then
    echo shar: \"'README'\" unpacked with wrong size!
fi
# end of 'README'
fi
if test -f 'notspr' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'notspr'\"
else
echo shar: Extracting \"'notspr'\" \(3769 characters\)
sed "s/^X//" >'notspr' <<'END_OF_FILE'
X#!/bin/sh 
X# notspr.sh
X#	Script to send a bug report to the "notspr" system
X#	Jeffrey Mogul/DECWRL/March 1991
X# Questions/problems about this script:
X#	send mail to "owner-notspr at decwrl.dec.com"
user=`/usr/ucb/whoami`
NOTSPR="notspr at decwrl.dec.com"
RECIPIENTS="$NOTSPR, $user"
VERSION="0.5 of 18 March 1991"
if test X$EDITOR = X ; then
X    EDITOR="vi"
fi
X#
cat << MSG_EOF
You are about to send a bug report to the NOT SPR system.  NOT SPR is a
way for ULTRIX users to help Digital improve our software.  This system
is only for bugs in the ULTRIX base operating system or the "UWS" window
system software; it is not for bugs in layered software.  You understand
that this is not a complete replacement for the official SPR process:
you are not guaranteed to receive a response and we make no promises
about anything.  This service is not for obtaining help with ULTRIX
problems; please contact Customer Support for that.
NOTE: your bug report might be made available for public inspection
unless you ask that it not be published.
X
PLEASE verify that your bug still exists on the most recent version
of ULTRIX before sending a report; it may already have been fixed.
X
MSG_EOF
echo "Enter 1-line summary of bug (one bug per message, please):"
echo -n "> "
read SUMMARY
echo "please wait, creating template ..."
form=/tmp/notsprform$$
echo "Bug submitted to NOT SPR by ${user} on `date`" > $form
echo "NOT SPR Version: $VERSION" >> $form
echo -n "ULTRIX version: " >>$form
X/usr/ucb/strings /vmunix | grep '(Rev' >> $form
if test -f /usr/etc/uwsvers ; then
X    echo -n "UWS version: " >>$form
X    /usr/etc/uwsvers >> $form
else
X    echo "System banner line:" >>$form
X    head -2 /etc/motd >>$form
fi
echo -n "Host name: " >>$form
hostname >>$form
if test -f /bin/machine ; then
X    echo -n "CPU type: " >>$form
X    /bin/machine >>$form
fi
X#
uerftmpfile=/tmp/notspr.uerf$$
X/etc/uerf -r 300 -R 2>&1 | \
X   awk '/^MESSAGE/,/^\*\*\*/ { if ( $0 ~ /^\*\*\*/ ) exit; else print $0 }' |
X   sed -e 's/^[ 	][ 	]*/	/'  \
X       -e '/^\*\*\*/,$d' \
X       -e 's/MESSAGE[ 	]*/	/' >>$uerftmpfile
uerflines=`cat $uerftmpfile | wc -l`
if test $uerflines = "0" ; then      
X    echo >>$form
X    echo "**Submitter understands that no response is promised**" >>$form
X    echo "**Please do not edit anything above this line**" >>$form
X    echo >>$form
X    echo "Please supply specific hardware information" >> $form
X    echo "  System model number:" >>$form
X    echo "  Display type:" >> $form
X    echo "  Network interface(s):" >> $form
X    echo "  Disks and controllers:" >> $form
X    echo "  Other hardware:" >> $form
X    echo >> $form
else
X    echo "Configuration info (best efforts of /etc/uerf): " >>$form
X    cat $uerftmpfile >>$form
X    echo >>$form
X    echo "**Submitter understands that no response is promised**" >>$form
X    echo "**Please do not edit anything above this line**" >>$form
X    echo >>$form
fi
X#
echo "Summary: $SUMMARY" >>$form
echo "Base operating system version: " >>$form
echo 'Window system version (if any): ' >>$form
echo "Reproducible at will (Y/N): " >>$form
echo "Make report public (Y/N): Y" >>$form
echo >>$form
echo 'Description of bug:' >>$form
echo >>$form
echo 'Repeat by (please be as specific as possible):' >>$form
echo >>$form
echo 'Suggested fix (optional):' >>$form
echo >>$form
X$EDITOR $form
while true
do
X    echo -n 'Send, Edit, or Abort? '
X    read WHATNEXT
X    case $WHATNEXT in
X	Send | Sen | Se | S | send | sen | se | s) break ;;
X	Abort | Abor | Abo | Ab | A )		   exit 1 ;;
X	abort | abor | abo | ab | a )		   exit 1 ;;
X	Edit | Edi | Ed | E | edit | edi | ed | e) $EDITOR $form ;;
X    esac
done
X/usr/ucb/mail -s "$SUMMARY" $RECIPIENTS <$form
X#rm $form $uerftmpfile
echo 'Thank you for submitting your bug report; we appreciate your help.'
END_OF_FILE
if test 3769 -ne `wc -c <'notspr'`; then
    echo shar: \"'notspr'\" unpacked with wrong size!
fi
chmod +x 'notspr'
# end of 'notspr'
fi
echo shar: End of shell archive.
exit 0



More information about the Comp.unix.ultrix mailing list