tismey
Official Bartender
I'm trying to suss out a way of scripting the terminal so that I can generate escape sequences. I have to telnet into some VMS boxes for work, and I'm getting sick of having to remember sequences like <esc>[29~ at 5am.
So, I figured I'd see if the newly applescriptable terminal would let me create something to generate these codes, but I can't seem to work out how to write scripts that apply to already open sessions. Whenever I run a script to tell the terminal to do anything, it opens a new window.
So does anyone know if this is doable? And if so, can someone point me in the direction of something I can look at and learn from?
Ta
So, I figured I'd see if the newly applescriptable terminal would let me create something to generate these codes, but I can't seem to work out how to write scripts that apply to already open sessions. Whenever I run a script to tell the terminal to do anything, it opens a new window.
So does anyone know if this is doable? And if so, can someone point me in the direction of something I can look at and learn from?
Ta