Full threadmiratrix·That sounds a lot like expect ( http://en.wikipedia.org/wiki/Expect ) unless I've missed something. If you use autoexpect, it'll even automagically generate the script for you by capturing what you type in to the shell.View on HN