• 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: One for the Unix gurus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >One for the Unix gurus (From: Glenn Zelniker <email@hidden>)
 >Re: One for the Unix gurus (From: Phill Kelley <email@hidden>)

  • Prev by Date: [ANN] Graphviz 1.13 (v13) for Mac OS X
  • Next by Date: Re: simple printing question
  • Previous by thread: Re: One for the Unix gurus
  • Next by thread: URL formatting in NSAttributedString
  • Index(es):
    • Date
    • Thread