• 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: Accessing the terminal SSH rendezvous info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing the terminal SSH rendezvous info


  • Subject: Re: Accessing the terminal SSH rendezvous info
  • From: Quinn <email@hidden>
  • Date: Tue, 3 Feb 2004 15:27:05 +0000

At 9:18 -0600 3/2/04, John C. Welch wrote:
That would work great, except I need something to work from "do shell
script" which isn't interactive on that level.

You can make this work with sufficient shell scripting magic. I'm not a shell script guru, and my guru assistance book is packed away in boxes 'cause I've just moved house, but there are many options. One easy one that I can think of is to launch mDNS "in the background" and read its output using the "read" built-in command. This command accepts a timeout value. Once you hit the timeout, "read" will return and you can kill mDNS.

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Accessing the terminal SSH rendezvous info (From: "John C. Welch" <email@hidden>)

  • Prev by Date: Re: Accessing the terminal SSH rendezvous info
  • Next by Date: Re: Scutil howto
  • Previous by thread: Re: Accessing the terminal SSH rendezvous info
  • Next by thread: Re: Accessing the terminal SSH rendezvous info
  • Index(es):
    • Date
    • Thread