Re: TTY programming

2008-12-02 Thread Ken Irving
On Tue, Dec 02, 2008 at 11:34:05AM +0200, David Baron wrote: > I have seen loads of postings but no real answer to this: > > I write() a command to the modem > I read() to try to get a response, i.e. OK or if the command is a dial, BUSY > or such. > I do not get anything. > > The commands, diali

Re: TTY programming

2008-12-02 Thread Nelson Castillo
On Tue, Dec 2, 2008 at 4:34 AM, David Baron <[EMAIL PROTECTED]> wrote: > I have seen loads of postings but no real answer to this: > > I write() a command to the modem > I read() to try to get a response, i.e. OK or if the command is a dial, BUSY > or such. > I do not get anything. > > The commands

Re: TTY programming

2008-12-02 Thread James Youngman
rst edition of W. Richard Stevens' book "Advanced Programming in the Unix Environment". It contains a chapter on tty programming (featuring a program that does bidirectional communication with a PostScript printer). Later editions of this book omit that chapter; TTY programming is hardly main

TTY programming

2008-12-02 Thread David Baron
I have seen loads of postings but no real answer to this: I write() a command to the modem I read() to try to get a response, i.e. OK or if the command is a dial, BUSY or such. I do not get anything. The commands, dialing, all seem successful and the application works. I simply cannot report an