delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/03/04:13:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <007501c04576$a89a0ee0$c85a9b86@vwl.unimannheim.de>
From: "Daniel Probst" <daniel DOT probst AT gmx DOT ch>
To: "David Weekly" <davidweekly AT yahoo DOT com>, <cygwin AT sources DOT redhat DOT com>
References: <20001102224832 DOT 20902 DOT qmail AT web5205 DOT mail DOT yahoo DOT com>
Subject: Re: Serial Support?
Date: Fri, 3 Nov 2000 10:15:35 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

Sometimes it works sometimes it doesn't.

Search for gpspoint on freshmeat.net, which is a GPS prog which makes
without problems under cygwin (however it doesn't yet support my Garmin
12Map yet). IO works, so check out the serial code in the sources.

BTW there is a wonderful GPS library under
ftp://ftp.hgmp.mrc.ac.uk/pub/ajb/jeeps/

in this case I can't get the IO to work under cygwin.

I've fiddled with the sources and GDB but don't understand what is going
wrong there.

-dan


----------
daniel DOT probst AT vwl DOT uni-mannheim DOT de
Dr. Daniel Probst
Economic Theory
Mannheim University
Germany
----- Original Message -----
From: "David Weekly" <davidweekly AT yahoo DOT com>
To: <cygwin AT sources DOT redhat DOT com>
Sent: Thursday, November 02, 2000 11:48 PM
Subject: Serial Support?


> Hello, folks! I've looked everywhere, but I haven't
> been able to yet find an answer to this simple
> problem: I'd like to read in lines of canonical input
> >from the serial port under Windows using cygwin. I
> wrote some code for Linux that worked fabulously
> (courtesy the Serial-Programming HOWTO) and I thought
> I could just change /dev/ttyS0 to COM1 and be all set.
> Unfortunately, it doesn't work - I'm not able to read
> in text from the GPS unit over COM1.
>
> All that I was able to find on the web were a few
> people asking effectively the same thing and not
> getting answered. This isn't very fancy - I'm just
> looking for a way to grab a line of text from the
> serial port! =)
>
> Ideally, the code would be cross-platform, with just a
> block like this at the top:
>
> #ifdef WIN32
> #define SERIALPORT "COM1"
> #else
> #define SERIALPORT "/dev/ttyS0"
> #endif
>
> Any ideas?
>
> Thanks!
>  -david
>
>
> __________________________________________________
> Do You Yahoo!?
> >From homework help to love advice, Yahoo! Experts has your answer.
> http://experts.yahoo.com/
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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