Good $daytime,

> Date: Fri, 1 Jan 1999 10:31:27 -0500 (GMT)
> From: Saraf Aalhad Ashok <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: novice: problem with serial I/O

>       I'm facing yet another problem. This time, it is about sending and
> receiving data from the serial ports. I've modified the program
> "example.c" given in the I/O programming mini-HOWTO to write two programs
> client.c and iserve.c. The iserve program running on the console sends out
> data to one serial port, and the client program running on a virtual
> terminal monitors the other serial port, the two serial ports being
> connected together by a serial cable. 
...

> #include <stdio.h>
> #include <unistd.h>
> #include <asm/io.h>

Are you sure you want to stay away from POSIX termios?  What if your
serial port will be Digiboard some day?

In other words, what is your reason in low level port access?

  Regards,
  Willy.

--
"No easy hope or lies        | Vitaly "Willy the Pooh" Fedrushkov
 Shall bring us to our goal, | Information Technology Division
 But iron sacrifice          | Chelyabinsk State University
 Of Body, Will and Soul."    | mailto:[EMAIL PROTECTED]  +7 3512 156770
                   R.Kipling | http://www.csu.ac.ru/~willy  VVF1-RIPE

Reply via email to