Is there a terminal emulator that supports custom macros or scripting? Preferably that could be placed into buttons on the toolbar similar to Windows terminal emulator programs (Reflection, SecureCRT, ...