termios & binary data

Geoffroy Montel g_montel at yahoo.com
Thu May 7 13:49:27 UTC 1998


Hello,

Termios is cool for console purpose, it works well (thanks Eric).
But now I'd like to add quick binary I/O in my bsp. First I thought
about 
doing another serial driver, but Joel adviced me to ask about termios
& binary data. Besides it would be better having a single driver!

So, as, I quote termio man page, "Normally, terminal input is
processed in
units of lines", how could we do binary I/O with termios? There's a 
non-canonical mode input processing, but is it implemented?

I also would need these things:
1. read a given number of bytes from an uart
2. blocking/non-blocking read

Thanks for the help

Geoffroy
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com




More information about the users mailing list