[comp.unix.questions] /dev/tty input redirection over rsh?

pashdown@javelin.es.com (Pete Ashdown) (01/17/91)

I am writing some shell scripts to backup remote systems via rsh.  Everything
works OK, except if the backup requires more than one tape.  When it reaches
the end of the tape, dump prompts for a new tape and you must type "yes" when
it is ready.  This works fine locally, or via rlogin, but if it is being
called through a script and the script is being done via rsh, it states that
it can't get input from /dev/tty.  How do I redirect this input to the
terminal I am rsh'ing from?

Please mail your response.
-- 
"No, no, no!  It is an empirical law of physics that the heat flux at any
point is proportional to the temperature gradient at that point."
                   - Claudia Schiffer, over breakfast.
Pete Ashdown  pashdown@javelin.sim.es.com ...uunet!javelin.sim.es.com!pashdown