This message is for tuxoide

  • Theodore Ts'o

    Theodore Ts'o - 2001-01-11

    You apparently haven't set up a forwarding e-mail address for  So you sent me e-mail from an address which bounces.  I can't find a valid e-mail address for you, so I'm posting this to this bboard in the hopes that you see it....

                    - Ted

    The following summary which was posted from a few years back might help you....

    - ---------------------------------------------------------------

    Given the number of people who e-mailed me asking for any information,
    I'm mailing this summary - I hope it's useful.

    - -----------------------------------------------------------------------------

    1. BOOKS

    There are a number of useful books that explain serial programming on
    POSIX systems (such as Linux). The two that were most recommended were:

    a) "Advanced programming in the Unix environment" by W R Stevens
       (Published by Addison Wesley)

    This is a classic text, and has two chapters worth reading: Chap. 11
    (Terminal I/O) and chap. 18 (A Modem Dialer); basically a chapter of
    theory with some small code examples and then a complete chapter of
    serial code.

    b) "POSIX programmer's guide: Writing portable Unix programs" by D
       (Published by O'Reilly)

    Chapter 8 (Terminal I/O) is an excellent read, and comes complete with
    annotated code for a small comms package.

    - -----------------------------------------------------------------------------


    a) Doug Hughes' "Serial Port Programming":

    - -----------------------------------------------------------------------------


    a) A number of people recommended the mgetty+sendfax code, as it has a
       reputation for being well structured and written

    b) The Linux Programmer's Guide has an example program (miniterm.c),
       written by Sven Goldt - this is a 130 line program that covers all
       the basics quite succinctly

    c) Niccolo Rigacci <> sent me some code he
       written to handle a voice modem (voice-0.3.tar.gz)

    d) is Alan Cox's
       interface to a small radio modem, and contains useful routines for
       twiddling the RTS line, and is also useful if you want to learn about
       user-space device drivers and the like.

    e) The "cu" program that comes with UUCP was also recommended

    - -----------------------------------------------------------------------------


    My thanks goes out to the following people (and sorry to anyone I've
    accidently omitted!):

        Niccolo Rigacci <> (Greg Hankins) (Bill Roman) (Romolo Albuquerque) (Ross Boswell) (Alan Cox)

    - ----------------------------------------------------------------------------
    Graeme Cross                    Phone: 03 9903 2606
    Water Studies Centre           E-mail:
    Monash University                 URL:

    • Nobody/Anonymous

      thanks for links, tytso

      i tell sourceforge for the email problem


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks