delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/23/11:01:12

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: serial ports
Date: Sun, 23 Apr 2006 16:00:58 +0100
Message-ID: <038301c666e6$ba519da0$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <444B92DE.6010107@vecernik.at>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On 23 April 2006 15:45, Oliver Vecernik wrote:

> Dave Korn schrieb:
>>   Trying to mix win32 perl and cygwin is a recipe for tears.  Sure, use
>> CPAN modules, that is of course a good idea; but if the *nix one doesn't
>> work under cygwin, fixing it or rolling your own or even just using the
>> bog-standard file i/o features in perl is definitely far safer.
> 
>   First of all: I was just missing the fact, that /dev/ttyS3 is there
> but did not show up in `ls /dev/ttyS3' as Igor stated.  Thanks for the hint.

  Thanks for confirming I understood you correctly!
 
>   I'm still no perl expert and I have to learn "the correct way to do
> it".  I want to write my modules as portable as possible and Cygwin
> seems to be the best approach.  :-)

  I absolutely agree, which is why I thought the advice to install activestate
perl was bad advice for your situation.  Needlessly complex considering you
already have a perfectly good cygwin perl and needlessly less-portable
considering what you write in cygwin's perl can run on win32 and *nix whereas
win32 perl has lots of modules that won't run on *nix...

>   I'm trying to get rid of using Visual Basic on Windows, which I used a
> lot in the past for such kind of things including using com ports.  I
> installed Device::SerialPort altough some tests fail.  I'm trying to
> find out why, but this may take some time and is probably not related
> with Cygwin anymore.

  Are you doing bog-standard serial i/o to another device, or are you after
doing low-level metal-bashing bit-twiddling to the port signals directly?  You
may need the ioperm package to enable the iopl/ioperm syscalls.

http://www.cygwin.com/ml/cygwin-announce/2003-02/msg00023.html

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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