[339] in Info-AFS_Redistribution
YES NONE
daemon@ATHENA.MIT.EDU (NIK%ZURLVM1.BITNET@pucc.princeton.)
Wed Oct 16 06:25:57 1991
Date: Wed, 16 Oct 91 10:19:11 SET
To: Info-AFS@transarc.com
From: NIK%ZURLVM1.BITNET@pucc.princeton.edu
Date: 16 October 1991, 10:04:20 SET
From: Michael Niksch 0041-1-7248-913 NIK at ZURLVM1
To: Info-AFS@transarc.com
Subject: Running 'butc' in background
I am currently setting up the zurich.ibm.com cell and ran into the same
problem of 'butc' always wanting to run in the foreground. I found a
workaround by starting butc like
ksh -c "(while :;do print -- \"$answer\";done)|butc -port $port >$file)"&
which essentially keeps sending a default answer into butc's input pipe.
You should be aware that different backup commands may require different
default answers. The 'dump' routine will ask to put in a tape and will be
glad if you pipe in just a newline. If you do a scantape, the oh-so-friendly
butc will ask you whether you want to scan another tape and you have to
respond a 'n' to make it stop. Seems that butc was written by people having
the imagination of every site being able to afford thousands of human slaves
to run interactive backup.
Transarc told me that backup will stay interactive in the next release.
I am afraid that the addition of more 'user-friendly' butc features will
break my approach.
Michael Niksch