delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/31/10:05:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 31 May 2005 09:58:39 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Jason Pearce <jason DOT pearce AT ieee DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: Using Perl to access serial ports
In-Reply-To: <429C1E0A.3050503@ieee.org>
Message-ID: <Pine.GSO.4.61.0505310955190.24415@slinky.cs.nyu.edu>
References: <429C1E0A DOT 3050503 AT ieee DOT org>
MIME-Version: 1.0

On Tue, 31 May 2005, Jason Pearce wrote:

> ps. I was never able to get the /dev/com1 or /dev/ttyS1 devices working.
> I expected that I would be able to echo commands into /dev/com1 and cat
> replies from it.

Just FYI: /dev/ttyS* devices are numbered from 0, so /dev/com1 corresponds
to /dev/ttyS0...  Also, if you have a sequence of shell commands that
should work but don't (e.g., stty followed by echo followed by read/cat),
could you please post them, along with an equivalent program (whether perl
or C) that does work?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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