Things still to do: - functions for Expect-like behaviour Any assistance would be appreciated.