On Tue, 21 Jul 2009 23:37:06 +0100 Tony Arnold wrote: > Try changing the read RESPONSE line to: > > read RESPONSE < /dev/tty Much appreciated That's worked fine. I've learned something new. Thanks to all for the help. - Richard -- Richard Kimber http://www.psr.keele.ac.uk/