Tim Hockin <[EMAIL PROTECTED]> writes:

> popen() is fine if you are doing an exec, want stdio buffering, and only
> want to read or only want to write.  (isn't popen a one-way pipe..?).

Whoops, you're right.  I had it in my mind it created two pipes, but
it doesn't. 

> I'd never use ptys for this, not even sure how you'd attempt that. 

My question really was dealing with telnet (though I didn't say it).
I know some programs (notably passwd) don't talk to pipes and want
ptys.  I didn't know if telnet was one of them.

-- 
Alan Shutko <[EMAIL PROTECTED]> - In a variety of flavors!
231 days, 20 hours, 56 minutes, 8 seconds till we run away.
Radioactive cats have 18 half-lives.

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to