Serial Programming HOWTO

Gary Frerking

Peter Baumann

Revision History
Revision 1.012001-08-26Revised by: glf
New maintainer, converted to DocBook
Revision 1.01998-01-22Revised by: phb
Initial document release

This document describes how to program communications with devices over a serial port on a Linux box.

Table of Contents
1. Introduction
1.1. Copyright Information
1.2. Disclaimer
1.3. New Versions
1.4. Credits
1.5. Feedback
2. Getting started
2.1. Debugging
2.2. Port Settings
2.3. Input Concepts for Serial Devices
2.3.1. Canonical Input Processing
2.3.2. Non-Canonical Input Processing
2.3.3. Asynchronous Input
2.3.4. Waiting for Input from Multiple Sources
3. Program Examples
3.1. Canonical Input Processing
3.2. Non-Canonical Input Processing
3.3. Asynchronous Input
3.4. Waiting for Input from Multiple Sources
4. Other Sources of Information