Serial programming guide for POSIX is a great online book on programming Unix serial ports.
CategoryLXSW