• 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: NSTask for interactive telnet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask for interactive telnet


  • Subject: Re: NSTask for interactive telnet
  • From: Frederick Cheung <email@hidden>
  • Date: Mon, 2 Aug 2004 23:36:59 +0200

On 1 Aug 2004, at 17:54, Adam wrote:

I am looking for an example of using NSTask to initiate an interactive telnet session. I would like my app t be able to send commands to a running telnet session that it initiate and read back output line by line.

I believe that telnet doesn't take its input from stdin. You may have better luck using expect (man expect)

Fred.

_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >NSTask for interactive telnet (From: Adam <email@hidden>)

  • Prev by Date: Re: CGImage and NSBitmapImageRep
  • Next by Date: Terminate Process By Name
  • Previous by thread: Re: NSTask for interactive telnet
  • Next by thread: 2-way communication between nibs files
  • Index(es):
    • Date
    • Thread