From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,743d205366114387 X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,743d205366114387 X-Google-Attributes: gidfee84,public From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii) Subject: Re: grantpt() fails after repeated operations Date: 1998/06/05 Message-ID: <6l967j$8bk@ds2.acs.ucalgary.ca>#1/1 X-Deja-AN: 359870432 References: <3576D202.6570@nospam.com> Followup-To: comp.unix.programmer,comp.unix.osf.osf1 Organization: The University of Calgary Newsgroups: comp.unix.programmer,comp.unix.osf.osf1 Dean J. (jackmand@nospam.com) wrote: : PROBLEM/ BACKGROUND: : I'm trying to establish a pseudo-tty slave driver which runs ftp as a : child process, allowing me to write ftp commands and read replies (I : know expect does this, but ...) FTP is a fairly simple protocol. It is probably easier to implement a minimal FTP client than to deal with a command line ftp client through the pty interface, especially if you do not want the fancier parts of the protocol. The number of error conditions you'll have to deal with, portability, and system load generated by your application also look much brighter in this case. Cheers, /Serge.P