> and spoof keyboard input
That's because we had terminal side macros. They were awesome in the 1980s.