Terminal simulation