www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/14/15:04:27

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Serial Communicaton
Date: Fri, 14 Dec 2001 19:59:13 +0000
Lines: 27
Message-ID: <7rkk1ukllqtqgk3gnb5k21gc8utmgbgk86@4ax.com>
References: <20011213142242 DOT 50441 DOT qmail AT web9103 DOT mail DOT yahoo DOT com> <20011214140532 DOT 3772 DOT qmail AT web9101 DOT mail DOT yahoo DOT com>
NNTP-Posting-Host: modem-194.keyhole-butterfly.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: newsg3.svr.pol.co.uk 1008359980 4513 62.137.35.194 (14 Dec 2001 19:59:40 GMT)
NNTP-Posting-Date: 14 Dec 2001 19:59:40 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Agent 1.7/32.534
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

ROLAND <roland_asmann AT yahoo DOT com> wrote:

> I just *can't* figure out PMCOM...

IIRC, the docs for PMCOM are in the form of info files, which are built
when you compile the package.  You will need to compile and install PMCOM
first then use `info' to read the docs.

> Is there a way to use the serial port without any of
> these special libraries??

Using a library is probably the easiest way.  It really depends how much
functionality you need and how much you want to modify your code.

Unless you use the Filesystem Extensions that Eli mentioned, you must go
through your code and replace all the instances of open, read, write,
etc. with calls to the comms library (or maybe use wrappers).  Of course,
that might be more or less effort than using FSEXT.

PMCom is a very comprehensive library.  Obviously a great deal of effort
has gone in to writing it, and the docs, but perhaps it's more than you
need.

SVAsync is a simple, yet still functional, library.  Plus all the docs
are in one text file, which should take < 10 minutes to digest.

There are others worth looking at (e.g. BCSerio), see the FAQ for a list.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019