Re: Sending Control-T to Terminal
Re: Sending Control-T to Terminal
- Subject: Re: Sending Control-T to Terminal
- From: Jeffrey Berman <email@hidden>
- Date: Wed, 25 Sep 2002 16:14:25 -0500
On Wed, 25 Sep 2002, bill fancher <email@hidden> wrote:
>
No solution that I can see, but I'm curious as to why you're trying to
>
script this. I'm not saying there's no good reason to do it, just that
>
I can't come up with one. If you can provide more info on what you're
>
trying to accomplish, without divulging trade secrets, maybe someone
>
could suggest an alternative approach.
Bill:
No trade secrets involved. I use a periodic Control-T sequence to keep
active an SSH connection that will time out without input. However, I do
not want these unattended key sequences to trigger a line feed or it could
cause the text on the command line to be inadvertently executed. What made
an AppleScript solution so appealing is that the command can be issued even
when Terminal is not the frontmost application.
So the problem is how to have the "do script" command of Terminal send the
Control-T sequence (which is ASCII character 20) without also issuing a line
feed.
-Jeffrey Berman
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.