On Tue, Oct 6, 2009 at 4:30 PM, Kevin Ferguson <[email protected]> wrote: > Any ideas on how to accomplish what I'm after?
You might want to brush up on your UNIX a bit. You can't tell when the process on the other end of the pipe blocks, nor should you need to. You just start sending data down your end of the pipe, and the other end will pick it up when it's good and ready. If it fails to, you get SIGPIPE. As for actually getting that data down there in the first place, NSTextView seems like the logical choice. You will need to be force the insertion point to never move, though, except in cases of hitting the Delete key, in order to match up with the stdin semantics. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
