• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sending Control-T to Terminal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending Control-T to Terminal


  • Subject: Re: Sending Control-T to Terminal
  • From: Jeffrey Berman <email@hidden>
  • Date: Fri, 27 Sep 2002 09:22:37 -0500

On 9/27/02 9:13 AM, bill fancher <email@hidden> wrote:

>
> On Friday, September 27, 2002, at 06:56 AM, Jeffrey Berman wrote:
>
>> On 9/27/02 1:09 AM, bill fancher <email@hidden> wrote:
>>>
>>> On Thursday, September 26, 2002, at 10:24 PM, bill fancher wrote:
>>>> On Wednesday, September 25, 2002, at 02:14 PM, Jeffrey Berman wrote:
>>
>> However, your comment led me to think of an alternative: Before
>> sending a
>> Control-T key sequence I could send a Control-U, which erases text on
>> the
>> current command line. Thus, the command could be:
>>
>> tell application "Terminal"
>> do script ((ASCII character 21) & (ASCII character 20)) in window 1
>> end tell
>>
>> This sequence still generates the unwanted line feed but it avoids the
>> problems of inadvertently sending text left on the command line.
>
> OTOH, it's kind of nasty if you're in the middle of typing a long
> command when it fires.

Yes. Which is why I'm still hoping someone can come up with a way to
suppress the line feed when using the "do script" command in Terminal.

-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.

References: 
 >Re: Sending Control-T to Terminal (From: bill fancher <email@hidden>)

  • Prev by Date: Re: compiler stupidity
  • Next by Date: Re: Quick help with command keys...
  • Previous by thread: Re: Sending Control-T to Terminal
  • Next by thread: Re: Sending Control-T to Terminal
  • Index(es):
    • Date
    • Thread