Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One for the Unix gurus



On Jun 27, 2004, at 6:30 PM, Phill Kelley wrote:

The problem is that I can't seem to get things like scp or ftp working.
For example, when running ftp from the command line, one normally sees
on the terminal a stream of information welcoming you to the host,
disclaimers, and finally an FTP> prompt. When I run ftp from the GUI
I've written (and I'm sure the arguments are being parsed correctly), I
only see the FTP> prompt in the NSTextView I've set up to log stderr.
Where does the other "stuff" go? It doesn't seem to go to the pipe I've
set up for stdout. When I set the associated handle for

some apps decrease it's "verbosity level" when they don't own the console (ie, if isatty(STDIN_FILENO) > 0), that means that they're part of a pipe or somewhere where they don't have the control of stdin.
So maybe what you're seeing is ok.

regards,

[rolando abarca]
_______________________________________________
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: 
 >One for the Unix gurus (From: Glenn Zelniker <email@hidden>)
 >Re: One for the Unix gurus (From: Phill Kelley <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.