views:

184

answers:

1

So i'm working on a program, wich is vaguely going to resemble Br@y's Terminal, but running from the commandline in linux

It will do asynchronous transmission, out the serial (Com) port. Now i think the Header/library i need for this is the termios.h

Now i've only used posix a little before and i;m finding it rather heavy going digging though manpages/specifactions http://www.opengroup.org/onlinepubs/007908799/xsh/termios.h.html\

Does anyone know of any good guides to termios? I would google it myself (i've tired) but i don't understand the content enough to know if a guide is good. Am i using the right library,even?

+2  A: 

There's a wiki book available that covers termios. Yes you are using the right library. It's the only way to manipulate the device to talk over the serial line as it controls it. There is a brief introduction to termios in this blog. Here is another wiki book on serial programming under Linux.

Hope this helps, Best regards, Tom.

tommieb75
cool, I had come across the first wikibook, but the rest in new, thanks
Oxinabox