Re: One for the Unix gurus
Re: One for the Unix gurus
- Subject: Re: One for the Unix gurus
- From: Rolando Abarca <email@hidden>
- Date: Sun, 27 Jun 2004 21:31:48 -0400
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.