Return to BSD News archive
Xref: sserve comp.lang.c++:62436 comp.unix.questions:46569 comp.unix.bsd:13515 Path: sserve!newshost.anu.edu.au!munnari.oz.au!sgiblab!pacbell.com!ihnp4.ucsd.edu!swrinde!emory!nntp.msstate.edu!bacall.aris.com!nic.nl.mugnet.org!drinkel!not-for-mail From: miquels@drinkel.nl.mugnet.org (Miquel van Smoorenburg) Newsgroups: comp.lang.c++,comp.unix.questions,comp.unix.bsd Distribution: world Subject: Re: Looking for references for serial communications programming X-News-Software: W-NEWS Release 4.4.3 for Linux/PRO References: <2jtaq4$quo@mojo.eng.umd.edu> <CLyABs.3In@venus.csci.csc.com> Message-ID: <9403013712.223949@drinkel.nl.mugnet.org> Organization: Organized? Me? Date: Tue, 01 Mar 94 22:39:49 MET Lines: 38 In article <CLyABs.3In@venus.csci.csc.com> cbo@killians.csci.csc.com (Chris Olsen) writes: >James Preston (prestonj@eng.umd.edu) wrote: > >: I am working on some serial communications software for >: controlling a radar antenna from a SPARCStation (SunOS4.1.3) >: and I am looking >: for good references, particularly using C++, >: for UNIX serial communications. > >: I found a couple of books that were just the thing (Serial communications >: with C++, etc) but they were PC-specific. Does anyone know of good >: references for Unix serial communications, or has anyone out there >: written a SerialPort class?? > >: I know that many of us would rather debate the moral issues of >: programming, but I am currently being paid for a purely secular effort. > >: HeelllPPP!!! > > > I am also interested in finding some sort of SerialPort class. If anyone >finds such a beast please let me know as well. > I recently released minicom 1.60, a menu driven serial comms program (clone of MSDOS Telix) for *nix. It compiles under Linux, Coherent, BSD386 and _also_ SunOS 4.1.3. It's under the GPL and I have centralized all system dependant serial stuff in one module: sysdep1.c (and sysdep.h). It has most if not all routines to control a serial port. It's plain C, but it wouldn't take much to build a SerialPort class out of it. You can find it on sunsite.unc.edu:/pub/Linux/apps/comm/minicom-1.60.tgz Hope it is useful - Mike. -- | Miquel van Smoorenburg | "I know one million ways, to always pick | | miquels@drinkel.nl.mugnet.org | the wrong fantasy" - the Black Crowes. |