#! /bin/sh PATH=:/bin:/usr/bin # configuration variables to remember for next time vars='newsuid newsgid newsarts newsov newsctl newsbin newspath newsumask newsconfig newscrisis newsmaster addrsize fake storeval faststdio fakehdrs ranlib make include cc copts ldopts postlibs uucptype dftype dfdirs archive spacelow nfsgroup server rbin bin faststrchr sftype' # where to remember them, by default memory=conf/quiz.def cat <" $has` case "$tmp" in no) newfakehdrs="$newfakehdrs $h" ;; esac done fakehdrs="$newfakehdrs" cat <$memory warn='# These answers are interdependent; do not edit this file!' if test ! -w $memory then echo 'It appears that I cannot save the defaults.' else ( for v in $vars do echo "$warn" # even this horror botches metachars in var eval "echo $v=\\\"\"\$$v\"\\\"" done ) >>$memory fi chmod -w $memory echo conf/useanswers -v $memory conf/makeinc conf/substitutions include/config.make echo done